Ralf S. Engelschall wrote:
On Thu, May 03, 2007, Doug Summers wrote:
Got this with both GCC & XLC:
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
-D_LARGE_FILES -I/openpkg/include/ncurses -c ../tack/pad.c -o
../objects/pad.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
-D_LARGE_FILES -I/openpkg/include/ncurses -c ../tack/scan.c -o
../objects/scan.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
-D_LARGE_FILES -I/openpkg/include/ncurses -c ../tack/sync.c -o
../objects/sync.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
-D_LARGE_FILES -I/openpkg/include/ncurses -c ../tack/sysdep.c -o
../objects/sysdep.o
/usr/vac/bin/cc -DHAVE_CONFIG_H -I../tack -I. -I. -I../include -D_ALL_SOURCE
-D_LARGE_FILES -I/openpkg/include/ncurses -c ../tack/tack.c -o
../objects/tack.o
/usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
../objects/color.o ../objects/control.o ../objects/crum.o ../objects/edit.o
../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
../objects/sysdep.o ../objects/tack.o -L../lib -lncurses -DHAVE_CONFIG_H
-I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
-I/openpkg/include/ncurses -o tack
ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
is stripped. The file is being ignored.
make[1]: *** [tack] Error 8
make: *** [all] Error 2
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)
I built version 5.5.20061021 without any problems (GCC-build).
That's interesting. Neither the upstream sources nor out OpenPKG
packaging contains anything related to this /usr/vac stuff. Even a "grep
-r vac" doesn't show up anything. I've no clue from where does comes.
But my guess is this: you have the OpenPKG "gcc" package still not
installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
Because of a bug in the Makefiles or whatever this compiler is expanded
twice(!) and hence the problem occurs. Can you retry with the OpenPKG
"gcc" package installed?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org
I should have been clearer on this error; it's happening with XLC & GCC.
Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
same.
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org