> > > > When compiling Xerces.C i get the following error:
> > > > 
> > > > Xerces.C: In function `void _wrap_new_MemBufInputSource(struct CV *)':
> > > > Xerces.C:54400: passing `unsigned int *' as argument 2 of
> > > > `Perl_sv_2pv(SV *, STRLEN *)'
> > > > 
> > > > The same stuff compiles without problems on an Intel-based machine,
> > > > any clues on what can be wrong?
> > > 
> > > I have seen the same thing when building on AIX.  Just hack the Xerces.C 
> > > sources to declare the variable in question as STRLEN *.  Ugly, but it 
> > > works for me (tm).
> > 
> > Tried different approaches and no matter what, it still end up with an
> > error (but the strange stuff is that i had it working, maybe with
> > v1.5.1)
> 
> Hmm.  If you change the function to:
> 
> 
> XS(_wrap_new_MemBufInputSource) {
>     XMLByte *arg1 ;
> 
> -    unsigned int arg2 ;
> +    STRLEN arg2 ;
> 
>     char *arg3 ;
>     bool arg4 = false ;
>     int argvi = 0;
>     MemBufInputSource *result ;
>     dXSARGS;
> 
> it still complains??

Not at that stage, but the linker gives me this:

/usr/bin/ld: Xerces.o: .got subsegment exceeds 64K (size 81856)
/usr/bin/ld: failed to set dynamic section sizes: File format not recognized
collect2: ld returned 1 exit status


 


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

Reply via email to