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

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

make problem in find 4.1


From: George Kasica
Subject: make problem in find 4.1
Date: Tue, 01 Jan 2002 07:43:14 -0600

Hello:

I'm running gcc 2.95.3 on linux 2.4.13 and am having a problem with
making findutils 4.1.

Here is my ./configure output and make output....can you help me out
here??

>address@hidden findutils-4.1]# ./configure
>creating cache ./config.cache
>checking for gcc... gcc
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking how to run the C preprocessor... gcc -E
>checking for a BSD compatible install... /bin/install -c
>checking for ranlib... ranlib
>checking whether make sets $MAKE... yes
>checking for AIX... no
>checking for minix/config.h... no
>checking for POSIXized ISC... no
>checking for -lsun... no
>checking for fcntl.h... yes
>checking for string.h... yes
>checking for limits.h... yes
>checking for unistd.h... yes
>checking whether cross-compiling... no
>checking for ANSI C header files... yes
>checking whether sys/types.h defines makedev... yes
>checking for dirent.h that defines DIR... yes
>checking for -ldir... no
>checking whether stat file-mode macros are broken... no
>checking for sys/wait.h that is POSIX.1 compatible... yes
>checking how to get filesystem type... 4.3BSD
>checking for uid_t in sys/types.h... yes
>checking for size_t... yes
>checking for pid_t... yes
>checking for ino_t... yes
>checking for dev_t... yes
>checking for st_blocks in struct stat... yes
>checking for st_rdev in struct stat... yes
>checking whether struct tm is in sys/time.h or time.h... time.h
>checking for tm_zone in struct tm... yes
>checking for working const... yes
>checking for memcmp... yes
>checking for memset... yes
>checking for mktime... yes
>checking for stpcpy... yes
>checking for strdup... yes
>checking for strftime... yes
>checking for strspn... yes
>checking for strstr... yes
>checking for strtol... yes
>checking for fchdir... yes
>checking for getcwd... yes
>checking for strerror... yes
>checking for -lintl... yes
>checking for strftime... (cached) yes
>checking for vprintf... yes
>checking for working alloca.h... yes
>checking for alloca... yes
>checking for -lsun... (cached) no
>checking for -lseq... no
>checking for getmntent... yes
>checking whether closedir returns void... no
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>creating lib/Makefile
>creating find/Makefile
>creating xargs/Makefile
>creating locate/Makefile
>creating doc/Makefile
>creating testsuite/Makefile
>creating config.h
>address@hidden findutils-4.1]#
>address@hidden findutils-4.1]#
>address@hidden findutils-4.1]# make
>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 `/mnt/scsi-1/Linux/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: macro `strdup' used without args
>make[1]: *** [nextelem.o] Error 1
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/lib'
>making all in find
>make[1]: Entering directory `/mnt/scsi-1/Linux/findutils-4.1/find'
>gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O find.c
>find.c: In function `main':
>find.c:136: warning: return type of `main' is not `int'
>gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O fstype.c
>fstype.c:33: macro `strdup' used without args
>fstype.c:34: macro `strstr' used without args
>make[1]: *** [fstype.o] Error 1
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/find'
>making all in xargs
>make[1]: Entering directory `/mnt/scsi-1/Linux/findutils-4.1/xargs'
>gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O xargs.c
>xargs.c:63: macro `strstr' used without args
>xargs.c:64: macro `strdup' used without args
>make[1]: *** [xargs.o] Error 1
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/xargs'
>making all in locate
>make[1]: Entering directory `/mnt/scsi-1/Linux/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 `main':
>locate.c:360: 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'.  
>Sto
>p.
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/locate'
>making all in doc
>make[1]: Entering directory `/mnt/scsi-1/Linux/findutils-4.1/doc'
>make[1]: Nothing to be done for `all'.
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/doc'
>making all in testsuite
>make[1]: Entering directory `/mnt/scsi-1/Linux/findutils-4.1/testsuite'
>make[1]: Nothing to be done for `all'.
>make[1]: Leaving directory `/mnt/scsi-1/Linux/findutils-4.1/testsuite'

I'm not a C programmer so please be detailed in what you'd like me to
try.

George



===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX 
Netwrx Consulting Inc.          Jackson, WI USA 
http://www.netwrx1.com
address@hidden
ICQ #12862186



reply via email to

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