Hi all:
I'm trying to complile tex under DU 4.0D on an Alpha 600A/500. I'm
using the latest source from ftp.tug.org (texk-7.2). During the
compilation of pnglib, I get the following errors and compilation halts:
cc -DHAVE_CONFIG_H -I./zlib -I./../zlib -I../.. -I. -I. -I..
-I../../.. -g -c pngwutil.c
cc -DHAVE_CONFIG_H -I./zlib -I./../zlib -I../.. -I. -I. -I..
-I../../.. -g -c pngread.c
cc: Error: pngread.c, line 20: In this declaration, parameter 2 has a
different
type than specified in an earlier declaration of this function.
png_create_read_struct(png_const_charp user_png_ver, png_voidp
error_ptr,
^
cc: Error: pngread.c, line 20: In this declaration, the type of
"png_create_read
_struct" is not compatible with the type of a previous declaration of
"png_creat
e_read_struct" at line number 685 in file png.h.
png_create_read_struct(png_const_charp user_png_ver, png_voidp
error_ptr,
^
*** Exit 1
Stop.
*** Exit 1
Stop.
Any ideas? Anyone else had this problem?
Thanks in advance,
Cheers,
--Lee
Received on Fri Jun 05 1998 - 19:58:19 NZST