Compile problems with Ghostscript 5.1

From: Jonathan Nicholson <jjn_at_sanger.ac.uk>
Date: Tue, 26 Jan 1999 17:51:39 +0000 (GMT)

I'm trying to compile ghostview, but I'm getting some problems - It
completely fails to build png library statically - not too much of a
problem - I can build it shared.

More of a problem is this error:-

cc -O -c -I/usr/local/X/include gdevx.c
cc: Error: gdevx.c, line 324: In this declaration, parameter 2 has a
different type than specified in an earlier declaration of this function.
x_map_rgb_color(register gx_device *dev,
^
cc: Error: gdevx.c, line 324: In this declaration, the type of
"x_map_rgb_color" is not compatible with the type of a previous
declaration of "x_map_rgb_color" at line number 66 in file gdevx.c.
x_map_rgb_color(register gx_device *dev,
^
cc: Error: gdevx.c, line 66: The function "x_map_rgb_color" has internal
linkage, occurs in a context that requires its definition, and has no
definition.
private dev_proc_map_rgb_color(x_map_rgb_color);


Which I simply cannot seem to fix!

Anyone compiled this software?

Regards,

Jonathan

 ----------------------------------------------------------------------------
= Jonathan Nicholson - System Administrator +44 1223 494987 (internal 4987) =
= The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA =
= Email: jjn_at_sanger.ac.uk (Work) (finger jjn_at_byron.sanger.ac.uk for PGP Key) =
 ----------------------------------------------------------------------------
Received on Tue Jan 26 1999 - 17:53:02 NZDT

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