Samba 3.0 compilation errors on HPUX

Jelmer Vernooij jelmer at nl.linux.org
Wed Apr 2 21:17:21 GMT 2003


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