Samba4 does not compile on Ubuntu i686

Zahari Zahariev zahari.zahariev at
Mon Oct 11 02:54:20 MDT 2010

  On 10/11/10 10:51 AM, Brad Hards wrote:
> On Monday, October 11, 2010 05:59:28 pm Zahari Zahariev wrote:
>>    After your last commits this morning (
>> all of my Ubuntu machines started to produce 'make' error --
>> However I do not see that on the official
>> buildfarm Ubuntu machines (they are all x86_64). Also I do not have this
>> issue on my Debian Lenny machine.
> I'm not seeing that on the openchange buildbot slaves (including not ubuntu
> 10.04, but I think that is also 64 bit).
> There is a problem with pidl generated client code though, see
> Brad
Hi Brad,

I also have Ubuntu 10.04.1 LTS (amd64) and I went deleted the whole 
samba-master source tree and cloned it again with git.

./ && ./configure && make

The result is still the same:

[ 567/2175] Compiling auth/ntlm/auth_sam.c
[ 568/2175] Compiling auth/credentials/credentials.c
In file included from ../auth/credentials/credentials.c:27:
../auth/credentials/credentials_krb5.h:26:27: error: gssapi/gssapi.h: No 
such file or directory
../auth/credentials/credentials_krb5.h:27:32: error: 
gssapi/gssapi_krb5.h: No such file or directory
../auth/credentials/credentials_krb5.h:28:18: error: krb5.h: No such 
file or directory
In file included from ../auth/credentials/credentials.c:27:
../auth/credentials/credentials_krb5.h:31: error: expected 
specifier-qualifier-list before ‘gss_cred_id_t’
../auth/credentials/credentials_krb5.h:38: error: expected declaration 
specifiers or ‘...’ before ‘gss_cred_id_t’
../auth/credentials/credentials_krb5.h:43: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘principal_from_credentials’
../auth/credentials/credentials_krb5.h:49: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before 
In file included from ../auth/credentials/credentials.c:28:
default/source4/auth/kerberos/kerberos_util.h:15: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘principal_from_credentials’
default/source4/auth/kerberos/kerberos_util.h:26: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘smb_krb5_open_keytab’
default/source4/auth/kerberos/kerberos_util.h:29: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘smb_krb5_update_keytab’
default/source4/auth/kerberos/kerberos_util.h:35: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘smb_krb5_create_memory_keytab’
default/source4/auth/kerberos/kerberos_util.h:39: error: expected ‘)’ 
before ‘enc_type_enum’
default/source4/auth/kerberos/kerberos_util.h:40: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
../auth/credentials/credentials.c: In function ‘cli_credentials_guess’:
../auth/credentials/credentials.c:732: warning: ‘event_context_find’ is 
deprecated (declared at ../lib/events/events.h:6)
Waf: Leaving directory `/root/samba-master/source4/bin'
Build failed: -> task failed (err #1):
{task: cc credentials.c -> credentials_1.o}
make: *** [all] Error 1

How can this be ?? Am I having the "wrong" hostname bug :-) ?


More information about the samba-technical mailing list