* error compiling AlladinGhostscript 5.10, for AXP DU4.0
@ 1997-12-01 5:00 Eros Albertazzi
1997-12-03 5:00 ` Valentin Nakov
1997-12-03 5:00 ` Kurt Pintoffl
0 siblings, 2 replies; 3+ messages in thread
From: Eros Albertazzi @ 1997-12-01 5:00 UTC (permalink / raw)
While compiling Aladdin Ghostscript, or more precisly libpng (0.96),on an Digital
Alpha system running DU 4.0 I got
cc -O -c -Ilibpng -Izlib -DPNG_USE_CONST libpng/pngwutil.c
cc: Error: libpng/pngwutil.c, line 26: In this declaration, the type of "png_save_uint_16" is not compatible with the type of a previous declaration of "png_save_uint_16" at line number 928 in file libpng/png.h.
png_save_uint_16(png_bytep buf, png_uint_16 i)
^
cc: Error: libpng/pngwutil.c, line 47: In this declaration, the type of "png_write_uint_16" is not compatible with the type of a previous declaration of "png_write_uint_16" at line number 934 in file libpng/png.h.
png_write_uint_16(png_structp png_ptr, png_uint_16 i)
^
Any clue on what I should have done?
Thanks.
--
Eros Albertazzi
CNR-LAMEL, Via P.Gobetti 101, 40129 Bologna, Italy
Tel: +39 - 51 - 639 9152
Fax: +39 - 51 - 639 9216
E-mail: eros@lamel.bo.cnr.it
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error compiling AlladinGhostscript 5.10, for AXP DU4.0
1997-12-01 5:00 error compiling AlladinGhostscript 5.10, for AXP DU4.0 Eros Albertazzi
@ 1997-12-03 5:00 ` Valentin Nakov
1997-12-03 5:00 ` Kurt Pintoffl
1 sibling, 0 replies; 3+ messages in thread
From: Valentin Nakov @ 1997-12-03 5:00 UTC (permalink / raw)
Eros Albertazzi wrote:
> While compiling Aladdin Ghostscript, or more precisly libpng (0.96),on an Digital
> Alpha system running DU 4.0 I got
>
> cc -O -c -Ilibpng -Izlib -DPNG_USE_CONST libpng/pngwutil.c
> cc: Error: libpng/pngwutil.c, line 26: In this declaration, the type of "png_save_uint_16" is not compatible with the type of a previous declaration of "png_save_uint_16" at line number 928 in file libpng/png.h.
> png_save_uint_16(png_bytep buf, png_uint_16 i)
> ^
> cc: Error: libpng/pngwutil.c, line 47: In this declaration, the type of "png_write_uint_16" is not compatible with the type of a previous declaration of "png_write_uint_16" at line number 934 in file libpng/png.h.
> png_write_uint_16(png_structp png_ptr, png_uint_16 i)
> ^
>
> Any clue on what I should have done?
No clues, but I can confirm it too -> same error -> no succces
Furter hints?
Thanks
VN
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error compiling AlladinGhostscript 5.10, for AXP DU4.0
1997-12-01 5:00 error compiling AlladinGhostscript 5.10, for AXP DU4.0 Eros Albertazzi
1997-12-03 5:00 ` Valentin Nakov
@ 1997-12-03 5:00 ` Kurt Pintoffl
1 sibling, 0 replies; 3+ messages in thread
From: Kurt Pintoffl @ 1997-12-03 5:00 UTC (permalink / raw)
In article <65uo4d$572@sirio.cineca.it> eros@ala2.lamel.bo.cnr.it (Eros Albertazzi) writes:
>From: eros@ala2.lamel.bo.cnr.it (Eros Albertazzi)
>Subject: error compiling AlladinGhostscript 5.10, for AXP DU4.0
>Date: 1 Dec 1997 16:20:29 GMT
>While compiling Aladdin Ghostscript, or more precisly libpng (0.96),on an Digital
>Alpha system running DU 4.0 I got
>cc -O -c -Ilibpng -Izlib -DPNG_USE_CONST libpng/pngwutil.c
>cc: Error: libpng/pngwutil.c, line 26: In this declaration, the type of "png_save_uint_16" is not compatible with the type of a previous declaration of "png_save_uint_16" at line number 928 in file libpng/png.h.
>png_save_uint_16(png_bytep buf, png_uint_16 i)
>^
>cc: Error: libpng/pngwutil.c, line 47: In this declaration, the type of "png_write_uint_16" is not compatible with the type of a previous declaration of "png_write_uint_16" at line number 934 in file libpng/png.h.
>png_write_uint_16(png_structp png_ptr, png_uint_16 i)
>^
>Any clue on what I should have done?
>Thanks.
>--
>Eros Albertazzi
>CNR-LAMEL, Via P.Gobetti 101, 40129 Bologna, Italy
>Tel: +39 - 51 - 639 9152
>Fax: +39 - 51 - 639 9216
>E-mail: eros@lamel.bo.cnr.it
Yes, I had the same problem on DU 3.2x:
It has to do with the 64-bit structure of DEC Alpha.
In pngconf.h change the type of png_uint_16 from short
to int.
I did this (according to a note I found somewhere) and it worked.
Hope it helps you also!
greetings
K. Pintoffl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-12-03 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-01 5:00 error compiling AlladinGhostscript 5.10, for AXP DU4.0 Eros Albertazzi
1997-12-03 5:00 ` Valentin Nakov
1997-12-03 5:00 ` Kurt Pintoffl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox