Hello,
i'm configure application for crosscompile for special CPU last version of zbar-0.10:
./configure --host=arm-linux --target=arm-linux --disable-libtool-lock --disable-pthread --disable-video --disable-assert --with-gnu-ld --without-xshm --without-xv --without-npapi --without-gtk --without-python --without-qt --enable-shared=no CPPFLAGS="-L /opt/arm-eabi-uclibc/usr/include/"
Hello,
i'm configure application for crosscompile for special CPU last version of zbar-0.10:
./configure --host=arm-linux --target=arm-linux --disable-libtool-lock --disable-pthread --disable-video --disable-assert --with-gnu-ld --without-xshm --without-xv --without-npapi --without-gtk --without-python --without-qt --enable-shared=no CPPFLAGS="-L /opt/arm-eabi-uclibc/usr/include/"
after run make, and get error:
/bin/bash ./libtool --tag=CXX --mode=link arm-linux-g++ -Wall -g -O2 -o zebraimg/zebraimg zebraimg/zebraimg_zebraimg-zebraimg.o -L/usr/local/lib -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16 zebra/libzebra.la
libtool: link: arm-linux-g++ -Wall -g -O2 -o zebraimg/zebraimg zebraimg/zebraimg_zebraimg-zebraimg.o -L/usr/local/lib /usr/local/lib/libMagick++-6.Q16.so /usr/local/lib/libMagickWand-6.Q16.so /usr/local/lib/libMagickCore-6.Q16.so -ljbig -llcms2 /usr/lib/i386-linux-gnu/libtiff.so -ljpeg -llqr-1 /usr/local/lib/libpng15.so -ldjvulibre -lfontconfig /usr/lib/i386-linux-gnu/libfreetype.so -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 /usr/lib/i386-linux-gnu/libIlmImf.so -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -lxml2 -lz -lm /opt/arm-eabi-uclibc/usr/arm-unknown-linux-uclibcgnueabi/lib/libgomp.so zebra/.libs/libzebra.a -fopenmp -pthread -Wl,-rpath -Wl,/opt/arm-eabi-uclibc/usr/arm-unknown-linux-uclibcgnueabi/lib -Wl,-rpath -Wl,/opt/arm-eabi-uclibc/usr/arm-unknown-linux-uclibcgnueabi/lib
/opt/arm-eabi-uclibc/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.5/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: cannot find -ljbig
collect2: ld returned 1 exit status
make[1]: [zebraimg/zebraimg] Error 1
make[1]: Leaving directory `/home/zebra-0.10'
make: [all] Error 2
Why, if I limited the library to compile, libtool asked to compile all of the libraries?
Thank's
Last edit: Ugashet 2015-06-03