Short answer: this is a swig incompatibility. 

I don't know how this is happening. Did you rebuild Xerces.C and
Xerces.pm using your copy of swig? What was the output of 'perl
Makefile.PL'?

jas.

[EMAIL PROTECTED] writes:

> + bash-2.02$ make
> + gcc -c -I. -IHandler -I/usr/local/home/aravind/xerces-c1_4_0-SolCC/include -
> + D_REENTRANT -DDEBIAN -DHAS_BOOL -DSWIG_1_1 -O     -DVERSION=\"1.4.1\"  -
> + DXS_VERSION=\"1.4.1\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  
> + Xerces.C
> + Xerces.C:59: `swig_type_info' was not declared in this scope
> + Xerces.C:59: parse error before `)'
> + Xerces.C:60: ANSI C++ forbids declaration `SWIGRUNTIME' with no type
> + Xerces.C: In function `int SWIGRUNTIME(...)':
> + Xerces.C:60: type specifier omitted for parameter
> + Xerces.C:60: parse error before `*'
> + Xerces.C:61: ANSI C++ forbids declaration `SWIG_TypeCheck' with no type
> + Xerces.C: In function `int SWIG_TypeCheck(...)':
> + Xerces.C:61: confused by earlier errors, bailing out
> + *** Error code 1
> + make: Fatal error: Command failed for target `Xerces.o'
> + bash-2.02$

> + bash-2.02$ swig -version
> + 
> + SWIG Version 1.1 (Build 883)
> + Copyright (c) 1995-98
> + University of Utah and the Regents of the University of California
> + 
> + Compiled with c++

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to