posix_memalign link error

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
eric_vi
Posts: 23
Joined: 2010-03-08T20:16:39-07:00
Authentication code: 8675308

posix_memalign link error

Post by eric_vi »

hello,

i am on Mac OS X.6 i have built a static version of image magick without problem... when i link it in my project .. i get the following error

"_posix_memalign", referenced from:

_AcquireAlignedMemory in libMagickCore.a(magick_libMagickCore_la-memory.o)

i cannot find any reference to posix_memalign on X.6, it seems to be included.. what link flag i miss? or is there away to compile a static without using this memory alignment that seems to automatically come on this OS

Thanks for your help
Post Reply