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,

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to