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

Christopher R. Hertel crh at
Thu Sep 22 01:36:06 MDT 2011

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?

I'm still learning how this stuff fits together, but Kai is also scratching 
his head over this one.


Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list