help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation Error on AIX 5.3 with g++ 3.3.2


From: nu2007
Subject: Compilation Error on AIX 5.3 with g++ 3.3.2
Date: 1 Mar 2007 10:15:19 -0800
User-agent: G2/1.0

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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]