c++ -O2 -I/home/cyril/Packages/include/libxml2 -I/home/cyril/Packages/include -fPIC -L../libsrc -L../../ofstd/libsrc -o xml2dcm xml2dcm.o -lxml2 -ldcmdata -lofstd -lz -lm -lthread -lsocket -lnsl
error:
Undefined first referenced
symbol in file
libiconv /home/cyril/Packages/lib/libxml2.a(encoding.o)
libiconv_open /home/cyril/Packages/lib/libxml2.a(encoding.o)
libiconv_close /home/cyril/Packages/lib/libxml2.a(encoding.o)
ld: fatal: Symbol referencing errors. No output written to xml2dcm
Obviously, when I try to link on libxml it fails. I think it is because Gnu GCC has a built-in version of libiconv and it is confused on the freshly installed libiconv package.
I would like to be able to compile this code without installing gcc as openpkg (System packages are not maintained by our team).
Is anybody has had similar problems ? any tips ? thanks a lot
Cyrille Duret Digital Imaging Unit, Head Service of Medical Informatics University Hospital of Geneva E-mail: [EMAIL PROTECTED] 24, rue Micheli du Crest CH-1211 GENEVA 14. SWITZERLAND
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
