LIBERT Anthony
2013-Sep-27 06:09 UTC
[Samba] Error samba task: cc scavenger.c -> scavenger 91.o
Hello everybody,
I try to install samba on ubuntu server 13.04
So I downloaded the 4.0.9 version of samba but when the make I get this
error:
../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 /opt/samba-4.0.9/bin'
Build failed: -> Task failed (err #1)
{task: cc scavenger.c -> scavenger_91.o}
make: *** [all] Error 1
An idea please ?
Thanks
--
------------------------------------------
LIBERT Anthony
Technicien informatique
IUT g?nie m?canique et productique Amiens
------------------------------------------
Jeremy Allison
2013-Sep-27 09:13 UTC
[Samba] Error samba task: cc scavenger.c -> scavenger 91.o
On Fri, Sep 27, 2013 at 08:09:42AM +0200, LIBERT Anthony wrote:> Hello everybody, > > I try to install samba on ubuntu server 13.04 > > So I downloaded the 4.0.9 version of samba but when the make I get > this error: > > ../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 /opt/samba-4.0.9/bin' > Build failed: -> Task failed (err #1) > {task: cc scavenger.c -> scavenger_91.o} > make: *** [all] Error 1 > > An idea please ?This is bug: https://bugzilla.samba.org/show_bug.cgi?id=10169 Will be fixed in the next 4.0.x release. The patch is available there if you wish to hand apply it. Sorry for the problem. Jeremy.