Compiling tex on DU 4.0D

From: R. Lee Hawkins <lhawkins_at_annie.wellesley.edu>
Date: Fri, 05 Jun 1998 13:57:08 -0400

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT