Crosscompiling to ST-plattform
Posted: 2010-09-23T08:08:14-07:00
Hi,
I'm trying to cross-compile IM for the ST-Plattform. I used following command to configure the package:
The error was:
I'm trying to cross-compile IM for the ST-Plattform. I used following command to configure the package:
Code: Select all
./configure --prefix=/app/imagemagic/ CROSS_COMPILE=/opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux- CC=/opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc --host="sh4-linux" --build="i686-linux-gnu" CPPFLAGS="-I/app/jpeg/include" LDFLAGS='-L/app/jpeg/lib' --enable-shared=no --without-threads --without-modules --without-perl --without-bzlib --without-zlib --without-dps --without-djvu --without-fftw --without-fpx --without-fontconfig --without-freetype --without-gslib --without-gvc --without-jbig --without-jpeg --without-jp2 --without-lcms --without-lcms2 --without-lqr --without-openexr --without-png --without-rsvg --without-tiff --without-wmf --without-xml --without-magick-plus-plus --disable-openmp --disable-opencl --disable-largefile --disable-libtool-lock --disable-ltdl-install --with-gnu-ld=no
Code: Select all
magick/.libs/libMagickCore.a(magick_libMagickCore_la-semaphore.o): In function `AllocateSemaphoreInfo':
/app/ImageMagick-6.6.4-5/magick/semaphore.c:166: undefined reference to `pthread_mutexattr_init'
/app/ImageMagick-6.6.4-5/magick/semaphore.c:166: undefined reference to `pthread_mutexattr_destroy'
collect2: ld returned 1 exit status