Samba 3.0 compilation errors on HPUX
P Ranjit Kumar
ranjit at cup.hp.com
Thu Apr 10 22:29:41 GMT 2003
I found that the Samba 3.0 configure did not detect the et_list() on HP-UX
com_err library which inturn affected detection of other Kerberos library
functions. The errors disappeared after I included com_err when configure
looked for KRB5 functions such as krb5_fwd_tgt_creds().
- Ranjit
-----Original Message-----
From: samba-technical-bounces+marc_jacobsen=hp.com at lists.samba.org
[mailto:samba-technical-bounces+marc_jacobsen=hp.com at lists.samba.org]On
Behalf Of P Ranjit Kumar
Sent: Wednesday, April 02, 2003 2:22 PM
To: Jelmer Vernooij
Cc: samba-technical at lists.samba.org
Subject: RE: Samba 3.0 compilation errors on HPUX
3.0 alpha23
I should have put more straighter question. Which version of Kerberos
headers? I tried KRB5 1.2.7 from MIT and yet don't find those variables.
Thats what made me wonder which Kerberos header contains those variables.
Thanks,
Ranjit
-----Original Message-----
From: samba-technical-bounces+marc_jacobsen=hp.com at lists.samba.org
[mailto:samba-technical-bounces+marc_jacobsen=hp.com at lists.samba.org]On
Behalf Of Jelmer Vernooij
Sent: Wednesday, April 02, 2003 1:17 PM
To: P Ranjit Kumar
Cc: samba-technical at lists.samba.org
Subject: Re: Samba 3.0 compilation errors on HPUX
On Wed, Apr 02, 2003 at 12:51:48PM -0800, P Ranjit Kumar wrote about 'Samba
3.0 compilation errors on HPUX':
> Anyone has a clue where structures (variables) such as krb5_krbhst_handle,
> krb5_krbhst_info are defined.
In the kerberos headers. Which version of 3.0 are you running, HEAD
from CVS or some alpha?
> Here is the actual compilation failure on HPUX 11.00
> Compiling libsmb/clikrb5.c
> cpp: "/usr/include/sys/xti.h", line 488: warning 2001: Redefinition of
macro
> TCP_NODELAY.
> cpp: "/usr/include/sys/xti.h", line 489: warning 2001: Redefinition of
macro
> TCP_MAXSEG.
> cc: "libsmb/clikrb5.c", line 77: warning 604: Pointers are not
> assignment-compatible.
> cc: "libsmb/clikrb5.c", line 189: error 1000: Unexpected symbol: "hnd".
> cc: "libsmb/clikrb5.c", line 189: error 1588: "krb5_krbhst_handle"
> undefined.
> cc: "libsmb/clikrb5.c", line 190: error 1588: "krb5_krbhst_info"
undefined.
> cc: "libsmb/clikrb5.c", line 190: error 1588: "hinfo" undefined.
> cc: "libsmb/clikrb5.c", line 198: error 1588: "KRB5_KRBHST_KDC" undefined.
> cc: "libsmb/clikrb5.c", line 198: error 1588: "hnd" undefined.
> cc: "libsmb/clikrb5.c", line 226: error 1532: Reference through a
> non-pointer.
> cc: "libsmb/clikrb5.c", line 226: error 1532: Reference through a
> non-pointer.
> cc: "libsmb/clikrb5.c", line 226: error 1563: Expression in if must be
> scalar.
> cc: "libsmb/clikrb5.c", line 227: error 1532: Reference through a
> non-pointer.
> cc: "libsmb/clikrb5.c", line 227: error 1532: Reference through a
> non-pointer.
> cc: "libsmb/clikrb5.c", line 227: warning 563: Argument #2 is not the
> correct type.
> cc: "libsmb/clikrb5.c", line 227: warning 527: Integral value implicitly
> converted to pointer in assignment.
> cc: "libsmb/clikrb5.c", line 227: warning 563: Argument #3 is not the
> correct type.
> *** Error exit code 1
Jelmer
--
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
23:16:35 up 4 days, 7:34, 21 users, load average: 0.22, 0.13, 0.10
More information about the samba-technical
mailing list