[Samba] Compiler error while building Samba 3.5.6

Stan.Pietkiewicz at statcan.gc.ca Stan.Pietkiewicz at statcan.gc.ca
Wed Jan 19 14:11:42 MST 2011



-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Sent: January-19-11 2:05 AM
To: Stan.Pietkiewicz at statcan.gc.ca
Cc: samba at lists.samba.org
Subject: Re: [Samba] Compiler error while building Samba 3.5.6

On Tue, Jan 18, 2011 at 04:39:01PM -0500, Stan.Pietkiewicz at statcan.gc.ca wrote:
> I am trying to build Samba 3.5.6 on an HP-UX 11.11 system, and I get
> this error:
> 
> Compiling libsmb/libsmb_thread_impl.c
> In file included from ./../nsswitch/winbind_nss.h:54,
>                  from ./../nsswitch/winbind_nss_config.h:49,
>                  from ./../nsswitch/winbind_client.h:1,
>                  from include/includes.h:681,
>                  from libsmb/libsmb_thread_impl.c:20:
> ./../nsswitch/winbind_nss_hpux.h:133: error: field '__h_errno' declared
> as a function
> 
> I'm using gcc (4.2.3) and GNU make (3.8.2) to do this. Any ideas as to
> what I might do to fix this?

You might try the attached patch from master. If you want
this to be fixed in 3.5.7, please open a bug report at
https://bugzilla.samba.org.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


Thanks.....

That fixed the compile issue, and it only took me two more tries at configure and gmake to get Samba 3.5.6 running and working on an HP-UX 11.11 server in an MS AD environment as a domain member server.

Stan



More information about the samba mailing list