We have been trying to build ksh93u+ 2012-08-01 on an old PA-RISC system to bring the software up-to-date for an important project. It currently has 93t+ 2009-05-01. But, the build has been failing consistently with the output shown at the bottom. Libiconv is present as /usr/local/lib/libiconv.* with correct ownership and permissions. The build command we have been using is:
CC='gcc -std=gnu99 -O3 -fstrict-aliasing -Wstrict-aliasing' bin/package make and, the library path environment is set to: LD_LIBRARY_PATH=/usr/local/lib:/usr/contrib/lib:/opt/gnome/lib:/usr/lib:/usr/share/lib:/usr/contrib/X11R6/lib:/usr/ccs/lib:/lib SHLIB_PATH=$LD_LIBRARY_PATH This is on an HP PA-RISC 2.0 server running HP-UX 11.11. We are wondering what libraries are missing or whether we are misunderstanding the output. Can anyone give us some insight as to why the build is failing? We have spent many hours perusing the archives trying to find a solution without result. This is happening for any AST file set--ast-ksh, ast-base, ast-open, and just ksh. Our procedure follows the instructions provided in the build from source page. Any help or suggestions anyone can offer will be much appreciated. Cheers, Russ Cannon + cc -O2 -L/aces/sw/ast/arch/hp.0w/lib -o probe probe.o /aces/sw/ast/arch/hp.0w/lib/libast.a /aces/sw/ast/ar ch/hp.0w/lib/libast.a /usr/ccs/bin/ld: Unsatisfied symbols: libiconv (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) _Isinf (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) frexp (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) _Signbit (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) libiconv_open (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) ldexp (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) libiconv_close (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) collect2: ld returned 1 exit status mamake [cmd/probe]: *** exit code 1 making probe mamake: *** exit code 1 making cmd/probe + mamake -C lib/libpp -k install + cc -O2 -L/aces/sw/ast/arch/hp.0w/lib -o ppsym ppsym.o /aces/sw/ast/arch/hp.0w/lib/libast.a /aces/sw/ast/ar ch/hp.0w/lib/libast.a /usr/ccs/bin/ld: Unsatisfied symbols: libiconv (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) _Isinf (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) frexp (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) _Signbit (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) libiconv_open (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) ldexp (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(sfcvt.o)) (code) libiconv_close (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) collect2: ld returned 1 exit status mamake [lib/libpp]: *** exit code 1 making ppsym + test = libpp.a + /bin/cmp -s libpp.a /aces/sw/ast/arch/hp.0w/lib/libpp.a + 2> /dev/null + /bin/mv /aces/sw/ast/arch/hp.0w/lib/libpp.a /aces/sw/ast/arch/hp.0w/lib/libpp.a.old + 2> /dev/null + /bin/cp libpp.a /aces/sw/ast/arch/hp.0w/lib/libpp) (code) libiconv_open (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) ldexp (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(strtod.o)) (code) libiconv_close (first referenced in /aces/sw/ast/arch/hp.0w/lib/libast.a(iconv.o)) (code) collect2: ld returned 1 exit status mamake [cmd/nmake]: *** exit code 1 making nmake + nmake --base --compile --file=/aces/sw/ast/src/cmd/nmake/Makerules.mk /bin/posix/sh[4]: nmake: not found. mamake [cmd/nmake]: *** exit code 127 making Makerules.mo mamake: *** exit code 1 making cmd/nmake package: make: errors making /aces/sw/ast/arch/hp.0w/bin/nmake
_______________________________________________ ast-developers mailing list ast-developers@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-developers