On Jan 10, 2004, at 8:27 PM, Koen van der Drift wrote:
Hi,
The package I am working on (plplot) has the option to use the qhull libraries. When I enable that, I get the following error:
...
gcc -dynamiclib -o .libs/libcsironn.0.0.0.dylib .libs/delaunay.o .libs/hash.o .libs/istack.o .libs/lpi.o .libs/nnai.o .libs/nnpi.o .libs/nncommon.o -L/sw/lib -lqhull -lm -install_name /sw/lib/libcsironn.0.dylib -compatibility_version 1 -current_version 1.0
ld: warning -dylib_install_name /sw/lib/libcsironn.0.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/sw/lib/libqhull.a(global.o) definition of common _qh_qh (size 3768)
/sw/lib/libqhull.a(stat.o) definition of common _qh_qhstat (size 3832)
The problem can be solved by linking the qhull package with the -fno-common flag. This can be easily done by patching the Makefile and Makefile.txt files and adding this flag to CCOPTS1 in the gcc section.
- Koen.
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
