Hi Samba 4 git from 1 hour ago. openSUSE 12.1 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 openSUSE 12.1 Any ideas? Cheers, Steve.
On Mon, 2011-11-28 at 11:49 +0100, steve wrote:> Samba 4 git from 1 hour ago. openSUSE 12.1Yep. 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
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.c > > ..... > > ootaCould it have something to do with what packages are installed? e.g. if you don't have the GnuTLS devel package installed it breaks? I don't have an OpenSUSE box to test this theory. -- Michael Wood <esiotrot at gmail.com>