[Gimp-developer] Re: [Gimp-print-devel] Gimp-Print 4.1.99-b2 and ghostscript-stp in 6.51 don't compile for me...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you, Richard, 

now it worked.

Richard Wisenöcker wrote:
> 
> There seems to be an incompatibility with the include file time_.h of ghostscript
> and time.h of gcc. So it is not a problem of gimp.
> I replaced "#include<time_.h>" with "#include<time.h>" at the sources of GS. This is
> not a finally solution, it only solves the problem in a quik way.
> 
> The problem is, that gcc can not calculate the storage size of `ltime'. At the
> definition of ltime in time.h his is able to do.
> 
> Richard
> 
> Kurt Pfeifle wrote:
> 
> > Hello, all,
> >
> > I am no programmer and need help to test this. It didn't compile.
> >
> > Robert L Krawitz wrote:
> > >
> > > This is gimp-print version 4.1.99b2, the second beta release leading
> > > up to the 4.2 stable release.  This release is not 4.2.
> > >
> > > This software includes the Print plug-in for the Gimp, and GhostScript
> > > and CUPS drivers.  The support for printers in GhostScript and CUPS is
> > > identical to the support for these printers in the Print plugin --
> > > they use the identical code base.  Please read src/ghost/README
> >
> > [...]
> >
> > I did this and tried both methods (after doing a "make clean" in between),
> > the new (recommended) and the old (tried and tested) one. I get the same
> > error messages with both methods when compiling ghostscript 6.51 with
> > gimp-print 4.1.99-b2:
> >
> > `cat ./obj/cc.tr`  -O2 -Wall -Wstrict-prototypes -Wmissing-declarations \
> >     -Wmissing-prototypes -Wtraditional -fno-builtin -fno-common  -I./sr \
> >     -I./obj -I./obj -I./src  -o ./obj/zdevcal.o -c ./src/zdevcal.c
> > ./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] Error 1
> >
> > I don't kmow how to solve this. Could you help, please?
> >
> > Thanks,
> > Kurt
> >
> > P.S.: My configure parameters with gimp-print were:
> >       ./configure --with-cups --with-ghost --with-foomatic --with-gimp \
> >                   --with-samples --enable-escputil --enable-libgimpprint \
> >                   --with-testpattern --enable-test --with-catgets


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux