[Samba] samba 4.0.9 Build Error

Thomas Harold thomas-lists at nybeta.com
Wed Sep 25 06:19:57 MDT 2013


On 9/25/2013 4:00 AM, Thomas Zeitinger wrote:
> Hi there,
>
> I tried to build samba 4.0.9 on a Debian Wheezy 7.1 x86 fresh install
> and got this error:
>
> [2717/3935] Compiling source3/smbd/scavenger.c
> ../source3/smbd/scavenger.c: In function ‘scavenger_timer’:
> ../source3/smbd/scavenger.c:482:3: error: format ‘%lu’ expects argument
> of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’
> [-Werror=format]
> ../source3/smbd/scavenger.c:490:3: error: format ‘%lu’ expects argument
> of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’
> [-Werror=format]
> cc1: some warnings being treated as errors
> Waf: Leaving directory `/root/samba-4.0.9/bin'
> Build failed:  -> task failed (err #1):
>          {task: cc scavenger.c -> scavenger_92.o}
> make: *** [all] Fehler 1
>
> Never got this befor. Is there something I can do? I need a samba4 on
> this machine.
>

Maybe try the sernet samba4 packages?  They have a DEB for wheezy.

http://enterprisesamba.com/

You have to register, but the package downloads are free and they 
support apt-get.  I use the sernet packages for CentOS6 with no issues.

(I built samba 4.0.6 on CentOS 6 earlier this year, now we just use the 
sernet packages.  It's easier.)





More information about the samba mailing list