Marcus Bergstrom <[EMAIL PROTECTED]> (on Fri, 23 Feb 2007 16:46:04 +0100):
> gcc -shared -lneko -lWand -lMagick -o nMagick.ndll nMagick.o > i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared' > /usr/bin/ld: Undefined symbols: > _main > _MagickThumbnail > _val_double > collect2: ld returned 1 exit status > > Anyone got a clue? maybe, try replacing "-shared" with "-dynamiclib" in the command line, that should get rid of the _main symbol. (thanks apple) val_double doesn't exist in neko. try val_float or val_number. the compiler seems to take undefined symbols as returning int, but the linker then complains. about MagickThumbnail, i don't know. see if it actually exists in your imagemagick headers-- if not, just remove it from nMagick for now... -dan -- http://0xDF.com/ http://iterative.org/ -- Neko : One VM to run them all (http://nekovm.org)
