On Oct 28, 2007, at 2:16 PM, Jack Howarth wrote: > Martin, > Some of the linker behavior in Leopard doesn't make any sense at > all. For example if I > modify the molmol makedef to link as follows (which works fine under > Fedora 7 linux)...
I think this is a general problem in the new ld. Building gcc: gcc -g -fkeep-inline-functions -DIN_GCC -L/sw/lib -liconv -W - Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -Wmissing-format-attribute -fno-common - DHAVE_CONFIG_H -liconv -o cc1-dummy c-lang.o stub-objc.o attribs.o c- errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux- info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c- dump.o c-pch.o c-parser.o darwin-c.o c-gimplify.o tree-mudflap.o c- pretty-print.o c-omp.o dummy-checksum.o \ main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../ libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/ libiberty.a ../libdecnumber/libdecnumber.a -L/sw/lib -lmpfr -lgmp Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_convert_input in libcpp.a(charset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(charset.o) _convert_using_iconv in libcpp.a(charset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status We have a similar problem with Perian (and an even larger different problem, since it doesn't support text relocations). I just fixed that problem with 'ln -s /usr/bin/ld_classic /usr/local/ bin/ld' but that really isn't a good solution. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel