Hi All, This is not a problem with compiler and LibXML2 version. AIX Linker assumes object files as 32 bit by default. If we want to compile it for 64 bit, we need to set OBJECT_MODE Environment variable as 64 or 32_64. That resolves the problem.
I used "export OBJECT_MODE=32_64" and then ran gmake again and it is succeeded. Thank you, Shiva On 29 May 2013 04:10, Eric S. Eberhard <e...@vicsmba.com> wrote: > ** > Although I am running a slightly older version I do use the xlc (IBM) > compiler. This has been in the past the default -- meaning don't pass CC= > at all -- just let it default. It could be that since I do not have gcc > installed this is the case, and if you have both you might need it, I don't > know. I literally run it as such: > > ./configure > > and call it done. > > E > > On 5/28/2013 3:06 PM, Andrew W. Nosenko wrote: > > On Tue, May 28, 2013 at 4:29 PM, shivaramakrishna > chakravarthula<shivaramakrishna...@gmail.com> <shivaramakrishna...@gmail.com> > wrote: > > > Hi All, > > I am unable to Compile Libxml2-2.9.1 Source on AIX(6.1) 64 bit machine using > xlC_r compiler. > > Steps: > 1. download tar.gz file, then unzip and extract Source. > 2. cd to the source directory, and apply +x on configure and install-sh > 3. Run Conifigure as below: > > ./configure --prefix=/LIBXML2 --bindir=/LIBXML2/bin --libdir=/LIBXML2/lib > --includedir=/LIBXML2/include --datarootdir=/LIBXML2/share CC=xlC_r > CFLAGS=-q64 > > 4. Run make. > It continues for some time and then stops at libxml2.la as below: > > CCLD libxml2.la > 0654-210 .libs/SAX.o is not valid in the current object file mode. > Use the -X option to specify the desired object mode. > . > . > . > ld: 0711-244 ERROR: No csects or exported symbols have been saved. > make[2]: *** [libxml2.la] Error 8 > make[2]: Leaving directory `/libxml2-2.9.1' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/libxml2-2.9.1' > make: *** [all] Error 2 > > > Please help me about what other options need to be set for AIX 64 bit. > > > > IIRC, xlC_r is a C++ compiler. > Can you try C comiler instead (xlc_r)? > > > > > -- > Eric S. Eberhard > VICS > 2933 W Middle Verde Road > Camp Verde, AZ 86322 > > 928-567-3727 work 928-301-7537 cell > http://www.vicsmba.com/index.html (our > work)http://www.vicsmba.com/ourpics/index.html (fun pictures) > >
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml