unable to process using elf library

unable to process using elf library

Post by David McLaughli » Fri, 20 Oct 1995 04:00:00



I noticed a similar error I'm getting:
ld: elf error: file /home/dpm/SunOS/5.4/lib/libstdc++.a: unable to locate
archive symbol table: Request error: offset out of range
I though it did this because I did a 'strip' on the library, but I'm
not sure.
sorry,
David McLaughlin
--
Web: http://bert.cs.byu.edu/~dpm/homepage.html
 
 
 

1. Ld: fatal: file /path/libXt.a: unknown type, unable to process using elf libraries

Hi experts,

I`m trying to recompile my programs that were compiled and were
executing successfuly with gcc 2.6.2 and SunOS 4.x.x, and found the
following errors while linking.

cc -O -s -D_NO_PROTO -I. -I/path/X11R5/include hello.c -lXm -lXt -lX11 -o hello -L/ca/diamond/X11R5/lib -lm -lXm -lXt -lX11
ld: fatal: file /path/X11R5/lib/libXm.a: unknown type, unable to process using elf(3E) libraries
ld: fatal: file /path/X11R5/lib/libXt.a: unknown type, unable to process using elf(3E) libraries
ld: fatal: file /X11R5/lib/libX11.a: unknown type, unable to process using elf(3E) libraries
ld: fatal: File processing errors.  No output written to hello
*** Error code 1
make: Fatal error: Command failed for target `hello'

Am I missing something on my part or installation part?
I read that the new format is elf and differs from a.out format of
SunOS 4.x.x.    But I don't know how to get around this.

Any help in this direction is highly appreciated.

Thanks, Kishan
--
 -------------------------------------------------------------

 Cubicle 110,                      |  Ph.:(601) 325 5109

 --------------------------------------------------------------
             http://www.erc.msstate.edu/~kishan
 --------------------------------------------------------------

2. Frontend or GUI for sendmail - does it exist ?

3. PROC unable to process using elf(3) libraries

4. PPP dial-in/dial-out

5. slackware elf-beta wont boot unable to load shared library libc.so.5

6. Diskless Linux

7. SVR4 ELF access library question... (ELF-specific)

8. ??Linux on a Gateway G6-200??

9. Can ELF programs load non-ELF libraries?

10. Using 'ld' to build an ELF SHARED LIBRARY

11. Using gdb with Linux Elf shared object libraries

12. Warning: unable to tag process, Warning: unable to lock ....

13. How can I discover which shared libraries a process is using?