Yet Another BSDI 2.1 compile

Eric Sorenson (eric@alamar-usa.com)
Mon, 3 Mar 1997 14:25:51 -0800 (PST)

Hi -- I've successfully built up and used scotty on Linux 2.0.28,
but for various reasons now have to move my monitoring over to a
BSDI 2.1 system. I've gotten pretty far in the compile, thanks
to list archives and other documentation, but have hit a "wall"
and want to make sure that the next step (static linking everything)
is really what I *need* to do. I'm using tcl7.5, tk4.1 and scotty 2.1.5.

The step it's dying on is:

/usr/bin/ld tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o ...
[all successfully-built .o files elided]
tnmMibTcl.o -o tnm -lrpc -lresolv -ltcl7.5 -ltk4.1 -lm -ll
(the -l flags are "shotgun method"-added to try and fix it)

I get about ten screenfulls of errors like:
[...]
log.o: Undefined symbol _ldexp referenced from text segment
log.o: Undefined symbol _ldexp referenced from text segment
[...]

and then it dies. One suggestion I saw from the list (from Cameron
(thanks!)) about this step suggested what it really wanted was

ar qv tnm.a [*.o]

but this, although it ran, produced magic number errors when subsequent
steps tried to use the .a file thus created. Any further help would
be greatly appreciated.

-- 
Eric Sorenson, System Administrator
Taos Mountain@ Alamar Electronics

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.