Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: shaw@ihlpm.att.com (Shaw) Newsgroups: comp.sys.sun Subject: Compile KSH on SUN 3/60? Keywords: Software Message-ID: <3503@ihlpm.ATT.COM> Date: 16 May 89 22:28:04 GMT Sender: usenet@rice.edu Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 60 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 7, Issue 300, message 6 of 15 Hi Folks, Tried to compile the KSH on SUN 3/60 machine and hit the following problem. If you have compiled the KSH successfully on the same type of machine, please give me a help. Thanks. ================================================================== setup the LDFLAGS=-Bstatic for OS4.0 and followed the README file, I ran makeshell file and saw the "ranlib" problem. Any thought ?? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> makeshell Please wait for a little while compilation begins + /bin/cc -c -O -DKSHELL -Iinclude shlib/adjust.c ........ ........ + /bin/cc -c -O -DKSHELL -Iinclude shlib/valup.c + /bin/cc -c -O -DKSHELL -Iinclude shlib/optget.c shlib/strdata.c: sh/ctype.c: sh/msg.c: r - adjust.o ........ ........ r - unassign.o r - utos.o r - valup.o r - optget.o + /bin/cc -c -O -DKSHELL -Iinclude sh/arith.c ......... ........ + /bin/cc -c -O -DKSHELL -Iinclude sh/xec.c + /bin/cc -c -O -DKSHELL -Iinclude sh/emacs.c + /bin/cc -c -O -DKSHELL -Iinclude sh/vi.c /bin/cc -o ./ksh arith.o args.o blok.o builtin.o cmd.o ctype.o defs.o edit.o echo.o error.o expand.o fault.o history.o io.o jobs.o macro.o main.o msg.o name.o print.o service.o string.o stak.o test.o word.o xec.o emacs.o vi.o libsh.a ld: libsh.a: warning: archive has no table of contents; add one using ranlib(1) ld: libsh.a: bad magic number link edit failed *** Error code 4 make: Fatal error: Command failed for target `ksh' ************************************************************************ I also tried the "ranlib" command and it complained the following: ar: __.SYMDEF not in archive format ranlib: ``ar rlb libsh.a __.SYMDEF '' failed Steve Shaw AT&T Bell Labs Naperville, ILL (312)979-1418 att!ihlpm!shaw