[Top][All Lists]

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

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

From: Nick Clifton
Subject: Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)
Date: Tue, 26 Aug 2008 11:48:04 +0100
User-agent: Thunderbird (X11/20080723)

Hi Roger,

In archive outdir/debug/libxvtxmapi.a:
objdump: tapp.o: File format not recognized

address@hidden xvtxmapid.dir]$ objdump -p tapp.o tapp.o: file format elf32-i386

Oh dear. So it would appear that tapp.o is being corrupted when it is added to the libxvtmapi.a archive.

If you extract a copy from the archive is this version also unreconizable ? Is it the same size as the original version ? Do they compare the same ?

Here is the file xvtdsp55/linux_x86/src/ptk/CMakeFiles/xvtxmapi.dir/link.txt: /usr/bin/ar cr ../../lib/libxvtxmapi.a "CMakeFiles/xvtxmapi.dir/tapp.o"
> [...]
/usr/bin/ranlib ../../lib/libxvtxmapi.a

Quick question - if you intercept the libxvtmapi.a build process after the invocation of "ar" but before the invocation of "ranlib" is the version of tapp.o inside the archive unrecognizable ? Ie is the "ar" process or the "ranlib" process that is corrupting tapp.o ?

Which versions of "ar" and "ranlib" are you using ?


reply via email to

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