question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors

2008-08-19 Thread Roger Moore
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.8up

Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-08-21 Thread Roger Moore
+0100 From: Nick Clifton <[EMAIL PROTECTED]> To: Roger Moore <[EMAIL PROTECTED]> Subject: Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors Hi Roger, > g++ -g ../outdir/debug/testappwin/testappwin.o -o [...

Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-08-22 Thread Roger Moore
Hi Nick, On Fri, 22 Aug 2008, Nick Clifton wrote: > Hi Roger, > > > We built the libxvtmapi.a ourselves. Yes, I've tried deleting it and > > rebuilding but I still get the file format not recognized error message. > > > > The build procedure seems to work fine otherwise, though there are

Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-08-26 Thread Roger Moore
Hi Nick, On Tue, 26 Aug 2008, Nick Clifton wrote: > >>> In archive outdir/debug/libxvtxmapi.a: > >>> objdump: tapp.o: File format not recognized > > > [EMAIL PROTECTED] xvtxmapid.dir]$ objdump -p tapp.o > > tapp.o: file format elf32-i386 > > > Oh dear. So it would appear that tapp.o is b

Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-08-28 Thread Roger Moore
Hi Nick, On Wed, 27 Aug 2008, Nick Clifton wrote: > > Do you have any other ways I could extract tapp.o besides using ar? > > Nope, sorry. > > > Please find libxvtxmapi.a and tapp.o > > Well that libxvtxmapi.a is definitely corrupt, and he tapp.o file is OK. > > > If I take ranlib out of t

Re: ***UNCHECKED*** Re: ***UNCHECKED*** Re: question about "invalid string offset" & "could not read symbols: Malformed archive" linker errors (fwd)

2008-09-12 Thread Roger Moore
Hi Nick, I think I was having some problems before with the libxvtmapi.a file because I was mixing some of the XVT 5.50 code with the XVT 5.80 code. Please find on my web-site the complete archive with all source and object files, http://www.ece.ualberta.ca/~rmoore/linux.xvt5.8update.12.sept.2