[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GraphLib and APPLIBS
From: |
Rob Kewley |
Subject: |
Re: GraphLib and APPLIBS |
Date: |
Mon, 26 Jan 1998 10:30:50 -0500 |
Pietro Terna wrote:
>
> Here, despite the fact that the dynamicGraph-0.3 Makefile contains:
>
> APPLICATION=dynamicGraph
> OBJECTS=main.o ModelSwarm.o
> ObserverSwarm.o
> APPLIBS=-lgraph
>
> the linker does not receive -lgraph, but
> only:
> gcc -g -L/home/terna/swarm/swarm/lib -L/usr/X11R6/lib -o
> dynamicGraph main.o ModelSwarm.o ObserverSwarm.o
> /home/terna/swarm/swarm/lib/swarm.x -lobjc -lX11 -lm -ldl
>
Check the Makefile.conf file of your swarm distribution to ensure that
it includes $(APPLIBS) in the LIBS variable. Line 490 of my
distribution contains this line as follows.
LIBS= $(DISTOBJ) -lobjc -lX11 -lm $(OTHERLIBS) $(SYSDEPLIBS) $(APPLIBS)
While using a previous distribution, (I think it was the linux binary
version 1.0.3) I had to add $(APPLIBS) myself.
Rob Kewley
==================================
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.
==================================