[gs-devel] [xefitra] ghostscript-8.64rc1 link failure on OSF/1 Alpha

Nelson H. F. Beebe beebe at math.utah.edu
Fri Feb 6 18:26:49 PST 2009


A build of ghostscript-8.64rc1 on DEC Alpha OSF/1 gets a link failure
that I've seen on multiple packages, both for this O/S, as well as on
GNU/Linux SPARC:

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations \
	-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing \
	-fno-builtin -fno-common -DGX_COLOR_INDEX_TYPE="unsigned long \
	int" -DUSE_LIBICONV_GNU -O2 -Wall -Wstrict-prototypes -Wundef \
	-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
	-Wno-strict-aliasing -fno-builtin -fno-common \
	-DGX_COLOR_INDEX_TYPE="unsigned long int" -DUSE_LIBICONV_GNU \
	-I./base -I./obj/ -Izlib ./base/mkromfs.c -o ./obj/mkromfs \
	./obj/compress.o ./obj/deflate.o ./obj/zutil.o ./obj/adler32.o \
	./obj/crc32.o ./obj/trees.o ./obj/gscdefs.o ./obj/gsmisc.o \
	./obj/gpmisc.o ./obj/gslibctx.o ./obj/gp_getnv.o \
	./obj/gp_unix.o ./obj/gp_unifs.o ./obj/gp_unifn.o \
	./obj/gp_stdia.o ./obj/gsutil.o -lm -lm -liconv -lstdc++
	ftello
	fseeko
	collect2: ld returned 1 exit status

A second build with the native compiler dies at compile time:

cc -std -DHAVE_MKSTEMP -DHAVE_HYPOT -O \
	-DGX_COLOR_INDEX_TYPE="unsigned long int" -ieee \
	-I/usr/local/include -DUSE_LIBICONV_GNU -I./obj/ \
	-Ijasper/src/libjasper/include -DJAS_CONFIGURE \
	-DEXCLUDE_BMP_SUPPORT=1 -DEXCLUDE_JPG_SUPPORT=1 \
	-DEXCLUDE_MIF_SUPPORT=1 -DEXCLUDE_PGX_SUPPORT=1 \
	-DEXCLUDE_PNM_SUPPORT=1 -DEXCLUDE_RAS_SUPPORT=1 \
	-DEXCLUDE_PNG_SUPPORT=1 -o ./obj/jas_cm.o -c \
	jasper/src/libjasper/base/jas_cm.c
	cc: Error: jasper/src/libjasper/base/jas_cm.c, line 748: In
	this statement,
	"JAS_ERR_UNEQUAL_PARMS_IN_JAS_CMPXFORMSEQ_APPENDCNVT" is not
	declared. (undeclared)
	jas_error(JAS_ERR_UNEQUAL_PARMS_IN_JAS_CMPXFORMSEQ_APPENDCNVT,
	------------------------^
	cc: Error: jasper/src/libjasper/base/jas_cm.c, line 1158: In
	this statement, "JAS_ERR_CLR_SPACE_UNKNOWN_IN_ICCTOCLRSPC" is
	not declared. (undeclared)
	jas_error(JAS_ERR_CLR_SPACE_UNKNOWN_IN_ICCTOCLRSPC,
	----------------------------------------^
	cc: Error: jasper/src/libjasper/base/jas_cm.c, line 1172: In
	this statement, "JAS_ERR_CLR_SPACE_UNKNOWN_IN_ICCTOCLRSPC" is
	not declared. (undeclared)
	jas_error(JAS_ERR_CLR_SPACE_UNKNOWN_IN_ICCTOCLRSPC,
	----------------------------------------^
	cc: Error: jasper/src/libjasper/base/jas_cm.c, line 1364: In
	this statement,
	"JAS_ERR_UNSUPPORTED_COLOR_SPACE_IN_JAS_CLRSPC_NUMCHANS" is
	not declared. (undeclared)
	jas_error(JAS_ERR_UNSUPPORTED_COLOR_SPACE_IN_JAS_CLRSPC_NUMCHANS,
	"JAS_ERR_UNSUPPORTED_COLOR_SPACE_IN_JAS_CLRSPC_NUMCHANS" );
	---------------------------^
	make: *** [obj/jas_cm.o] Error 1

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the gs-devel mailing list