#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) |