AW: compiling kerberos for sparcv9

Ken Raeburn raeburn at MIT.EDU
Wed Nov 24 04:33:25 EST 2004


On Nov 24, 2004, at 03:44, Barbat, Calin wrote:
> I ran into another issue, perhaps you already know how to solve this 
> sort of conflict:
>
> cc -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\"
[...]
> "/usr/include/sys/unistd.h", line 232: macro _PC_LAST redefines 
> previous macro at "/usr/ucbinclude/unistd.h", line 97

Oh... are you using /usr/ucb/cc?  I would suggest avoiding it.  I'm 
using the "Sun ONE Studio 8" compiler, according to "cc -xhelp=readme". 
  If you can get Sun's "real" C compiler, I recommend using it.

If you don't have this compiler available, then gcc may be your next 
best bet, but I didn't have any luck last time I tried it (which, 
granted, was probably a couple years or so ago, so things may have 
improved).  Whether it works may also be dependent on whether you have 
the GNU binutils installed, and for 64-bit Solaris, I don't know what 
to recommend there either. :-(

Ken



More information about the Kerberos mailing list