changed makefiles to have the following CCFLAGS:
Makefile:CCFLAGS = -D_REENTRANT -DHAS_BOOL
Handler/Makefile:CCFLAGS = -D_HPUX_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64
-I/usr/local/include -DHAS_BOOL
and got the attached output when trying to `make >>out 2>>out` (i THINK
that should show you my output right)...
thanks,
kent
On 11 Oct 2001, Jason E. Stewart wrote:
> "Kent Johnson" <[EMAIL PROTECTED]> writes:
>
> > > That mess that you got could be due to something simple like 'bool'
> > > getting redefined, so you may want to add in -DHAS_BOOL to the compile
> > > line and see if that changes anything.
> >
> > I am retrying with gcc 3.01. Just where do I put the -D line? I'm not
> > too familiar with makefiles.
>
> One of those things that happens with time...
>
> You have two choices:
>
> 1) run 'make' again and after it's done bombing, cut and past the
> 'gcc -c ...' line and paste in -DHAS_BOOL after one of the other -D
> flags
>
> 2) edit your Makefile and Handler/Makefile add -DHAS_BOOL to CCFLAGS
>
> for example change:
>
> CCFLAGS = -D_REENTRANT -D$(SWIG_VERSION) -DDEBIAN
>
> to:
>
> CCFLAGS = -D_REENTRANT -D$(SWIG_VERSION) -DDEBIAN -DHAS_BOOL
>
> jas.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
mkdir blib
mkdir blib/lib
mkdir blib/lib/XML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/XML
mkdir blib/arch/auto/XML/Xerces
mkdir blib/lib/auto
mkdir blib/lib/auto/XML
mkdir blib/lib/auto/XML/Xerces
mkdir blib/man3
cp DOMParse/DOMParse.pm blib/lib/XML/Xerces/DOMParse.pm
cp Xerces.pm blib/lib/XML/Xerces.pm
make -C Handler static
make[1]: Entering directory `/opt/xerces-p-1.5.7/Handler'
gcc -c -I. -IHandler -I/opt/xerces-c/include -D_HPUX_SOURCE -I/usr/local/include
-D_FILE_OFFSET_BITS=64 -I/usr/local/include -DHAS_BOOL -O -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic -I/usr/local/lib/perl5/5.00503/PA-RISC1.1/CORE
PerlContentCallbackHandler.cpp
In file included from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdlib.h:18,
from PerlContentCallbackHandler.cpp:1:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/sys/types.h:90: syntax
error before `;' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/sys/types.h:111: syntax
error before `;' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/sys/types.h:133: syntax
error before `;' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/sys/types.h:155: syntax
error before `;' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/sys/types.h:177: syntax
error before `;' token
In file included from /usr/include/sys/resource.h:59,
from /usr/include/sys/wait.h:91,
from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdlib.h:265,
from PerlContentCallbackHandler.cpp:1:
/usr/include/sys/_rlimit_body.h:44: 'rlim_t' is used as a type, but is not
defined as a type.
/usr/include/sys/_rlimit_body.h:45: 'rlim_t' is used as a type, but is not
defined as a type.
In file included from /usr/include/pwd.h:117,
from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdlib.h:361,
from PerlContentCallbackHandler.cpp:1:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:218: type
specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:218: parse
error before `*' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:219: parse
error before `*' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:608: syntax
error before `(' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:613: type
specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:614: type
specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:614: parse
error before `*' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:615: parse
error before `*' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:633: type
specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:633: parse
error before `*' token
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h: In function
`int fgetpos(...)':
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:634: `__a'
undeclared (first use this function)
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:634: (Each
undeclared identifier is reported only once for each function it appears
in.)
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:634: `__b'
undeclared (first use this function)
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h: At global
scope:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:635: parse
error before `*' token
In file included from /usr/include/sys/stat.h:37,
from /usr/local/lib/perl5/5.00503/PA-RISC1.1/CORE/perl.h:537,
from PerlContentCallbackHandler.hpp:9,
from PerlContentCallbackHandler.cpp:2:
/usr/include/sys/_stat_body.h:52: 'off_t' is used as a type, but is not defined
as a type.
/usr/include/sys/_stat_body.h:60: 'blkcnt_t' is used as a type, but is not
defined as a type.
make[1]: *** [PerlContentCallbackHandler.o] Error 1
make[1]: Leaving directory `/opt/xerces-p-1.5.7/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]