[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: Compilation failure leafnode-2.0.0.alpha20090908a.luascript
> > I am attempting to compile leafnode-2.0.0.alpha20090908a.luascript
> > under Karmic Koala and:
> > +--------
> > andrew@skamandros:~$ gcc --version
> > gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
> > +-------
> > Compilation fails with the following error message:
> > +----------
> > -MT arc4random.o -MD -MP -MF .deps/arc4random.Tpo -c -o arc4random.o
> > arc4random.c
> > In file included from arc4random.h:4,
> > from arc4random.c:34:
> > system.h:23:7: warning: "sizeof" is not defined
> > system.h:23:13: error: missing binary operator before token "("
> > arc4random.c: In function ‘arc4_stir’:
> > arc4random.c:87: warning: ignoring return value of ‘read’, declared with
> > attribute warn_unused_result
> > make: *** [arc4random.o] Error 1
> > +-----------
> > Please let me know if there is more information I need to provide to
> > shed light on this error.
> Hi Andrew, sorry for that. Please use the patch below for the nonce.
> I think the code shouldn't be using sizeof in preprocessor statements.
> diff --git a/system.h b/system.h
> index a460297..189a3cd 100644
> --- a/system.h
> +++ b/system.h
I was affected by this issue on Mandriva 2010.1 (Spring). It has been quite
some time since the patch was offered, so I am glad I searched the history
before asking the question again.
Perhaps an updated snapshot is in order?
I got the affected tarball at:
where it is listed as the "current development snapshot".
Thanks for your support...
Kevin R. Bulgrien
leafnode-list mailing list