System vs. In-Tree Kerberos build problem (S4 AD)

Jelmer Vernooij jelmer at
Thu Sep 22 05:05:46 MDT 2011

Hi Chris,

How is SDC?

On 09/22/2011 09:36 AM, Christopher R. Hertel wrote:
> Kai and I are trying to build S4 AD on an ARM target platform.  Kai 
> managed to build it correctly earlier today, but we are hitting a 
> problem on my system.
> There is very little difference between his box and mine.  His is a 
> newer ARM V7, mine is an ARM V5.  There are differences between the 
> ArchLinux/ARM builds for these two chips.
> Here's the actual problem:
> samba$ make
> WAF_MAKE=1 ./buildtools/bin/waf build
> Waf: Entering directory `/data/Samba/samba/bin'
> [ 118/3450] Generating VERSION
> [ 151/3450] Generating smbd/build_options.c
> [ 782/3450] Compiling source4/dsdb/samdb/cracknames.c
> In file included from ../source4/dsdb/samdb/cracknames.c:30:0:
> ../lib/replace/system/kerberos.h:37:21: fatal error: com_err.h: No 
> such file or directory
> compilation terminated.
> Waf: Leaving directory `/data/Samba/samba/bin'
> Build failed:  -> task failed (err #1):
>         {task: cc cracknames.c -> cracknames_1.o}
> make: *** [all] Error 1
> Why is the build system using the lib/replace version instead of the 
> in-tree version, and why for cracknames?
Like all system/* headers, there is only version of system/kerberos.h 
which that lives in libreplace.

As for com_err.h - does your system have a com_err.h, and does waf 
report it was found in bin/config.log?



More information about the samba-technical mailing list