[Samba] Samba 4 make fails (openSUSE 12.1) [SOLVED]
Adam Tauno Williams
awilliam at whitemice.org
Wed Nov 30 14:33:29 MST 2011
On Tue, 2011-11-29 at 06:23 +0100, steve wrote:
> On 28/11/11 21:14, Adam Tauno Williams wrote:
> > On Mon, 2011-11-28 at 20:16 +0100, steve wrote:
> >> On 28/11/11 16:23, Adam Tauno Williams wrote:
> >>> On Mon, 2011-11-28 at 17:16 +0200, Michael Wood wrote:
> >>>> 2011/11/28 Samba-JP oota<ribbon at samba.gr.jp>:
> >>>>> On Mon, Nov 28, 2011 at 05:52:55AM -0500, Adam Tauno Williams wrote
> >>>>>> Yep. I updated my test VM to openSUSE 12.1 [Bind 9.8!!!]. And I get
> >>>>>> the same failure when building.
> >>>>>>> make fails:
> >>>>>>> [ 976/3909] Compiling source4/lib/tls/tls.c
> >>>>>>> ../source4/lib/tls/tls.c: In function ‘tls_init_server’:
> >>>>>>> ../source4/lib/tls/tls.c:508:2: error: implicit declaration of function
> >>>>>>> ‘gnutls_transport_set_lowat’ [-Werror=implicit-function-declaration]
> >>>>>>> ../source4/lib/tls/tls.c: In function ‘tls_init_client’:
> >>>>>>> ../source4/lib/tls/tls.c:569:2: warning:
> >>>>>>> ‘gnutls_certificate_type_set_priority’ is deprecated (declared at
> >>>>>>> /usr/include/gnutls/compat.h:288) [-Wdeprecated-declarations]
> >>>>>>> cc1: some warnings being treated as errors
> >>>>>>> Waf: Leaving directory `/home/steve/samba-master/bin'
> >>>>>>> Build failed: -> task failed (err #1):
> >>>>>>> {task: cc tls.c -> tls_1.o}
> >>>>>>> make: *** [all] Error 1
> >>>>> My test server (openSUSE 12.1 x86-64) has no probrem
> >>>>> [ 985/3936] Compiling source4/lib/tls/tls.c
> >>>>> [ 986/3936] Compiling source4/lib/tls/tlscert.c
> >>>>> ../source4/lib/tls/tlscert.c:174:6: warning: no previous prototype for ‘tls_cert_dummy’ [-Wmissing-prototypes]
> >>>>> [ 987/3936] Compiling source4/lib/tls/tls_tstream.
> Then from:http://aur.archlinux.org/packages.php?ID=40043
> sed -i -e "s/gnutls_transport_set_lowat(tlss->tls_session, 0);//" \
> source4/lib/tls/tls_tstream.c
> sed -i -e "s/gnutls_transport_set_lowat(tls->session, 0);//" \
> source4/lib/tls/tls.c
> Am now at 2503/3909 of the make. The only test box I have is a 512Mb
> acer laptop running 12.1 from a 16Gb usb stick. Not ideal for code of
> this size!
Getting up to commit 456c69f95e7a672c4cc9a5e6e52fb37e14012304 fixed the
issue for me. Samba4 now builds on my openSUSE 12.1 x86_64 box.
More information about the samba-technical
mailing list