[GRASS5] compilation HP-UX
Eric G. Miller
egm2 at jps.net
Wed May 30 22:12:16 EDT 2001
On Wed, May 30, 2001 at 06:35:06PM -0400, Robert Lagacé wrote:
>
> I cimpiled succesfully GRASS on HP-UX except a few modules that I will
> talk about later on.
[snip]
> - d.area with the following message
>
> >>>>
> gcc -g -O2 -I/opt/libpng/include -I/local/grass5.0.0pre1/src/include
> -c plot.c -o OBJ.hppa1.1-hp-hpux10.20/plot.o
> In file included from plot.c:18:
> screenpoly.h:39: warning: redefinition of `uint8_t'
> /usr/include/sys/_inttypes.h:62: warning: `uint8_t' previously declared here
> screenpoly.h:42: conflicting types for `uint32_t'
> /usr/include/sys/_inttypes.h:66: previous declaration of `uint32_t'
> *** Erreur - code de sortie 1
Dang, I tried to guard for that. "screenpoly.h" is the last include for
plot.c and has...
#if !defined(uint8_t)
typedef unsigned char uint8_t;
#endif
#if !defined(uint32_t)
typedef unsigned long uint32_t;
#endif
But maybe those aren't working? d.area is fairly broken anyway -- Anyone else
want to take a crack at it?
--
Eric G. Miller <egm2 at jps.net>
More information about the grass-dev
mailing list