Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#27 Missing Library Dependencies in makefile

open
nobody
None
5
2006-02-14
2006-02-14
Russell Almond
No

I'm trying to compile under MacOS X 10.3.9
(powerpc-apple-darwin7.9.0), and getting problems when
building .libs/libpnl-0.2.23.0.0.dylib and libhigh.la.

This thread in the forum has detailed error messages:

https://sourceforge.net/forum/forum.php?thread_id=1429115&forum_id=334280

Adding this line to $PNL/c_pgmtk/src/Makefile

libpnl_la_LIBADD = -L../../cxcore/cxcore/src -lcxcore

And this line to $PNL/high/source

libhigh_la_LIBADD = -L../../c_pgmtk/src -lpnl

seems to get it to compile, although make check fails.

I'm not sure that the problem is MacOS specific,
although so far all the people discussing it on the
forum are running under MacOS X. It may be related to
a new install (i.e., I have not yet run make install,
so do not have any of the pnl libraries in /usr/local/lib).

Discussion