data.c:82: error: syntax error before "__extension__"
data.c:82: error: `__len' undeclared here (not in a
function)
data.c:82: error: initializer element is not constant
data.c:82: error: syntax error before "if"
data.c:82: error: conflicting types for '__retval'
data.c:82: error: previous definition of '__retval' was
here
data.c:82: warning: data definition has no type or
storage class
data.c:82: error: syntax error before '}' token
Logged In: NO
i get the same error
Logged In: YES
user_id=1021230
From ./libsprite/data.c
char *strdup();
This is the offending line. I commented this out and it compiled.
Found other problems when I started playing.
Logged In: YES
user_id=320012
I'm on suse 10.1
/junk2/temp/xgalaga-2.0.34> make
for i in libsprite; do cd $i ; make ; done
make[1]: Entering directory
`/junk2/temp/xgalaga-2.0.34/libsprite'
gcc -I. -I.. -g -O2 -I/usr/X11R6/include -DHAVE_CONFIG_H
-c -o data.o data.c
In file included from data.c:19:
data.h:69: error: array type has incomplete element type
data.h:72: error: array type has incomplete element type
data.c:82: error: expected identifier or ‘(’ before
‘__extension__’
make[1]: *** [data.o] Error 1
make[1]: Leaving directory
`/junk2/temp/xgalaga-2.0.34/libsprite'
make: *** [subdirs] Error 2
Logged In: NO
Same on Slackware 11.0 w/2.6 kernel