|
[root@hch vidcapture-bak]# make
/usr/local/arm/3.3.2/arm-linux/bin/gcc -DHAVE_LIBJPEG -I/usr/include -c -o video-ca
pture.o video-capture.c
/usr/local/arm/3.3.2/arm-linux/bin/gcc -DHAVE_LIBJPEG -I/usr/include -c -o video_de
vice.o video_device.c
/usr/local/arm/3.3.2/arm-linux/bin/gcc -DHAVE_LIBJPEG -I/usr/include -c -o communic
ate.o communicate.c
communicate.c: In function `sendData':
communicate.c:174: warning: passing arg 5 of `sendto' from incompatible pointer type
/usr/local/arm/3.3.2/arm-linux/bin/gcc -Xlinker -rpath-link /usr/local/arm/3.3.2/arm
-linux/lib -L. -ljpeg video-capture.o video_device.o communicate.o -o vidcat
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/ar
m-linux/3.3.2/../../../../arm-linux/lib/libjpeg.so when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/ar
m-linux/3.3.2/../../../../arm-linux/lib/libjpeg.a when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../
../../../arm-linux/lib/libjpeg.so when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../
../../../arm-linux/lib/libjpeg.a when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/bin/../lib/libjpeg.so
when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/bin/../lib/libjpeg.a
when searching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/lib/libjpeg.so when s
earching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: skipping incompatible /usr/local/arm/3.3.2/arm-linux/lib/libjpeg.a when se
arching for -ljpeg
/usr/local/arm/3.3.2/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin
ux/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [video-capture] Error 1
以前也出现过这个问题,我在网上找了一下,照着下了一个libjpeg62-dev-arm.tar.gz的 包并解压成功,在lib中也可以查到相关库.但是再编译后虽然编译得比没有加库以前多点但还是有cannot find -ljpeg的问题,而且还多了skipping incompatible /usr/local/arm/3.3.2/arm-linux/bin/../lib/libjpeg.a when searching for -ljpeg等这些不兼容问题.
请问各位高手,这个问题该如何解决呢?
非常急!!! |
|