[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
findutils make problem
From: |
Austin Hung |
Subject: |
findutils make problem |
Date: |
Sat, 17 Mar 2001 22:35:24 -0500 |
Hi,
[1] I have a couple of problems compiling findutils-4.1. The first is that
FNM_CASEFOLD does not defined (in lib/fnmatch.h), so the build fails for
find/pred.c (FNM_CASEFOLD is used in lines 766, 801, 854).
I compiled a quick little program to check my defined symbols...
_POSIX_C_SOURCE is defined as 199506L
_GNU_SOURCE is not
defined
therefore, FNM_CASEFOLD in lib/fnmatch.h is not defined... so I'm
wondering if that is an error, or whether I should get _GNU_SOURCE defined
somehow. I'm compiling with GCC 2.95.2 and GLIBC 2.2.2.
[2] Another problem that is causing build fails is the string.h function
prototypes. Two examples are found below:
nextelem.c:35: macro `strdup' used without args
make[1]: *** [nextelem.o] Error 1
fstype.c:33: macro `strdup' used without args
fstype.c:34: macro `strstr' used without args
make[1]: *** [fstype.o] Error 1
I can make these errors go away by commenting out the offending lines of
code, but I'm wondering if that's a wise thing to do? I also get this error
with fileutils-4.0 as well, which compiled just fine under libc5 (I haven't
tried compiling findutils under libc5, but I assume it would compile fine
as well...).
Any help would be greatly appreciated.
Thanks,
Austin
----------
Austin Hung * University of Waterloo, 3N Computer Engineering
address@hidden * http://ece.uwaterloo.ca/~a2hung/
"I Want To Believe"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- findutils make problem,
Austin Hung <=