[Samba] Samba 4 make fails(openSUSE 12.1)

Matthias Dieter Wallnöfer mdw at samba.org
Mon Nov 28 08:54:08 MST 2011


The issue is known in bugzilla: [Bug 8537] compile error @ tls.c when 
using gcc Version 4.6.1 (https://bugzilla.samba.org/show_bug.cgi?id=8537).

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.
>>> .....
>>>        
>> Could 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.
>>      
> I have libgnutls-devel-3.0.3-5.2.1.x86_64 installed.
>
> GCC is "gcc (SUSE Linux) 4.6.2".
>
>    



More information about the samba-technical mailing list