[22888] in Kerberos

home help back first fref pref prev next nref lref last post

Re: AW: compiling kerberos for sparcv9

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Nov 24 04:34:46 2004

In-Reply-To: <7A05A249A3DE11459B154221006BDE6F03312C60@exc-mch01.mch.osram.de>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <E4071733-3DFB-11D9-85B8-000A95909EE2@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@mit.edu>
Date: Wed, 24 Nov 2004 04:33:25 -0500
To: "Barbat, Calin" <c.barbat@osram.de>
cc: "'kerberos@mit.edu'" <kerberos@mit.edu>
Errors-To: kerberos-bounces@mit.edu

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

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post