Error compiling Samba 3.6.3

Stephen Elliott techweb at ntlworld.com
Sat Feb 4 19:41:09 MST 2012


My errors now look like this:

Linking bin/ntlm_auth
Linking bin/sharesec
Linking bin/smbcquotas
Linking bin/eventlogadm
Linking ../nsswitch/libnss_winbind.so
/lib/libc.so.6: undefined reference to `_dl_lazy at GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_dst_substitute at GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_out_of_memory at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_relocate_object at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_clktck at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `__libc_enable_secure at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_catch_error at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_platformlen at GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to
`_dl_lookup_versioned_symbol_skip at GLIBC_2.0'
/lib/libc.so.6: undefined reference to
`_dl_lookup_versioned_symbol at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_mcount at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_dst_count at GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_initial_searchlist at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_start_profile at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_lookup_symbol at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `__libc_stack_end at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_argv at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_loaded at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_origin_path at GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_check_map_versions at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_map_object at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_main_searchlist at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_debug_mask at GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_load_lock at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_profile at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_debug_state at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_init_all_dirs at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_r_debug at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_unload_cache at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_signal_error at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_debug_printf at GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_init at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_all_dirs at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_map_object_deps at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_nloaded at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_profile_map at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_profile_output at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_pagesize at GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_lookup_symbol_skip at GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_fpu_control at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_global_scope_alloc at GLIBC_2.1'
collect2: ld returned 1 exit status
make: *** [../nsswitch/libnss_winbind.so] Error 1

If you have any suggestions???

-----Original Message-----
From: Stephen Elliott [mailto:techweb at ntlworld.com] 
Sent: 05 February 2012 02:39
To: 'David Disseldorp'
Cc: 'samba-technical at lists.samba.org'
Subject: RE: Error compiling Samba 3.6.3

Hi David,

I've figured out how to patch the file :)

However, I got a heap of errors after this... Perhaps it's time to accept my
distro is ancient.

Many Thanks
Stephen Elliott

-----Original Message-----
From: Stephen Elliott [mailto:techweb at ntlworld.com] 
Sent: 05 February 2012 02:08
To: 'David Disseldorp'
Cc: 'samba-technical at lists.samba.org'
Subject: RE: Error compiling Samba 3.6.3

Hi David,

Thanks for the response...

Please excuse my ignorance, but how do I apply the attached patch and would
I need to incorporate this in future releases?

Many Thanks
Stephen Elliott

-----Original Message-----
From: David Disseldorp [mailto:ddiss at suse.de] 
Sent: 04 February 2012 21:04
To: techweb at ntlworld.com
Cc: samba-technical at lists.samba.org
Subject: Re: Error compiling Samba 3.6.3

Hi Stephen,

On Fri, 3 Feb 2012 17:32:16 -0000
"Stephen Elliott" <techweb at ntlworld.com> wrote:

> I am trying to compile Samba 3.6.3 but get the following:
> 
>  
> 
> Compiling lib/sharesec.c
> 
> lib/sharesec.c: In function `delete_share_security':
> 
> lib/sharesec.c:382: incompatible types in return

Thanks for the report, please try the attached patch.

Cheers, David



More information about the samba-technical mailing list