[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fatal Error during swarm make
From: |
Steve Osella |
Subject: |
Fatal Error during swarm make |
Date: |
Fri, 15 Dec 95 12:10:09 EST |
Hello,
In attempting to make swarm I encountered the following 2 errors (which
was repeated for each of the apps).
make: Fatal error: Command failed for target `bondblocks'
Current working directory /auto/proj/agents/depot/swarm/apps/bondblocks
gcc -L../../lib -L/depot/tcl/arch/lib -L/depot/X11R6/arch/lib
-L/depot/libtclobjc/lib -L/depot/gcc-2.7.0/lib
-L/depot/blt/lib -o mousetrap main.o Mousetrap.o -lga -lneuro -lspace
-lsimtools -ltkobjc -lactivity -lrandom -lswarmo
bject -lcollections -ldefobj -ltclobjc -lBLT -ltk -ltcl -lXpm -lX11 -lobjc -lm
tkMain.o(.text+0x194): multiple definition of `main'
main.o:/depot/swarm/apps/mousetrap/main.m:30: first defined here
tkMain.o(.text+0x434): undefined reference to `Tcl_AppInit'
*** Error code 1
It seems that the make is trying to use libtk.a rather than libtk4.0.a,
which are different on my
system. Could this explain the undefined reference to `Tcl_AppInit' error?
The other [multiple definition of `main'] error is strange, but could also
be a result of the same
problem.
Any help would be appreciated.
Stephen A. Osella, Ph.D.
National Institute of Standards and Technology
Manufacturing Engineering Laboratory
Bldg. 220, Rm. A127
Gaithersburg, Md. 20899
(301) 975-4263
(301) 258-9749 (FAX)
address@hidden
- Fatal Error during swarm make,
Steve Osella <=