[Click] Building elements as a package

Rajendra J. Magar Rajendra.J.Magar at Dartmouth.EDU
Mon Mar 27 17:22:38 EST 2006


--- Eddie Kohler wrote:
Great.  Well then, update your package's Makefile.in and configure.in from the 
versions currently in CVS.  Edit Makefile.in ot set INCLUDES appropriately. 
Then add a line that sets LDFLAGS to

LDFLAGS = $(CLICKLDFLAGS) **whatever your -L and -l options are**
--- end of quote ---

Super! Installing the current version of click from CVS and adding the following to my old Makefile.in from the old /etc/samplepackage solved the problem.

LDFLAGS += -L/data/map/analysis/vxl_bin/lib -lvnl_algo -lnetlib -lvcl -lvnl -lvnl_io -lvpl -lvsl -lvbl -lvul -lpcap -lglib-2.0

I tried to make similar modification to the latest /etc/samplepackage (added appropriate INCLUDES and the above LDFLAGS line in Makefile.in), but the link errors still exist. Unless the old /etc/samplepackage is a liability, I plan to continue using it. Please let me know.

Thanks a lot
Raz



More information about the click mailing list