From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072815875.tru64-unix-managers.marc@archive.invalid> From: "Dirk.Nerling" Date: Fri, 03 Sep 1999 09:23:24 +0000 To: tru64-unix-managers Subject: can't compile gd-1.6.3 - need your help X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072815875 Hello, to get the MRTG (traffic reporter) working I have to install GD-1.6.3 (http://www.boutell.com/gd/) at my DUX 4.0b alpha. Unfortunately I get compile erros. ./configure worked fine: blinky.pdv.de# ./configure loading cache ./config.cache checking host system type... alpha-dec-osf4.0d checking target system type... alpha-dec-osf4.0d checking build system type... alpha-dec-osf4.0d checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) no checking whether cc accepts -g... (cached) yes checking for POSIXized ISC... no checking for ranlib... (cached) ranlib checking for non-GNU ld... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking whether we are using GNU C... no checking for object suffix... o checking for executable suffix... (cached) no checking for cc option to produce PIC... none checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc static flag -non_shared works... -non_shared checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... osf4.0d ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for main in -lm... (cached) yes checking for main in -lz... (cached) yes checking for main in -lpng... (cached) yes checking for main in -lttf... (cached) no configure: warning: libgd will be built without support for TrueType fonts. updating cache ./config.cache creating ./config.status creating Makefile but make run into the following errors: blinky.pdv.de# make /bin/sh ./libtool --mode=compile cc -DPACKAGE=\"gd\" -DVERSION=\"1.6.3\" -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -I. -I. -I/usr/local/include -g -c gd.c rm -f .libs/gd.lo cc -DPACKAGE=\"gd\" -DVERSION=\"1.6.3\" -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -I. -I. -I/usr/local/include -g -c -DPIC gd.c -o .libs/gd.lo cc: Error: gd.c, line 9: The static declaration of "cost" is a tentative definition and specifies an incomplete type. static int cost[]; -----------^ cc: Error: gd.c, line 11: The static declaration of "sint" is a tentative definition and specifies an incomplete type. static int sint[]; -----------^ *** Exit 1 Stop. Does anybody of you compiled the package succesfull or has an idea??? best regards Dirk -- Milky Way - Sol System - Earth - Europe - Germany - Thuringia - Erfurt http://wall.pdv.de/~nerle