Makefile problem
Simon, Christine
CSimon@gic-global.com
Wed Jul 3 05:22:00 GMT 2002
Hello,
I'm trying to compile the XML-Xalan samples pograms using the G++ compiler. Compiling goes ok but the linker gives an error. i'm using AIX on Unix. The libxalan-c1_3.a was downloaded for AIX from the Apache.org.
Following the messages the Makefile returns:
Preparing the directory structure for a build ...
mkdir -p ../obj
mkdir -p /proj/mediatrend/gde1125/xml-xalan/c/lib
mkdir -p /proj/mediatrend/gde1125/xml-xalan/c/bin
g++ -DAIX -fPIC \
-L/proj/mediatrend/gde1125/xml-xalan/c/lib -lxalan-c1_3 -L/usr/lib -L/usr/local/lib -lc -L/proj/mediatrend/gde1125/xerces-c-src1_7_0/lib
-lxerces-c1_7_0 -O2 -DNDEBUG ../obj/SimpleTransform.o -o /proj/mediatrend/gde1125/xml-xalan/c/bin/SimpleTransform
ld: 0711-441 SEVERE ERROR: Shared object /proj/mediatrend/gde1125/xml-xalan/c/lib/libxalan-c1_3.a
The s_scnptr or s_size field is invalid in the .loader section header.
The object is being ignored.
collect2: ld returned 12 exit status
make: *** [/proj/mediatrend/gde1125/xml-xalan/c/bin/SimpleTransform] Error 1
Does anybody know what could be the reason (another link parameter??)
Hope for fast help.
Best regards
Christine
More information about the Gcc-help
mailing list