> -----Original Message-----
> From: Alexander Mai [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 9:41 AM
> To: [EMAIL PROTECTED]
> Cc: Dhanapalan, Kumar
> Subject: Re: Building Xbae libraries on HP10.20
> 
> 
> On Tue, 1 May 2001 09:27:28 -0400, Dhanapalan, Kumar wrote:
> 
> >I ran configure and ran make on a HP 10.20 I get this error. 
> Is there any
> >other CFLAGS I am missing ,  I even tried adding the following flags
> >  "-D_HPUX_SOURCE -D_HPUX -D_POSIX_SOURCE"
> >it did not work. How do I fix this error.
> >make
> >        /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> >-I../include -I./../include        -I../include
> >-I../../../include/Motif-2.1        -I../../../include/Motif-1.2
> >-I../../../include/Motif-2.1    -I../../../include/Motif-1.2
> >-I/usr/openwin/include    -g -c Actions.c
> >cc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I../include
> >-I../../../include/Motif-2.1 -I../../../include/Motif-1.2
> >-I../../../include/Motif-2.1 -I../../../include/Motif-1.2
> >-I/usr/openwin/include -g -c Actions.c  +Z -DPIC -o Actions.lo
> >cc: "Xbae/Matrix.h", line 47: warning 5: "const" will become 
> a keyword.
> >cc: "Xbae/Matrix.h", line 47: error 1000: Unexpected symbol: "char".
> >cc: "Xbae/Matrix.h", line 49: warning 5: "const" will become 
> a keyword.
> >cc: "Xbae/Matrix.h", line 49: error 1000: Unexpected symbol: "char".
> >cc: "Xbae/Matrix.h", line 586: error 1000: Unexpected symbol: "int".
> >cc: "Xbae/Matrix.h", line 586: error 1000: Unexpected 
> symbol: "String".
> >cc: "Xbae/Matrix.h", line 588: error 1000: Unexpected 
> symbol: "Pixel".
> >cc: "Xbae/Matrix.h", line 589: error 1000: Unexpected symbol: "int".
> >cc: "Xbae/Matrix.h", line 589: error 1000: Unexpected 
> symbol: "String".
> >cc: "Xbae/Matrix.h", line 590: error 1000: Unexpected 
> symbol: "Pixel".
> >cc: "Xbae/Matrix.h", line 593: error 1000: Unexpected symbol: "int".
> >cc: error 2017: Cannot recover from earlier errors, terminating.
> >*** Error exit code 1
> >
> >The second question is how do I build static Xbae libraries.
> >
> >Thanks
> >Kumar Dhanapalan
> >
> 
> Hmm, what package exactly do you try to build, an Xbae source archive?
> From my point of view it's more likely that a flag turning on 
> ANSI-compatible
> mode of cc is missing than some of those famous #defines.
> OTOH configure should dig out those patches?!
> 
> 
> ---
> Alexander Mai
> [EMAIL PROTECTED]
> 
> 
I am trying to build the Xbae-4.9.0 library on HP10.20 system. I ran
configure and then I ran make and I am getting the above errors.

But I was able to build the library successfully on the other
system...HP11.00, Irix6.5, Sun Solaris 2.6 and 2.7

Would you please help me with the following:

1) How do I manually turn on the ANSI compatiable mode of cc, so that I can
build this library on a HP10.20 system.

2) Where do I set $enable_static to build static libraries.

Thanks
Kumar Dhanapalan

Reply via email to