Hello,
related to my current problem... I think this might work if you have installed Cygnus to your hard-disk. Unfortunately I want to use Swarm direct from the CDROM under NT so it looks like I'm going to be unable to use this fix... any other suggestions?
So, I suggest the following for you:
in the file /swarm/bin/libtool-swarm
replace the following line
i.e. remove the relative directory references from the path. Hope that works, but I'd be interested to know if anyone's managed to get Swarm running direct from CDROM under NT
James
A 23:30 07/01/99 +0100, vous avez écrit :
>Hi Folks,
>
>I thought I have managed to install Swarm on my NT smoothly. gcc compled my source, but when I got to link it, I received the following error.
>
> libtool-swarm: link: `-LC:/Cygnus/B19/H-i386-cygwin32/lib' cannot specify a relative directory
>
>It sounds to me like it is complaining about something inside Cygnus to be a link. Maybe I got Cygwin installed wrong?
>
>Any help would be appreciated.
>
>Yours,
>Gulya
>
>PS: The full transcript of compilation is as follows:
>
>/Users/Gulya/MAML/Sims/TrafficJam/MAML_target$ make it
>gcc -c -Wno-import -g -O2 -fno-inline -I/Swarm-1.3.1/packages/swarm/include main.m
>gcc -c -Wno-import -g -O2 -fno-inline -I/Swarm-1.3.1/packages/swarm/include Traffic_Jam.m
>gcc -c -Wno-import -g -O2 -fno-inline -I/Swarm-1.3.1/packages/swarm/include Car.m
>gcc -c -Wno-import -g -O2 -fno-inline -I/Swarm-1.3.1/packages/swarm/include MAML_Car.m
>gcc -c -Wno-import -g -O2 -fno-inline -I/Swarm-1.3.1/packages/swarm/include MAML_ProbeLibrary.m
>/Swarm-1.3.1/packages/swarm/bin/libtool-swarm --mode link gcc -g -O2 -fno-inline -L/Swarm-1.3.1/packages/swarm/lib -Wl,-rpath,/Swarm-1.3.1/packages/swarm/lib -L
>/Swarm-1.3.1/packages/BLT/lib -LC:/Cygnus/B19/H-i386-cygwin32/lib -LC:/Cygnus/B
>19/H-i386-cygwin32/lib -L/Swarm-1.3.1/packages/libffi/lib -L/Swarm-1.3.1/package
>s/png/lib -L/Swarm-1.3.1/packages/zlib/lib -o run.exe main.o Traffic_Jam.o Ca
>r.o MAML_Car.o MAML_ProbeLibrary.o -lspace -lspace -lanalysis -lsimtools -lsimto
>olsgui -ltkobjc -ltclobjc -lactivity -lrandom -lobjectbase -lcollections -ldefob
>j -lmisc -lBLT80 -ltk80 -ltcl80 -lpng -lz -lffi -luser32 -lgdi32 -lm -lobjc
>libtool-swarm: link: `-LC:/Cygnus/B19/H-i386-cygwin32/lib' cannot specify a rela
>tive directory
>make: *** [run.exe] Error 1
>/Users/Gulya/MAML/Sims/TrafficJam/MAML_target$
>
>
>
>
> ==================================
> 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.
>
>
>
--
James Marshall - Research Assistant - COTCOS Project
Institut de Recherche en Informatique de Toulouse
WWW: http://www.mk.dmu.ac.uk:~jmarshall
================================= 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.