bug-binutils
[Top][All Lists]
Advanced

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

question about "invalid string offset" & "could not read symbols: Malfor


From: Roger Moore
Subject: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors
Date: Mon, 18 Aug 2008 11:24:30 -0600 (MDT)

Hi,

Presently I am attempting to build an application on Linux with GNU ld 
version 2.17.50.0.6-5.el5 20061020.  When I execute make, it compiles but 
when it reaches the linker I receive the following error messages,

make[1]: Entering directory 
`/mnt/hgfs/pclinux/trunk/branches/testapp-xvt5.8update/testappwin'
make[1]: Warning: File `../outdir/debug/libtestappwin.a' has modification 
time 1.7e+03 s in the future
g++ -g ../outdir/debug/testappwin/testappwin.o -o 
../outdir/debug/testappwin.exe -L../outdir/debug -L../winport 
-L../outdir/debug/xvtlib -L/usr/X11R6/lib -L../license/lib/license -lflow 
-ltestappwin -lcompress -lgeom3d -ltape -ltiff -lfreetype -lwinport 
-lxispread -lpwr -lrw -lxvtxmapi -lxvtxmhb500 -lxvtxmba500 -lxvtxmhi500 
-lnxpro -lm -lGL -lGLU -lX11 -lXm -llicense -lpthread -lstdc++   
/usr/bin/ld: ../outdir/debug/libxvtxmapi.a(tapp.o): invalid string offset 
369098752 >= 0 for section `'
/usr/bin/ld: ../outdir/debug/libxvtxmapi.a(tapp.o): invalid string offset 
33554432 >= 0 for section `'
/usr/bin/ld: ../outdir/debug/libxvtxmapi.a(tapp.o): invalid string offset 
134217728 >= 0 for section `'
/usr/bin/ld: ../outdir/debug/libxvtxmapi.a(tapp.o): invalid string offset 
352321536 >= 0 for section `'
../outdir/debug/libxvtxmapi.a: could not read symbols: Malformed archive
collect2: ld returned 1 exit status
make[1]: *** [../outdir/debug/testappwin.exe] Error 1
make[1]: Leaving directory 
`/mnt/hgfs/pclinux/trunk/branches/testapp-xvt5.8update/testappwin'
make: *** [debug] Error 2
address@hidden testapp-xvt5.8update]$ 

Do you have any suggestions as to what may the cause of the problem?  
Please let me know if you want to see some of the source from tapp.c.

Any help at all would be greately appreciated.  Thank you for your time 
and I look forward to hearing from you.

Sincerely,

Roger






reply via email to

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