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
5. slackware elf-beta wont boot unable to load shared library libc.so.5
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?