[4508] in Kerberos
Re: Kerberos on HP
daemon@ATHENA.MIT.EDU (Joe Ramus)
Fri Jan 20 14:33:09 1995
Date: Fri, 20 Jan 95 11:07:31 PST
From: ramus@nersc.gov (Joe Ramus)
To: kerberos@MIT.EDU, fhansen@noghri.cycare.com
I have Kerberos V5 Beta 4 Patch 2 on HP-UX.
My command line for compiling differs from yours.
It looks like this:
gcc -DTIME_WITH_SYS_TIME=1 -DUSE_SYS_TIME_H=1 -DPOSIX_TYPES=1
-I./../../../include -I../../../include -c an_to_ln.c
I do not get any errors in the compile.
The difference could be in your use of -D_HPUX_SOURCE
since I see that the DBM definition in /usr/include/ndbm.h
is under #ifdef _INCLUDE_HPUX_SOURCE
I suspect that this part of the include file was skipped in my
case so there was no conflict.
----------------------------------------------------------------
| Joe Ramus NERSC Livermore (510) 423-8917 ramus@nersc.gov |
----------------------------------------------------------------
>> Date: Fri, 20 Jan 95 10:41:30 EST
>> From: fhansen@noghri.cycare.com
>> Title: System Programmer/Internet Administrator
>> Organization: CyCare Systems, Inc.
>> Location: Dubuque, IA 52001
>> Phone: (319) 557-3602
>>
>> Sorry for the post to the wrong area. Is there anyone out there that
>> has successfully setup a Kerberos environment on HP. I am trying to
>> get V5 setup on a 715/33 running 9.01. I am using gcc 2.6.2. Having
>> trouble with DBM errors:
>>
>> /usr/local/bin/gcc -D_HPUX_SOURCE -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME
>>
>> _H=1 -DPOSIX_TYPES=1 -I./../../../include -I../../../include -c an_to_ln.c
>> In file included from an_to_ln.c:36:
>> ./../../../include/krb5/dbm.h:46: conflicting types for `DBM'
>> /usr/include/ndbm.h:36: previous declaration of `DBM'
>> *** Error code 1
>> Stop.
>>
>> Any help would be great.
>>
>> Regards
>> --
>> ________________________________________
>> _________| Frank Hansen |________
>> \ | Microsoft Mail: fhansen@dbq.cycare.com | /
>> \ | UNIX e-mail: fhansen@noghri.cycare.com | /
>> / |________________________________________| \
>> /________) (_______\