Chinaunix首页 | 论坛 | 博客
  • 博客访问: 201618
  • 博文数量: 64
  • 博客积分: 2536
  • 博客等级: 少校
  • 技术积分: 610
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-16 16:39
文章分类

全部博文(64)

文章存档

2011年(2)

2010年(1)

2009年(61)

我的朋友

分类: LINUX

2009-08-18 09:04:45

#make
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_gray_1_2_4_to_8'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_error'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_rowbytes'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_strip_16'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_create_read_struct'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_sig_bytes'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_interlace_handling'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_read_fn'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_packing'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_sRGB'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_gray_to_rgb'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_gAMA'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_valid'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_palette_to_rgb'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_PLTE'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_IHDR'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_read_info'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_destroy_read_struct'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_check_sig'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_read_update_info'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_read_row'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_get_tRNS'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_create_info_struct'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_set_gamma'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libminigui.so: undefined reference to `png_read_end'
collect2: ld returned 1 exit status
make: *** [hjexe] 错误 1
为什么会弹出以上错误?
程序里我使用了 png图,编译后弹出程序没有指向png的库,
libpng 库刚装上,查了一下,在
#ls /usr/local/arm/3.4.1/arm-linux/lib/libpng*
有png库
看一下Makefile 文件,里面少了 -lpng


阅读(2509) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~