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]