Sparc:v9 architecture incompatible with sparc output


Problem Description : ld: sparc:v9 architecture of input file ... is incompatible with sparc output

When compiling a UDF on UltraSPARC Solaris you receive the error: sparc:v9 architecture of input file udf_names.o (or another object file) is incompatible with sparc output

Resolution: It could be that "ld" on your machine cannot link the 64 bit object file.

Check to see if there is a non-standard 32-bit version of ld in your search path and make sure it is not listed BEFORE the standard ld which on the Solaris system is: /usr/ccs/bin/ld

If it is put the /usr/ccs/bin/ld path before the 32-bit ld path

If that does not resolve the issue execute the following commands and send the output to: installsup@fluent.com

uname -a
which ld
ld -v
cc -v





Show Form
No comments yet. Be the first to add a comment!