samba4 compile error

Preston Kutzner shizzlecash at gmail.com
Mon May 30 09:49:57 MDT 2011


It might be good to update the Wiki to reflect that the latest git /
Alpha16 has a high likelihood of not working with a large population of
systems.

On 5/30/11 7:43 AM, Andrew Bartlett wrote:
> On Mon, 2011-05-30 at 12:56 +0200, Martin Hochreiter wrote:
>> Can somebody give me a hint please?
>>
>>
>> cd /root/samba-master/
>> ./configure.developer
>> make
>>
>> [...]
>> default/source3/libsamba3core.so: undefined reference to `lp_clustering'
>> default/source3/libsamba3core.so: undefined reference to `lp_lockdir'
>> default/source3/libpassdb.so: undefined reference to `lp_private_dir'
>> default/source3/libsamba3core.so: undefined reference to `lp_syslog_only'
>> collect2: ld gab 1 als Ende-Status zurück
>> Waf: Leaving directory `/root/samba-master/bin'
>> Build failed:  -> task failed (err #1):
>>      {task: cc_link regfio_36.o,reg_parse_prs_36.o,profiles_119.o -> 
>> profiles.inst}
>> make: ***  Fehler 1
>>
>>
>> OS: CentOS 5.6 64bit
> 
> I am working to make this more reliable.  We have issues with the
> internal dependency tree in the source3 parts of the tree. 
> 
> I have a patch in autobuild that starts to untangle this mess, adding
> for example a dep from samba3core to our loadparm code.
> 
> The issue is that we cannot yet fully specify the dependencies as we
> have loops - so we allow undefined systmols, and hope it all works out
> (it doesn't sometimes).
> 
> Additionally this seems to interact poorly with the --as-needed linker
> option.  We added this to help ensure we always compile on gentoo (they
> set this by default), but during this interim stage of integrating the
> source3 waf build, it may be harming us on more common platforms.  
> 
> Andrew Bartlett



More information about the samba-technical mailing list