Problem with /usr/ccs/ld : Wrong ELF machine type
807575Jul 14 2004 — edited Jul 14 2004Hi all,
I'm a newb to Solaris and I can't seem to solve this problem.
I have installed Solaris 8 2/02 on a Sunblade 150 from the DVD. I used the core installation and added other packages, mostly libraries and what not. However, whenever I try to build anything and "ld" is called, I get this type of error:
ld: fatal: file /usr/ccs/lib/values-Xa.o: wrong ELF machine type: EM_386
Now, of course I did not install the Intel version on the SPARC machine, so this problem is very odd. I have combed through google to the best of my abilities, but I can't seem to figure out what's the problem here. I know when other people have installed Solaris on the same box, they must have installed everything, or use the Developer installation and probably didn't get this error. However, I would like to keep this box minimized, and do not want to reinstall Solaris.
Any help is greatly appreciated. I'm tempted to use GNU ld, but I'm hoping I don't have to.
Thanks for helping out a newb