Operating System - HP-UX
1822168 Members
3849 Online
109640 Solutions
New Discussion

Cannot compile Samba 3.0.0 @ 11.00 - Errors in libsmb/clikrb5.c?

 
Skwar
Occasional Advisor

Cannot compile Samba 3.0.0 @ 11.00 - Errors in libsmb/clikrb5.c?

Hello!

I'm trying to get Samba 3.0.0 to compile on a HP-UX 11.00
system. Well, "trying to" is the key here... :(

I did this do configure the Samba source:

____________________________________________________________

#!/usr/local/bin/bash

VERSION=3.0.0
PREFIX=/opt/samba-${VERSION}

CC=/usr/local/bin/gcc
CPP=/usr/local/bin/cpp
SHLIB_PATH=$SHLIB_PATH:/usr/local/lib
PATH=$PATH:/opt/heimdal-0.6/bin

export CC
export CPP
export SHLIB_PATH
export PATH

cd samba-${VERSION}/source
./configure \
--prefix=${PREFIX} \
\
--disable-cups \
\
--with-smbwrapper \
--with-ads \
--with-dce-dfs \
--with-automount \
--with-pam \
--with-pam_smbpass \
--with-winbind

____________________________________________________________

Then I ran "gmake" and failed with:

------------------------------------------------------------

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:225: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c:226: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c: In function `krb5_princ_component':
libsmb/clikrb5.c:405: warning: assignment discards qualifiers from pointer target type
gmake: *** [libsmb/clikrb5.o] Error 1

------------------------------------------------------------

Compiler used is gcc 3.3.1 from http://hpux.connect.org.uk/. System used is a
HP-UX 11.00 server.

What do I have to do to get it to compile?

Thanks a lot,
Alexander