[leafnode-list] Re: Error Compiling Leafnode-2
clemens fischer
ino-news at spotteswoode.dnsalias.org
Sun Mar 29 13:53:28 CEST 2009
On Sun-2009/03/29-01:53 Jeff Grossman wrote:
> I went to upgrade my Leafnode to the latest snapshot and got the
> following error when I ran make. This is on a Debian Testing machine.
> All previous versions built with no problems. This is the first one I
> tried building with the Lua functions in it, but I did not enable them.
>
> gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -W -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual
> -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations
> -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common
> -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -MT store.o
> -MD -MP -MF .deps/store.Tpo -c -o store.o store.c
> In file included from /usr/include/sys/stat.h:107,
> from /usr/include/fcntl.h:38,
> from store.c:39:
> /usr/include/bits/stat.h:103: error: expected identifier or '(' before
> '[' token/usr/include/bits/stat.h:164: error: expected identifier or '('
> before '[' tokenmake[1]: *** [store.o] Error 1
> make[1]: Leaving directory
> `/usr/local/src/leafnode-2.0.0.alpha20090324a+luascript'
> make: *** [all] Error 2
I have a harmless looking "#include <fcntl.h>" in store.c line 39. Does
it configure and compile with "./configure --enable-lua ..."?
clemens
More information about the leafnode-list
mailing list