Michèle Garoche wrote:

Le 21 févr. 2006 à 01:35, Michèle Garoche a écrit :
[]
g++ -dynamiclib -single_module -undefined dynamic_lookup -o .libs/libaspell.15.0.3.dylib .libs/can_have_error-c.o .libs/info-c.o .libs/string_list-c.o .libs/config-c.o .libs/speller-c.o .libs/string_map-c.o .libs/error-c.o .libs/mutable_container-c.o .libs/string_pair_enumeration-c.o .libs/find_speller.o .libs/new_checker.o .libs/new_filter.o .libs/new_config.o .libs/string_enumeration-c.o .libs/word_list-c.o .libs/filter-c.o .libs/document_checker-c.o -all_load ../common/.libs/libaspell-common.a ../modules/speller/default/.libs/libaspell-speller-default.a ../modules/filter/.libs/libaspell-filter-standard.a ../modules/tokenizer/.libs/libaspell-tokenizer-standard.a -L/Volumes/FireWire3/sw/lib -install_name /Volumes/FireWire3/sw/lib/libaspell.15.dylib -compatibility_version 16 -current_version 16.3
ld: warning multiple definitions of symbol ___eprintf
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_eprintf.o) private external definition of ___eprintf in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc++.dylib(single module) definition of ___eprintf
[]
I've added :
CompileScript: <<
./configure %c
perl -pi.bak -e 's/^whole_archive_flag_spec=.*/whole_archive_flag_spec=/g' libtool
make
<<

And it does not issue the multiple definitions of symbols anymore,

It would be interesting to see if this works afterwards, i.e. if the resulting libaspell.15.0.3.dylib contains all the necessary symbols. The "-all_load" flag might have been there for a reason (even if it leads to those warnings). Just a thought.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to