On Mon, Apr 30, 2007, Caleb Epstein wrote: > Linking with -static doesn't work on Solaris (there is no static libc): > > cd progs && /openpkg-current/bin/make DESTDIR="" all > sh ./MKtermsort.sh gawk ./../include/Caps >termsort.c > echo "#define PROG_CAPTOINFO \"`echo captoinfo| sed 's/$//'|sed > 's,x,x,'|sed ' > s/$//'`\"" >transform.h > echo "#define PROG_INFOTOCAP \"`echo infotocap| sed 's/$//'|sed > 's,x,x,'|sed ' > s/$//'`\"" >>transform.h > echo "#define PROG_RESET \"`echo reset| sed 's/$//'|sed > 's,x,x,'|sed ' > s/$//'`\"" >>transform.h > echo "#define PROG_INIT \"`echo init| sed 's/$//'|sed > 's,x,x,'|sed ' > s/$//'`\"" >>transform.h > /openpkg-current/bin/cc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include > -D__EXT > ENSIONS__ -DNDEBUG -I/openpkg-current/include/ncurses --param > max-inline-insns-s > ingle=500 -c ../progs/tic.c -o ../objects/tic.o > /openpkg-current/bin/cc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include > -D__EXT > ENSIONS__ -DNDEBUG -I/openpkg-current/include/ncurses --param > max-inline-insns-s > ingle=500 -c ../progs/dump_entry.c -o ../objects/dump_entry.o > /openpkg-current/bin/cc ../objects/tic.o ../objects/dump_entry.o > ../objects/comp > _parse.o -static -L../lib -lncurses -L../lib -lncurses -dynamic > -I../progs -I > . -DHAVE_CONFIG_H -I. -I../include -D__EXTENSIONS__ -DNDEBUG > -I/openpkg-current > /include/ncurses --param max-inline-insns-single=500 -o tic > /openpkg-current/bin/ld: cannot find -lc > collect2: ld returned 1 exit status > make[1]: *** [tic] Error 1 > make: *** [all] Error 2 > error: Bad exit status from /openpkg-current/RPM/TMP/rpm-tmp.10673 (%build)
Now fixed in CURRENT: http://cvs.openpkg.org/chngview?cn=35059 Thanks for the hint. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org