[22889] in Kerberos
AW: AW: compiling kerberos for sparcv9
daemon@ATHENA.MIT.EDU (Barbat, Calin)
Wed Nov 24 05:19:04 2004
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Date: Wed, 24 Nov 2004 11:18:07 +0100
Message-ID: <7A05A249A3DE11459B154221006BDE6F03312C64@exc-mch01.mch.osram.de>
From: "Barbat, Calin" <c.barbat@osram.de>
To: "Ken Raeburn" <raeburn@mit.edu>
Content-Transfer-Encoding: 8bit
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
Yes, you're right, it's /usr/ucb/cc. I talked to a colleague here, and he will see what he can do about getting the "right" compiler from Sun. Is the Forte C Compiler alright? And do I need additional stuff?
Calin
-----Ursprüngliche Nachricht-----
Von: Ken Raeburn [mailto:raeburn@MIT.EDU]
Gesendet: Mittwoch, 24. November 2004 10:33
An: Barbat, Calin
Cc: 'kerberos@mit.edu'
Betreff: Re: AW: compiling kerberos for sparcv9
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