[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't compile
From: |
Russell Shaw |
Subject: |
Can't compile |
Date: |
Sun, 13 Jun 2004 03:56:37 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 |
Hi,
I downloaded findutils-4.1 and did:
./configure
...
make
I get errors (gcc-3.3 on debian):
for subdir in lib find xargs locate doc testsuite; do \
echo making all in $subdir ; \
(cd $subdir; make all); \
done
making all in lib
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/lib'
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O regex.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O dirname.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O error.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O filemode.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O getopt.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O getopt1.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O idcache.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O listfile.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O modechange.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O nextelem.c
nextelem.c:35: error: parse error before "__extension__"
nextelem.c:35: error: `__len' undeclared here (not in a function)
nextelem.c:35: error: initializer element is not constant
nextelem.c:35: error: parse error before "if"
nextelem.c:35: error: conflicting types for `__retval'
nextelem.c:35: error: previous declaration of `__retval'
nextelem.c:35: warning: data definition has no type or storage class
nextelem.c:35: error: parse error before '}' token
make[1]: *** [nextelem.o] Error 1
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/lib'
making all in find
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/find'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -g -O find.c
find.c: In function `main':
find.c:138: warning: return type of `main' is not `int'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -g -O fstype.c
fstype.c:33: error: parse error before "__extension__"
fstype.c:33: error: `__len' undeclared here (not in a function)
fstype.c:33: error: initializer element is not constant
fstype.c:33: error: parse error before "if"
fstype.c:33: error: conflicting types for `__retval'
fstype.c:33: error: previous declaration of `__retval'
fstype.c:33: warning: data definition has no type or storage class
fstype.c:33: error: parse error before '}' token
make[1]: *** [fstype.o] Error 1
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/find'
making all in xargs
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/xargs'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -g -O xargs.c
xargs.c:64: error: parse error before "__extension__"
xargs.c:64: error: `__len' undeclared here (not in a function)
xargs.c:64: error: initializer element is not constant
xargs.c:64: error: parse error before "if"
xargs.c:64: error: conflicting types for `__retval'
xargs.c:64: error: previous declaration of `__retval'
xargs.c:64: warning: data definition has no type or storage class
xargs.c:64: error: parse error before '}' token
xargs.c: In function `main':
xargs.c:255: warning: return type of `main' is not `int'
make[1]: *** [xargs.o] Error 1
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/xargs'
making all in locate
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/locate'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/local/var/locatedb\" -g
-O locate.c
locate.c: In function `locate':
locate.c:310: warning: passing arg 2 of `fnmatch' makes pointer from integer
without a cast
locate.c: In function `main':
locate.c:362: warning: return type of `main' is not `int'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/local/var/locatedb\" -g
-O ../find/version.c
make[1]: *** No rule to make target `../lib/libfind.a', needed by `locate'.
Stop.
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/locate'
making all in doc
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/doc'
making all in testsuite
make[1]: Entering directory `/home/russell/SRC/findutils-4.1/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/russell/SRC/findutils-4.1/testsuite'
- Can't compile,
Russell Shaw <=