i am on mac OS X.6
i am doing a
./configure --disable-shared --enable-delegate-build
make
to build imagemagick static during the make i get the following errors. ...
CCLD utilities/animate
Undefined symbols:
"_clEnqueueWriteBuffer", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clCreateContextFromType", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clCreateProgramWithSource", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clGetProgramBuildInfo", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clFinish", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clReleaseCommandQueue", referenced from:
_DestroyConvolveInfo in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clReleaseProgram", referenced from:
_DestroyConvolveInfo in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clReleaseMemObject", referenced from:
_DestroyConvolveBuffers in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_DestroyConvolveBuffers in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_DestroyConvolveBuffers in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clReleaseKernel", referenced from:
_DestroyConvolveInfo in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clSetKernelArg", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clEnqueueNDRangeKernel", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clCreateCommandQueue", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clCreateKernel", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clEnqueueReadBuffer", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clReleaseContext", referenced from:
_DestroyConvolveInfo in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clGetContextInfo", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clCreateBuffer", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
"_clBuildProgram", referenced from:
_AccelerateConvolveImage in libMagickCore.a(magick_libMagickCore_la-accelerate.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
If i try to build with a simple
./configure
make
everything fine...
is there anything else that need to be added or done to avoid those errors, which does not seem to come from any delegates missing, for a static build
Thank you for your help
make error while building ImageMagick-6.6.6-3 static
Re: make error while building ImageMagick-6.6.6-3 static
We'll investigate but in the mean-time, add
- --disable-opencl
Re: make error while building ImageMagick-6.6.6-3 static
hello again, thank you for your fast answer ,,, i tried that , i do not get any error message this time, but it was pretty fast and i cannot see where the library can be i do not see it anywhere, i don't think that was built.
i did put the what the make did below...
i did put the what the make did below...
Code: Select all
MacX-6-startup1012:ImageMagick-6.6.6-3 user$ make
make all-am
CC magick/magick_libMagickCore_la-animate.lo
CC magick/magick_libMagickCore_la-compare.lo
CC magick/magick_libMagickCore_la-composite.lo
CC magick/magick_libMagickCore_la-display.lo
CC magick/magick_libMagickCore_la-feature.lo
CC magick/magick_libMagickCore_la-identify.lo
CC magick/magick_libMagickCore_la-image.lo
CC magick/magick_libMagickCore_la-image-view.lo
CC magick/magick_libMagickCore_la-log.lo
CC magick/magick_libMagickCore_la-magick.lo
CC magick/magick_libMagickCore_la-module.lo
CC magick/magick_libMagickCore_la-montage.lo
CC magick/magick_libMagickCore_la-property.lo
CC magick/magick_libMagickCore_la-resize.lo
CC magick/magick_libMagickCore_la-static.lo
CC magick/magick_libMagickCore_la-statistic.lo
CC magick/magick_libMagickCore_la-version.lo
CC magick/magick_libMagickCore_la-xwindow.lo
CC coders/magick_libMagickCore_la-art.lo
CC coders/magick_libMagickCore_la-avs.lo
CC coders/magick_libMagickCore_la-bgr.lo
CC coders/magick_libMagickCore_la-bmp.lo
CC coders/magick_libMagickCore_la-braille.lo
CC coders/magick_libMagickCore_la-cals.lo
CC coders/magick_libMagickCore_la-caption.lo
CC coders/magick_libMagickCore_la-cin.lo
CC coders/magick_libMagickCore_la-cip.lo
CC coders/magick_libMagickCore_la-clip.lo
CC coders/magick_libMagickCore_la-cmyk.lo
CC coders/magick_libMagickCore_la-cut.lo
CC coders/magick_libMagickCore_la-dcm.lo
CC coders/magick_libMagickCore_la-dds.lo
CC coders/magick_libMagickCore_la-debug.lo
CC coders/magick_libMagickCore_la-dib.lo
CC coders/magick_libMagickCore_la-dng.lo
CC coders/magick_libMagickCore_la-dot.lo
CC coders/magick_libMagickCore_la-dpx.lo
CC coders/magick_libMagickCore_la-fax.lo
CC coders/magick_libMagickCore_la-fits.lo
CC coders/magick_libMagickCore_la-gif.lo
CC coders/magick_libMagickCore_la-gradient.lo
CC coders/magick_libMagickCore_la-gray.lo
CC coders/magick_libMagickCore_la-hald.lo
CC coders/magick_libMagickCore_la-histogram.lo
CC coders/magick_libMagickCore_la-hrz.lo
CC coders/magick_libMagickCore_la-html.lo
CC coders/magick_libMagickCore_la-icon.lo
CC coders/magick_libMagickCore_la-info.lo
CC coders/magick_libMagickCore_la-inline.lo
CC coders/magick_libMagickCore_la-ipl.lo
CC coders/magick_libMagickCore_la-label.lo
CC coders/magick_libMagickCore_la-magick.lo
CC coders/magick_libMagickCore_la-map.lo
CC coders/magick_libMagickCore_la-mat.lo
CC coders/magick_libMagickCore_la-matte.lo
CC coders/magick_libMagickCore_la-meta.lo
CC coders/magick_libMagickCore_la-miff.lo
CC coders/magick_libMagickCore_la-mono.lo
CC coders/magick_libMagickCore_la-mpc.lo
CC coders/magick_libMagickCore_la-mpeg.lo
CC coders/magick_libMagickCore_la-mpr.lo
CC coders/magick_libMagickCore_la-msl.lo
CC coders/magick_libMagickCore_la-mtv.lo
CC coders/magick_libMagickCore_la-mvg.lo
CC coders/magick_libMagickCore_la-null.lo
CC coders/magick_libMagickCore_la-otb.lo
CC coders/magick_libMagickCore_la-palm.lo
CC coders/magick_libMagickCore_la-pattern.lo
CC coders/magick_libMagickCore_la-pcd.lo
CC coders/magick_libMagickCore_la-pcl.lo
CC coders/magick_libMagickCore_la-pcx.lo
CC coders/magick_libMagickCore_la-pdb.lo
CC coders/magick_libMagickCore_la-pdf.lo
CC coders/magick_libMagickCore_la-pes.lo
CC coders/magick_libMagickCore_la-pict.lo
CC coders/magick_libMagickCore_la-pix.lo
CC coders/magick_libMagickCore_la-plasma.lo
CC coders/magick_libMagickCore_la-pnm.lo
CC coders/magick_libMagickCore_la-preview.lo
CC coders/magick_libMagickCore_la-ps.lo
CC coders/magick_libMagickCore_la-ps2.lo
CC coders/magick_libMagickCore_la-ps3.lo
CC coders/magick_libMagickCore_la-psd.lo
CC coders/magick_libMagickCore_la-pwp.lo
CC coders/magick_libMagickCore_la-raw.lo
CC coders/magick_libMagickCore_la-rgb.lo
CC coders/magick_libMagickCore_la-rla.lo
CC coders/magick_libMagickCore_la-rle.lo
CC coders/magick_libMagickCore_la-scr.lo
CC coders/magick_libMagickCore_la-sct.lo
CC coders/magick_libMagickCore_la-sfw.lo
CC coders/magick_libMagickCore_la-sgi.lo
CC coders/magick_libMagickCore_la-stegano.lo
CC coders/magick_libMagickCore_la-sun.lo
CC coders/magick_libMagickCore_la-svg.lo
CC coders/magick_libMagickCore_la-tga.lo
CC coders/magick_libMagickCore_la-thumbnail.lo
CC coders/magick_libMagickCore_la-tile.lo
CC coders/magick_libMagickCore_la-tim.lo
CC coders/magick_libMagickCore_la-ttf.lo
CC coders/magick_libMagickCore_la-txt.lo
CC coders/magick_libMagickCore_la-uil.lo
CC coders/magick_libMagickCore_la-url.lo
CC coders/magick_libMagickCore_la-uyvy.lo
CC coders/magick_libMagickCore_la-vicar.lo
CC coders/magick_libMagickCore_la-vid.lo
CC coders/magick_libMagickCore_la-viff.lo
CC coders/magick_libMagickCore_la-wbmp.lo
CC coders/magick_libMagickCore_la-wpg.lo
CC coders/magick_libMagickCore_la-xbm.lo
CC coders/magick_libMagickCore_la-xc.lo
CC coders/magick_libMagickCore_la-xcf.lo
CC coders/magick_libMagickCore_la-xpm.lo
CC coders/magick_libMagickCore_la-xps.lo
CC coders/magick_libMagickCore_la-ycbcr.lo
CC coders/magick_libMagickCore_la-yuv.lo
CC coders/magick_libMagickCore_la-jpeg.lo
CC coders/magick_libMagickCore_la-jp2.lo
CC coders/magick_libMagickCore_la-png.lo
CC coders/magick_libMagickCore_la-ept.lo
CC coders/magick_libMagickCore_la-tiff.lo
CC coders/magick_libMagickCore_la-x.lo
CC coders/magick_libMagickCore_la-xwd.lo
CC filters/magick_libMagickCore_la-analyze.lo
CCLD magick/libMagickCore.la
copying selected object files to avoid basename conflicts...
ranlib: file: magick/.libs/libMagickCore.a(magick_libMagickCore_la-PreRvIcccm.o) has no symbols
ranlib: file: magick/.libs/libMagickCore.a(magick_libMagickCore_la-PreRvIcccm.o) has no symbols
CC wand/wand_libMagickWand_la-animate.lo
CC wand/wand_libMagickWand_la-compare.lo
CC wand/wand_libMagickWand_la-composite.lo
CC wand/wand_libMagickWand_la-conjure.lo
CC wand/wand_libMagickWand_la-convert.lo
CC wand/wand_libMagickWand_la-deprecate.lo
CC wand/wand_libMagickWand_la-display.lo
CC wand/wand_libMagickWand_la-drawing-wand.lo
CC wand/wand_libMagickWand_la-identify.lo
CC wand/wand_libMagickWand_la-import.lo
CC wand/wand_libMagickWand_la-magick-image.lo
CC wand/wand_libMagickWand_la-magick-property.lo
CC wand/wand_libMagickWand_la-magick-wand.lo
CC wand/wand_libMagickWand_la-mogrify.lo
CC wand/wand_libMagickWand_la-montage.lo
CC wand/wand_libMagickWand_la-pixel-iterator.lo
CC wand/wand_libMagickWand_la-pixel-wand.lo
CC wand/wand_libMagickWand_la-stream.lo
CC wand/wand_libMagickWand_la-wand.lo
CC wand/wand_libMagickWand_la-wand-view.lo
CCLD wand/libMagickWand.la
CXX Magick++/lib/Blob.lo
CXX Magick++/lib/BlobRef.lo
CXX Magick++/lib/CoderInfo.lo
CXX Magick++/lib/Color.lo
CXX Magick++/lib/Drawable.lo
CXX Magick++/lib/Exception.lo
CXX Magick++/lib/Functions.lo
CXX Magick++/lib/Geometry.lo
CXX Magick++/lib/Image.lo
CXX Magick++/lib/ImageRef.lo
CXX Magick++/lib/Montage.lo
CXX Magick++/lib/Options.lo
CXX Magick++/lib/Pixels.lo
CXX Magick++/lib/STL.lo
CXX Magick++/lib/Thread.lo
CXX Magick++/lib/TypeMetric.lo
CXXLD Magick++/lib/libMagick++.la
CC utilities/animate.o
CCLD utilities/animate
CC utilities/compare.o
CCLD utilities/compare
CC utilities/composite.o
CCLD utilities/composite
CC utilities/conjure.o
CCLD utilities/conjure
CC utilities/convert.o
CCLD utilities/convert
CC utilities/display.o
CCLD utilities/display
CC utilities/identify.o
CCLD utilities/identify
CC utilities/import.o
CCLD utilities/import
CC utilities/mogrify.o
CCLD utilities/mogrify
CC utilities/montage.o
CCLD utilities/montage
CC utilities/stream.o
CCLD utilities/stream
Re: make error while building ImageMagick-6.6.6-3 static
Same issue on my end. Does anyone have solution for this problem?
Re: make error while building ImageMagick-6.6.6-3 static
I've fixed the issue on my end.
My results:
1) When you build on Mac OS 10.6 with opencl, it doesn't compiles. Machine: MacBookPro, 10.6.6, SDK 10.6. Same error that was introduced previously in this thread.
2) Without OpenCL it compiles successfully. Be carefull because it puts output libraries to hidden folders (.libs) so finder can't find them.
What's why I had a problem yesterday. I just haven't found output files.
So after "sudo make install" everything works fine.
My results:
1) When you build on Mac OS 10.6 with opencl, it doesn't compiles. Machine: MacBookPro, 10.6.6, SDK 10.6. Same error that was introduced previously in this thread.
2) Without OpenCL it compiles successfully. Be carefull because it puts output libraries to hidden folders (.libs) so finder can't find them.
What's why I had a problem yesterday. I just haven't found output files.
So after "sudo make install" everything works fine.