[Samba] Cannot compile 3.0.0 @ HP-UX - Errors in libsmb/clikrb5.c ?

Alexander Skwar listen at alexander.skwar.name
Fri Sep 26 16:31:52 GMT 2003


Good evening ladies and gentleman!

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/.

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

Thanks a lot,

Alexander Skwar
-- 
printk("Penguin %d is stuck in the bottle.\n", i);
	2.0.38 /usr/src/linux/arch/sparc/kernel/smp.c



More information about the samba mailing list