[Dcmlib] Compilation on MACOSX

Eric Boix Eric.Boix at creatis.insa-lyon.fr
Tue Jul 27 14:42:28 CEST 2004


	Yo,

C'est toujours d'actualite les pb sous MacOSX ?
Si oui, c'est sans doute parceque les variables en question sont
globales (regarde JpegInFile, dans src/jpeg/ljpg/decomp.c). Y'a pas
une option de compile pour par qu'il rale ? (c'est pas du code gdcm,
mais la copie d'une librairie externe...)

	Frog

Quoting Mathieu Malaterre <mathieu.malaterre at kitware.com>:
> Bon pour l'instant ca compile pas:
> 
> Building shared library /Users/foo/Temp/gdcmbin/bin/libgdcmljpeg.dylib...
> ld: common symbols not allowed with MH_DYLIB output format with the 
> -multi_module option
> decomp.o definition of common _JpegInFile (size 4)
> decomp.o definition of common _dcInfo (size 140)
> huffd.o definition of common _inputBuffer (size 4)
> jpegutil.o definition of common _buf1Memory (size 8192)
> jpegutil.o definition of common _buf2Memory (size 8192)
> jpegutil.o definition of common _mcuROW1Memory (size 4096)
> jpegutil.o definition of common _mcuROW2Memory (size 4096)
> mcu.o definition of common _mcuTable (size 4)
> mcu.o definition of common _numMCU (size 4)
> read.o definition of common _HuffmanTableMemory (size 12960)
> /usr/bin/libtool: internal link edit command failed
> make[4]: *** [/Users/foo/Temp/gdcmbin/bin/libgdcmljpeg.dylib] Error 1
> make[3]: *** [/Users/foo/Temp/gdcmbin/bin/libgdcmljpeg.dylib] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_src] Error 2
> make: *** [default_target] Error 2



More information about the Dcmlib mailing list