PXA255 ÏÂÉãÏñÍ·²É¼¯³ÌÐò±àÒëµÄÎÊÌâ
Ê×ÏÈÒª±àÒëjpeg¿â¿´ÍøÉÏ˵£¬±àÒëºÃjpeg¿âÖ®ºó£¬»¹Òª±àÒëminigui¿â
ÎÒÏÈÓÃarm-linux-gcc±àÒëÕâÁ½¸ö¿â£¬½á¹ûÈçÏ£º
[root@localhost lib]# cd /usr/local/arm/3.0/arm-linux/lib
[root@localhost lib]# file libminigui-1.6.so.2.0.0
libminigui-1.6.so.2.0.0: ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
[root@localhost lib]# file libjpeg.so.62.0.0
libjpeg.so.62.0.0: ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
vidcat_OK_1.c ÊÇÉãÏñÍ·²É¼¯³ÌÐò
[root@localhost vidcat_ok]# arm-linux-gcc -o v4l vidcat_OK_1.c
/tmp/ccGOV5Fg.o: In function `put_image_jpeg':
/tmp/ccGOV5Fg.o(.text+0x1198): undefined reference to `jpeg_std_error'
/tmp/ccGOV5Fg.o(.text+0x11ac): undefined reference to `jpeg_CreateCompress'
/tmp/ccGOV5Fg.o(.text+0x11f0): undefined reference to `jpeg_set_defaults'
/tmp/ccGOV5Fg.o(.text+0x1200): undefined reference to `jpeg_set_quality'
/tmp/ccGOV5Fg.o(.text+0x1214): undefined reference to `jpeg_stdio_dest'
/tmp/ccGOV5Fg.o(.text+0x1220): undefined reference to `jpeg_start_compress'
/tmp/ccGOV5Fg.o(.text+0x1270): undefined reference to `jpeg_write_scanlines'
/tmp/ccGOV5Fg.o(.text+0x12e8): undefined reference to `jpeg_write_scanlines'
/tmp/ccGOV5Fg.o(.text+0x1390): undefined reference to `jpeg_finish_compress'
/tmp/ccGOV5Fg.o(.text+0x1398): undefined reference to `jpeg_destroy_compress'
collect2: ld returned 1 exit status
¸÷λ¸ßÈË¿´¿´µ½µ×ÊÇʲôµØ·½ÓÐÎÊÌâ°¡£¿ arm-linux-gcc -o v4l vidcat_OK_1.c -ljpeg ·Ç³£¸ÐлAIKO_sex ¡£ÎÊÌâÒѽâ¾ö£¬Ð»Ð»£¬Ð»Ð»¡£¡£¡£¡£¡£
Ò³:
[1]