Re: Help with LIB_MALLOC during build

From: <kanderso_at_BBN.COM>
Date: Thu, 26 Jan 95 10:08:43 -0500

Thanks for your help everyone. However, i have another problem:

On a Sparc 10 SunOS 4.1.3, i did:

; make clean
; /bin/sh ./configure
; make (This is gnu make)

Things look ok until i get to:

gcc -O2 -DSTK_VERSION=\"2.1.5\" -DMACH=\"SunOS-4.1-sun4m\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSUNOS4 -DHAVE_UNISTD_H=1 -I. -I../Tk -I../Tcl -I../Mp -DSTK_LIBRARY=\"/usr/local/lib/stk/2.1.5\" -o stk-bin userinit.o libstk.a ../Mp/libgmp.a ../Tk/libtk.a ../Tcl/libtcl.a -L/usr/local/X11R5/lib -lX11 \
dynload.o(.text+0x2c4): undefined reference to `dlopen'
dynload.o(.text+0x2f0): undefined reference to `dlsym'
dynload.o(.text+0x304): undefined reference to `dlclose'
dynload.o(.text+0x334): undefined reference to `dlclose'
dynload.o(.text+0x3a4): undefined reference to `dlopen'
dynload.o(.text+0x3b8): undefined reference to `dlerror'
dynload.o(.text+0x3e4): undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[2]: *** [stk-bin] Error 1
make[2]: Leaving directory `/nfs/amp/u2/lang/lisp/scheme-sunos4/STk-2.1.5/Src'
make[1]: *** [stk] Error 1
make[1]: Leaving directory `/nfs/amp/u2/lang/lisp/scheme-sunos4/STk-2.1.5/Src'
make: *** [src] Error 1

If i do the make su'd to root things go on for a while, then i get:

make STklos
**** make STklos completed
Make Extensions
make: Fatal error: Don't know how to make target `'
Current working directory /nfs/amp/u2/lang/lisp/scheme-sunos4/STk-2.1.5/Extensions
make: *** [ext] Error 1

Do i need to be root to make STk?

I then did the make as me and got up to the gmp.h problem which i linked
into Src.

Then i got:

make[1]: Entering directory `/nfs/amp/u2/lang/lisp/scheme-sunos4/STk/sol1/Extensions'
gcc -fpic -O2 -DSTk_CODE -DSUNOS4 -I../Tk -I../Tcl -I../Src -c hash.c -o hash.o warning: /usr/lib/ has older revision than expected 9
ld -assert pure-text -o hash.o
ld: unrecognized option `-assert'
make[1]: *** [] Error 1
rm hash.o
make[1]: Leaving directory `/nfs/amp/u2/lang/lisp/scheme-sunos4/STk/sol1/Extensions'
make: *** [ext] Error 1

I presume i have an old version of gnu ld which doesn't allow -assert, so i
reconfigured and was able to finally build things.
Received on Thu Jan 26 1995 - 16:14:53 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST