[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem while building GNU Ghostscript 6.51
From: |
Stefan Bach |
Subject: |
Problem while building GNU Ghostscript 6.51 |
Date: |
Thu, 30 Aug 2001 11:57:40 +0200 |
Hi,
I downloaded ghostscript-6.51.tar.gz an also the jpeg, libpng and zlib
archives. Now I unpacked everything, put it in the ghostscript-6.51
directory and made a symlink to src/unix-gcc.mak called makefile.
When I type make the compiling begins but then I get the follwoing error:
==========================================================================
gcc `cat ./obj/cc.tr` -O2 -Wall -Wstrict-prototypes
-Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin
-fno-common -I./src -I./obj -I./obj -I./src -o ./obj/zdevcal.o -c
./src/zdevcal.c
In file included from src/std.h:26,
from src/time_.h:27,
from ./src/zdevcal.c:22:
src/stdpre.h:126:4: warning: suggest hiding #pragma from traditional C
with an indented #
./src/zdevcal.c: In function `calendar_get_params':
./src/zdevcal.c:48: storage size of `ltime' isn't known
./src/zdevcal.c:50: dereferencing pointer to incomplete type
./src/zdevcal.c:50: initializer element is not constant
./src/zdevcal.c:50: (near initialization for `items[0].offset')
./src/zdevcal.c:51: dereferencing pointer to incomplete type
./src/zdevcal.c:51: initializer element is not constant
./src/zdevcal.c:51: (near initialization for `items[1].offset')
./src/zdevcal.c:52: dereferencing pointer to incomplete type
./src/zdevcal.c:52: initializer element is not constant
./src/zdevcal.c:52: (near initialization for `items[2].offset')
./src/zdevcal.c:53: dereferencing pointer to incomplete type
./src/zdevcal.c:53: initializer element is not constant
./src/zdevcal.c:53: (near initialization for `items[3].offset')
./src/zdevcal.c:54: dereferencing pointer to incomplete type
./src/zdevcal.c:54: initializer element is not constant
./src/zdevcal.c:54: (near initialization for `items[4].offset')
./src/zdevcal.c:55: dereferencing pointer to incomplete type
./src/zdevcal.c:55: initializer element is not constant
./src/zdevcal.c:55: (near initialization for `items[5].offset')
./src/zdevcal.c:56: dereferencing pointer to incomplete type
./src/zdevcal.c:56: initializer element is not constant
./src/zdevcal.c:56: (near initialization for `items[6].offset')
./src/zdevcal.c:61: warning: implicit declaration of function `time'
./src/zdevcal.c:61: warning: implicit declaration of function `localtime'
./src/zdevcal.c:61: warning: assignment makes pointer from integer without
a cast
./src/zdevcal.c:66: dereferencing pointer to incomplete type
./src/zdevcal.c:48: warning: unused variable `ltime'
make: *** [obj/zdevcal.o] Fehler 1
address@hidden ghostscript-6.51]#
==========================================================================
How can I solve this and compile Ghostscript correctly?
TIA,
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem while building GNU Ghostscript 6.51,
Stefan Bach <=