Le samedi 17 octobre 2009 18:01:51, Romain Beauxis a écrit :
> Eventually, I remember that *BSD users often have compilation issues when
> a library is located in /usr/local/lib since this path is not included by
> default. That could be another reason for the issue, but then I think the
> linker should complain that it didn't find the lib..
I forgot to add a point. In this case, you should add LDFLAGS=-L/usr/local/lib
when invoking ./configure:
% LDFLAGS=-L/usr/local ./configure
(...)
% make clean
(...)
% make
(...)
/usr/bin/ocamlc -a -dllib dllaacplus_stubs.so -ccopt -L/usr/local -
ccopt -L/usr/local \
-cclib -laacplus_stubs -cclib -laacplus -
cclib -lm -cclib -lfftw3f -o aacplus.cma aacplus.cmo
(...)
% ocamlobjinfo src/aacplus.cma
(...)
Extra C object files: -lfftw3f -lm -laacplus -laacplus_stubs
Extra C options: -L/usr/local -L/usr/local
(...)
If you compile using the full tarball or SVN trunk, you should add this option
when invoking the top-level configure..
Romain
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users