I am using gcc-2.7.2 on a sparc/solaris2.5 and often got the message
ld: elf error: file ...
How can I deal with this error ? seems to be from the differnt
objects gcc and solaris are using. How to get rid of it ?
Thanks,
zhao
ld: elf error: file ...
How can I deal with this error ? seems to be from the differnt
objects gcc and solaris are using. How to get rid of it ?
Thanks,
zhao
You get rid of it by properly installing gcc and not attemptingQuote:>How can I deal with this error ? seems to be from the differnt
>objects gcc and solaris are using. How to get rid of it ?
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
1. in solaris 2.5, which "ld" works with gcc better ?
The native ld is /usr/ccs/binld]]/ld
/usr/ucb/ld is just a warpper scripts that calls native ld
in denatified way. Gcc will pick the rigth one by default.
(But you may need to make sure /usr/ccs/bin is in your PATH before
/usr/ucb in any case)
Casper
--
Casper Dik - Sun Microsystems - via my guest account at the University
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
2. Solaris 8 loses loopback route
3. gcc error: "elf error: file insn-attrtab.o: elf_strptr: Request error: no string table"
4. MultiPort Serial Card Questions
7. "dig" and "host" for Solaris 2.5?
9. Solaris 2.5 "bsd" vs. "s5" printing oddities
10. "ld" problems using Intel Solaris version 2.5
11. GETSERVBYNAME()????????????????????"""""""""""""
12. gcc-2.7.2 compilation for x86 Solaris 2.5 on Linux machine
13. gcc-2.7.2 binaries for Solaris 2.5 for x86