You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by "Thomas, Paul (GF-X)" <pa...@gf-x.com> on 2006/03/06 14:02:22 UTC

Library Compilation error with Xalan 1.10 on AIX 64bit

Hi,

I am currently attempting to compile both the new versions of Xerces 2.7
and Xalan 1.10 on my 64bit AIX environment. At this moment in time, the
Xerces compilation was successful, however the Xalan compilation fails
at the point of generating the "libxalan-c110.0.a" library.

The error which is reported is as follows:

makeC++SharedLib_r -p 512   -X64    -lm  -lpthreads  -L/usr/lib
-L/home/pthomas/xerces-c-src_2_7_0/lib -lxerces-c27 -L../../lib
-lxalanMsg <ALL .o files within ../../obj directory> -o
../../lib/libxalan-c110.0.a

gmake[1]: execvp: makeC++SharedLib_r: Arg list too long
gmake[1]: *** [../../lib/libxalan-c110.0.a] Error 127
gmake[1]: Leaving directory `/home/pthomas/xml-xalan/c/src/xalanc'
gmake: *** [all] Error 2

My configuration used for the generation of all makefiles was as
follows:

./runConfigure -p aix -c xlc -x xlC -b 64 -P <my installation directory>

Any help would be appreciated into how I can solve this error and
finalise my Xalan Build.

Thanks.

Regards,

Paul Thomas.

Re: Library Compilation error with Xalan 1.10 on AIX 64bit

Posted by David Bertoni <db...@apache.org>.
Thomas, Paul (GF-X) wrote:
> Hi,
> 
> I am currently attempting to compile both the new versions of Xerces 2.7
> and Xalan 1.10 on my 64bit AIX environment. At this moment in time, the
> Xerces compilation was successful, however the Xalan compilation fails
> at the point of generating the "libxalan-c110.0.a" library.
> 
> The error which is reported is as follows:
> 
> makeC++SharedLib_r -p 512   -X64    -lm  -lpthreads  -L/usr/lib
> -L/home/pthomas/xerces-c-src_2_7_0/lib -lxerces-c27 -L../../lib
> -lxalanMsg <ALL .o files within ../../obj directory> -o
> ../../lib/libxalan-c110.0.a
> 
> gmake[1]: execvp: makeC++SharedLib_r: Arg list too long
> gmake[1]: *** [../../lib/libxalan-c110.0.a] Error 127
> gmake[1]: Leaving directory `/home/pthomas/xml-xalan/c/src/xalanc'
> gmake: *** [all] Error 2
> 

Unfortunately, this is an OS limitation, so there's not much you can do 
to fix it.  I haven't seen an error like this for a very long time. 
What version of AIX are you running?

Dave