From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,32428257ff39324e X-Google-Attributes: gidfee84,public From: schweng@astro.unibas.ch (Hans Schwengeler) Subject: Re: findutils 4.1 compile probs Date: 1998/08/08 Message-ID: <35cc1913.0@maser.urz.unibas.ch>#1/1 X-Deja-AN: 379116404 References: <35c6ddbc.0@rainbow.hrz.uni-siegen.de> Content-Type: text/plain; charset=us-ascii X-Trace: 8 Aug 1998 11:23:31 +0100, 131.152.181.6 Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 In article <35c6ddbc.0@rainbow.hrz.uni-siegen.de>, Pedro Saraiva writes: > Hi, > > I got compile errors during the make run of findutils 4.1. Here is the error > message > > make > for subdir in lib find xargs locate doc testsuite; do echo making all in $subdi > r ; (cd $subdir; make all); done > making all in lib > gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O fnmatch.c > fnmatch.c: In function `fnmatch': > fnmatch.c:58: `FNM_CASEFOLD' undeclared (first use this function) > fnmatch.c:58: (Each undeclared identifier is reported only once > fnmatch.c:58: for each function it appears in.) > fnmatch.c:65: `FNM_FILE_NAME' undeclared (first use this function) > fnmatch.c:193: `FNM_LEADING_DIR' undeclared (first use this function) > *** Exit 1 > Stop. > *** Exit 1 > Stop. > > Is there someone who knows how to solve this problem ? Thanks, > > Pedro > According to an e-mail exchange with another user with similar problems, one can compile findutils-4.1 if one specifies -D_GNU_SOURCE. Yours, hs. -- =============================================================================== Hans Schwengeler DECNET/SPAN: 20579::48130::SCHWENGELER Astronomical Institute INTERNET: schweng@astro.unibas.ch University of Basel schwengeler@urz.unibas.ch Venusstrasse 7 CH-4102 Binningen PHONE: +41 61 20 55 422 Switzerland FAX: +41 61 20 55 455 ===============================================================================