I am so new to Linux, can someone help me with this problem. After I download the Ming 0.3.0 and run the .configure successfully. But when I ran make , i got this error. thank you so much...
g
dbl2png.c:5:17: error: png.h: No such file or directory
dbl2png.c:31: error: syntax error before âpng_uint_32â
dbl2png.c:31: warning: no semicolon at end of struct or union
dbl2png.c:32: warning: type defaults to âintâ in declaration of âheightâ
dbl2png.c:32: warning: data definition has no type or storage class
dbl2png.c:37: error: syntax error before âpaletteâ
dbl2png.c:37: warning: type defaults to âintâ in declaration of âpaletteâ
dbl2png.c:37: warning: data definition has no type or storage class
dbl2png.c:39: error: syntax error before â}â token
dbl2png.c:43: error: return type is an incomplete type
dbl2png.c: In function âreadDBLâ:
dbl2png.c:44: error: storage size of âpngâ isnât known
dbl2png.c:56: error: âPNG_COLOR_TYPE_RGB_ALPHAâ undeclared (first use in this function)
dbl2png.c:56: error: (Each undeclared identifier is reported only once
dbl2png.c:56: error: for each function it appears in.)
dbl2png.c:64: error: âPNG_COLOR_TYPE_RGBâ undeclared (first use in this function)
dbl2png.c:79: error: âPNG_COLOR_TYPE_PALETTEâ undeclared (first use in this function)
dbl2png.c:142: warning: âreturnâ with a value, in function returning void
dbl2png.c:44: warning: unused variable âpngâ
dbl2png.c: At top level:
dbl2png.c:148: error: syntax error before âpng_ptrâ
dbl2png.c: In function âalpha_applyâ:
dbl2png.c:152: error: ârow_infoâ undeclared (first use in this function)
dbl2png.c:154: error: âpâ undeclared (first use in this function)
dbl2png.c: At top level:
dbl2png.c:166: error: parameter 2 (âpngâ) has incomplete type
dbl2png.c: In function âwritePNGâ:
dbl2png.c:168: error: âpng_structpâ undeclared (first use in this function)
dbl2png.c:168: error: syntax error before âpng_ptrâ
dbl2png.c:169: error: âpng_infopâ undeclared (first use in this function)
dbl2png.c:176: error: âpng_ptrâ undeclared (first use in this function)
dbl2png.c:176: warning: implicit declaration of function âpng_create_write_structâ
dbl2png.c:176: error: âPNG_LIBPNG_VER_STRINGâ undeclared (first use in this function)
dbl2png.c:180: error: âinfo_ptrâ undeclared (first use in this function)
dbl2png.c:180: warning: implicit declaration of function âpng_create_info_structâ
dbl2png.c:183: warning: implicit declaration of function âpng_destroy_write_structâ
dbl2png.c:183: error: âpng_infoppâ undeclared (first use in this function)
dbl2png.c:187: warning: implicit declaration of function âsetjmpâ
dbl2png.c:187: warning: implicit declaration of function âpng_jmpbufâ
dbl2png.c:194: warning: implicit declaration of function âpng_init_ioâ
dbl2png.c:195: warning: implicit declaration of function âpng_set_IHDRâ
dbl2png.c:196: error: âPNG_INTERLACE_NONEâ undeclared (first use in this function)
dbl2png.c:197: error: âPNG_COMPRESSION_TYPE_DEFAULTâ undeclared (first use in this function)
dbl2png.c:197: error: âPNG_FILTER_TYPE_DEFAULTâ undeclared (first use in this function)
dbl2png.c:198: error: âPNG_COLOR_TYPE_PALETTEâ undeclared (first use in this function)
dbl2png.c:199: warning: implicit declaration of function âpng_set_PLTEâ
dbl2png.c:199: error: âpng_colorpâ undeclared (first use in this function)
dbl2png.c:199: error: syntax error before âpngâ
dbl2png.c:200: warning: implicit declaration of function âpng_write_infoâ
dbl2png.c:205: warning: implicit declaration of function âpng_get_channelsâ
dbl2png.c:209: error: âPNG_COLOR_TYPE_RGB_ALPHAâ undeclared (first use in this function)
dbl2png.c:211: warning: implicit declaration of function âpng_set_write_user_transform_fnâ
dbl2png.c:214: warning: implicit declaration of function âpng_write_rowâ
dbl2png.c:218: error: âPNG_COLOR_TYPE_RGBâ undeclared (first use in this function)
dbl2png.c:220: warning: implicit declaration of function âpng_set_fillerâ
dbl2png.c:220: error: âPNG_FILLER_BEFOREâ undeclared (first use in this function)
dbl2png.c:237: warning: implicit declaration of function âpng_write_endâ
dbl2png.c: In function âmainâ:
dbl2png.c:248: error: storage size of âpngâ isnât known
dbl2png.c:250: warning: implicit declaration of function âstrcmpâ
dbl2png.c:259: warning: implicit declaration of function âstrlenâ
dbl2png.c:259: warning: incompatible implicit declaration of built-in function âstrlenâ
dbl2png.c:266: warning: implicit declaration of function âstrdupâ
dbl2png.c:266: warning: incompatible implicit declaration of built-in function âstrdupâ
dbl2png.c:275: error: type of formal parameter 2 is incomplete
dbl2png.c:248: warning: unused variable âpngâ
make[2]: [dbl2png] Error 1
make[2]: Leaving directory /ming4/ming-0.3.0/util'
make[1]: *** [utils] Error 2
make[1]: Leaving directory/ming4/ming-0.3.0'
make: [all] Error 2