[leafnode-list] Error Compiling Leafnode-2

Jeff Grossman jeff at stikman.com
Sun Mar 29 01:53:05 CET 2009


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



More information about the leafnode-list mailing list