jpeglib库怎么安装到Linux上
发布时间:2010-12-05 14:09:55来源:红联作者:zhouzhuan2008
请问jpeglib怎么移植到Linux上啊? 我编译一段用于压缩成JPEG格式的代码,报了一系列的错,还请大家帮我看看 谢谢你们了
[root@localhost caiji]# arm-linux-gcc server_arm.c -o arm
/tmp/ccwHfVCC.o: In function `write_JPEG_file':
server_arm.c:(.text+0x4e0): undefined reference to `jpeg_std_error'
server_arm.c:(.text+0x4fc): undefined reference to `jpeg_CreateCompress'
server_arm.c:(.text+0x54c): undefined reference to `jpeg_stdio_dest'
server_arm.c:(.text+0x578): undefined reference to `jpeg_set_defaults'
server_arm.c:(.text+0x58c): undefined reference to `jpeg_set_quality'
server_arm.c:(.text+0x5c4): undefined reference to `jpeg_start_compress'
server_arm.c:(.text+0xa14): undefined reference to `jpeg_write_raw_data'
server_arm.c:(.text+0xa3c): undefined reference to `jpeg_finish_compress'
server_arm.c:(.text+0xa50): undefined reference to `jpeg_destroy_compress'
collect2: ld returned 1 exit status
[root@localhost caiji]#