Please see results of attempt to make: root@omega:/home/steve/samba-3.5.3/source3# make Using CFLAGS = -I../lib/zlib -O -I. -I/home/steve/samba-3.5.3/source3 -I/home/steve/samba-3.5.3/source3/../lib/popt -I/home/steve/samba-3.5.3/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/home/steve/samba-3.5.3/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lresolv -lresolv -lnsl -ldl LDFLAGS = -Wl,-z,relro -Wl,-z,ignore -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,-z,ignore -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= mkdir bin Compiling ../lib/talloc/talloc.c Linking non-shared library bin/libtalloc.a Compiling ../lib/replace/replace.c Compiling ../lib/replace/snprintf.c Compiling ../lib/replace/getpass.c Compiling ../lib/replace/getifaddrs.c creating /home/steve/samba-3.5.3/source3/exports/libtalloc.syms Linking shared library bin/libtalloc.so.2 /lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_relocate_object@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2' /lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_catch_error@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_platformlen@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol_skip@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_mcount@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_dst_count@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_initial_searchlist@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_start_profile@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_lookup_symbol@GLIBC_2.0' /lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_loaded@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_origin_path@GLIBC_2.1.1' /lib/libc.so.6: undefined reference to `_dl_check_map_versions@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_map_object@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_main_searchlist@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3' /lib/libc.so.6: undefined reference to `_dl_load_lock@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_profile@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_debug_state@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_init_all_dirs@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_unload_cache@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_signal_error@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3' /lib/libc.so.6: undefined reference to `_dl_init@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_all_dirs@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_map_object_deps@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_nloaded@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_profile_map@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_profile_output@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2' /lib/libc.so.6: undefined reference to `_dl_lookup_symbol_skip@GLIBC_2.0' /lib/libc.so.6: undefined reference to `_dl_fpu_control@GLIBC_2.1' /lib/libc.so.6: undefined reference to `_dl_global_scope_alloc@GLIBC_2.1' collect2: ld returned 1 exit status make: *** [bin/libtalloc.so.2] Error 1
Affects all versions of 3.5 I am currently running 3.4.8 as I cannot upgrade.
as mentioned via mail - you have a very old and broken glibc build. LDFLAGS=-Wl,-z,nodefs works around the build issue.