[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
findutils-4.2.0: small compiling problem under AIX 4.3
From: |
Jens Schleusener |
Subject: |
findutils-4.2.0: small compiling problem under AIX 4.3 |
Date: |
Sun, 17 Oct 2004 13:34:08 +0200 (DFT) |
Hello,
I just tried to compile findutils version 4.2.0 under AIX 4.3 (using gcc
2.95.3 and GNU make 3.80) and found two problems:
1) compile error:
source='parser.c' object='parser.o' libtool=no \
depfile='.deps/parser.Po' tmpdepfile='.deps/parser.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib
-I../intl -DLOCALEDIR=\"/usr/local/contrib/share/locale\"
-g -O2 -c `test -f 'parser.c' || echo './'`parser.c
parser.c: In function `insert_time':
parser.c:1650: parse error before `val'
parser.c:1652: `val' undeclared (
As a "terrible" workaround I removed in ./find/parser.c the lines
1649-1659 ("Check for possibility of an overflow").
2) compile (configure ?) error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib
-I../intl -DLOCALEDIR=\"/usr/local/contrib/share/locale\"
-g -O2 -c `test -f 'pred.c' || echo './'`pred.c
pred.c: In function `pred_iname':
pred.c:788: `FNM_CASEFOLD' undeclared (first use in this function)
pred.c:788: (Each undeclared identifier is reported only once
pred.c:788: for each function it appears in.)
pred.c: In function `pred_ipath':
pred.c:817: `FNM_CASEFOLD' undeclared (first use in this function)
pred.c: In function `insert_lname':
pred.c:860: `FNM_CASEFOLD' undeclared (first use in this function)
gnumake[3]: *** [pred.o] Error 1
While comparing the according output of the "configure"-script of the
older findutils version 4.1.20:
Making all in lib
gnumake[4]: Entering directory
`/.../dce.dlr.de/fs/.rw/usr/sw/freesoft/src/findutils-4.1.20/gnulib/lib'
gnumake all-am
gnumake[5]: Entering directory `/.../dce.dlr.de/fs/.rw/usr/sw/freesoft/src/
findutils-4.1.20/gnulib/lib'
cp ./alloca_.h alloca.h
cp ./fnmatch_.h fnmatch.h
with that of the current findutils 4.2.0:
Making all in lib
gnumake[4]: Entering directory `/.../dce.dlr.de/fs/.rw/usr/sw/freesoft/src/
findutils-4.2.0/gnulib/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
sed -e 's/@''HAVE__BOOL''@/0/g' < ./stdbool_.h > stdbool.h-t
mv stdbool.h-t stdbool.h
gnumake all-am
I found a missing "cp ./fnmatch_.h fnmatch.h". After doing that manually
in findutils-4.2.0/gnulib/lib the current findutils version compiles
well.
Sorry, I am not a C expert.
Jens
--
Dr. Jens Schleusener T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493 Bunsenstr.10
Fax: +49 551 709-2169 D-37073 Goettingen
address@hidden http://www.t-systems.com/
- findutils-4.2.0: small compiling problem under AIX 4.3,
Jens Schleusener <=
- Message not available
- Message not available
- Message not available
- Message not available
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, James Youngman, 2004/10/17
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, Jens Schleusener, 2004/10/17
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, Jens Schleusener, 2004/10/18
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, James Youngman, 2004/10/18
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, James Youngman, 2004/10/22
- Message not available
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, James Youngman, 2004/10/25
- Re: findutils-4.2.0: small compiling problem under AIX 4.3, James Youngman, 2004/10/25