Using OpenPKG 2.5...

I had to add --disable-largefile to the configure section of the spec file when compiling findutils with gcc 4. This seems to be a known problem although I got the same errors when compiling with IBM xlC compiler (version 7.x):

if /syscfg/opkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib -I../intl -DLOCALEDIR=\"/syscfg/opkg/share/locale\" -O2 -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.c; \ then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi
parser.c:209: error: 'parse_open64' undeclared here (not in a function)
parser.c:209: error: 'pred_open64' undeclared here (not in a function)
make[3]: *** [parser.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /syscfg/opkg/RPM/TMP/rpm-tmp.7714 (%build)

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to