Le 21 févr. 2006 à 01:35, Michèle Garoche a écrit :

On 10.4 stable, when compiling aspell, I've got:

1 - checking dependency style of g++... gcc3

2 -
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
ld: warning multiple definitions of symbol ___divdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 10.4.dylib(_divdi3_s.o) definition of ___divdi3
ld: warning multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 10.4.dylib(_udivdi3_s.o) definition of ___udivdi3
ld: warning multiple definitions of symbol ___umoddi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libgcc_s. 10.4.dylib(_umoddi3_s.o) definition of ___umoddi3 (cd .libs && rm -f libaspell.15.dylib && ln -s libaspell. 15.0.3.dylib libaspell.15.dylib) (cd .libs && rm -f libaspell.dylib && ln -s libaspell.15.0.3.dylib libaspell.dylib)
creating libaspell.la

Is there anything wrong here?
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, though I wonder why it insists on checking dependency style of g++... gcc3

Cheers,
Michèle
<http://micmacfr.homeunix.org>

Attachment: 36C471DED4B09EEB30A0281F2608DB2FE6F9E147.gpgkey
Description: Binary data



Reply via email to