This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation Error on AIX 5.3 with g++ 3.3.2
- From: "n u" <nu2007 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 1 Mar 2007 23:35:01 +0530
- Subject: Re: Compilation Error on AIX 5.3 with g++ 3.3.2
- References: <fb7f95fd0703011000u43760239jed51296a4376b563@mail.gmail.com>
Hi,
i have a simple makefile which looks like this:
CArchive: CFileRw.o CArchive.o CMain.o
g++ -o CArchive CFileRw.o CArchive.o CMain.o 3rdparty_1.a
CFileRw.o: CFileRw.cxx HCommon.h
g++ -c CFileRw.cxx
CArchive.o: CArchive.cxx HCommon.h
g++ -c CArchive.cxx
CMain.o: CMain.cxx HCommon.h
g++ -c CMain.cxx
clean:
rm CArchive CFileRw.o CArchive.o CMain.o
When i try complining this on AIX 5.3 with g++ 3.3.2. It gives the
below mentioned error
g++ -o CArchive CFileRw.o CArchive.o CMain.o 3rdparty_1.a
ld: 0711-447 SEVERE ERROR: Shared object 3rdparty_1.a
The .loader section has been truncated. The object is being ignored.
collect2: ld returned 12 exit status
make: 1254-004 The error code from the last command is 1.
If somone can point out as to whats going wrong here, that would be nice.
thanks,