bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

findutils-4.1 patch


From: Alex Efros
Subject: findutils-4.1 patch
Date: Thu, 23 Aug 2001 16:48:34 +0300 (EEST)

Hi.

If compiled with glibc-2.2.4 and gcc-3.0 on linux-i686 (kernel 2.4.4) got
these errors:

---cut---
...
gcc -c -DHAVE_CONFIG_H -I.. -I.  -O6 -march=pentiumpro  nextelem.c
nextelem.c:35: parse error before "__extension__"
nextelem.c:35: `__len' undeclared here (not in a function)
nextelem.c:35: initializer element is not constant
nextelem.c:35: parse error before "if"
nextelem.c:35: conflicting types for `__retval'
nextelem.c:35: previous declaration of `__retval'
nextelem.c:35: warning: data definition has no type or storage class
nextelem.c:35: parse error before '}' token
make[1]: *** [nextelem.o] Error 1
...
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -O6 -march=pentiumpro  fstype.c
fstype.c:33: parse error before "__extension__"
fstype.c:33: `__len' undeclared here (not in a function)
fstype.c:33: initializer element is not constant
fstype.c:33: parse error before "if"
fstype.c:33: conflicting types for `__retval'
fstype.c:33: previous declaration of `__retval'
fstype.c:33: warning: data definition has no type or storage class
fstype.c:33: parse error before '}' token
make[1]: *** [fstype.o] Error 1
...
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -O6 -march=pentiumpro  xargs.c
xargs.c:64: parse error before "__extension__"
xargs.c:64: `__len' undeclared here (not in a function)
xargs.c:64: initializer element is not constant
xargs.c:64: parse error before "if"
xargs.c:64: conflicting types for `__retval'
xargs.c:64: previous declaration of `__retval'
xargs.c:64: warning: data definition has no type or storage class
xargs.c:64: 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
...
---cut---

and after removing "char *strdup ();" from these files got next error:

---cut---
...
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -O6 -march=pentiumpro  pred.c
pred.c: In function `pred_iname':
pred.c:766: `FNM_CASEFOLD' undeclared (first use in this function)
pred.c:766: (Each undeclared identifier is reported only once
pred.c:766: for each function it appears in.)
pred.c: In function `pred_ipath':
pred.c:801: `FNM_CASEFOLD' undeclared (first use in this function)
pred.c: In function `insert_lname':
pred.c:854: `FNM_CASEFOLD' undeclared (first use in this function)
make[1]: *** [pred.o] Error 1
...
---cut---

Patch in attach.

-- 
                                WBR, Alex.

Attachment: findutils-4.1-PoWeR.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]