swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redhat 5.0 libtclobjc problems: here are the error messages


From: Marcus G. Daniels
Subject: Re: Redhat 5.0 libtclobjc problems: here are the error messages
Date: 06 Dec 1997 16:48:25 -0800

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> The Archive intall seems to work, but when one tries to compile swarm
PJ> programs, this is the big ugly message. 
 
gcc -g -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
-L/swarm/swarm-1.0.3//lib  -o Voter PolicyPoint.o CountHeads.o Voter.o
Setter.o  main.o ModelSwarm.o  -lspace -lanalysis -lsimtools -ltkobjc
-lactivity -lrandom -lswarmobject -lcollections -ldefobj -ltclobjc -lBLT
-ltk -ltcl -lXpm -lobjc -lX11 -lm  -ldl
/usr/local/lib/libtclobjc.a(Tk.o): In function `_i_Tk__promptAndEval':
/usr/src/libtclobjc-1.1b7/Tk.m:203: undefined reference to `Tcl_GetFile'
/usr/local/lib/libtclobjc.a(Tk.o): In function `StdinProc':
/usr/src/libtclobjc-1.1b7/Tk.m:315: undefined reference to `Tcl_GetFile'
/usr/src/libtclobjc-1.1b7/Tk.m:342: undefined reference to `Tcl_GetFile'

I suggest doing the link with:

  $ make EXTRALDFLAGS=-Wl,--verbose 2>&1 linker.log

And then study linker.log to see why it is missing the symbols in your
Tcl/Tk libraries (which ought to be in /usr/lib).  You can use a command like:

  $ nm libtk.so | grep Tcl_GetFile

to look for the symbol Tcl_GetFile.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]