[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.1.16 does not build on RHEL2.1
From: |
kmatthews |
Subject: |
Re: 2.1.16 does not build on RHEL2.1 |
Date: |
14 Oct 2005 12:29:39 -0700 |
User-agent: |
G2/0.2 |
After patching cfetool.c it still won't build in RHEL2.1:
gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread
-g -O2 -I/usr/local/BerkeleyDB.4.1/include -D_FILE_OFFSET_BITS=64
-pthread -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-D_FILE_OFFSET_BITS=64 -L/usr/local/BerkeleyDB.4.1/lib -L/usr/lib -o
cfetool cfetool.o globals.o filenames.o nameinfo.o sockaddr.o
classes.o item.o item-ext.o item-file.o eval.o wildcard.o df.o read.o
granules.o log.o popen.o patches.o locks.o dtypes.o state.o init.o
-L../pub -lpub -ldb -L/usr/lib -lcrypto -L../pub -lpub -lnss_nis
-lpthread -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.1/include
-I/usr/include -pthread -g -O2 -Wreturn-type -Wmissing-prototypes
-Wuninitialized -pthread -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-D_FILE_OFFSET_BITS=64 -pthread -g -O2
-I/usr/local/BerkeleyDB.4.1/include -D_FILE_OFFSET_BITS=64 -MT
cfetoolgraph.o -MD -MP -MF ".deps/cfetoolgraph.Tpo" -c -o
cfetoolgraph.o cfetoolgraph.c; \
then mv -f ".deps/cfetoolgraph.Tpo" ".deps/cfetoolgraph.Po"; else rm -f
".deps/cfetoolgraph.Tpo"; exit 1; fi
cfetoolgraph.c: In function `WriteHistogram':
cfetoolgraph.c:557: parse error before `int'
cfetoolgraph.c:579: `position' undeclared (first use in this function)
cfetoolgraph.c:579: (Each undeclared identifier is reported only once
cfetoolgraph.c:579: for each function it appears in.)
cfetoolgraph.c:583: `day' undeclared (first use in this function)
cfetoolgraph.c:644: subscripted value is neither array nor pointer
cfetoolgraph.c:647: subscripted value is neither array nor pointer
make[2]: *** [cfetoolgraph.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/cfengine-2.1.16/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/cfengine-2.1.16/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.73169 (%build)