make Using CFLAGS = -O -I. -I/sources/samba-3.6.23/source3 -I/sources/samba-3.6.23/source3/../lib/popt -I/sources/samba-3.6.23/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/talloc -I./../lib/tevent -I../lib/tdb/include -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt -I/sources/samba-3.6.23/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = LDFLAGS = -pie -Wl,-z,relro -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= make: stat: bin/libtalloc.so.2.0.5: Too many symbolic links Linking shared library bin/libtalloc.so.2 ./../lib/replace/getaddrinfo.o: In function `check_hostent_err': getaddrinfo.c:(.text+0x17): undefined reference to `__h_errno' ./../lib/replace/getaddrinfo.o: In function `get_my_canon_name': getaddrinfo.c:(.text+0x189): undefined reference to `rep_gethostbyname' ./../lib/replace/getaddrinfo.o: In function `getaddr_info_single_addr': getaddrinfo.c:(.text+0x2b8): undefined reference to `gethostbyaddr' ./../lib/replace/getaddrinfo.o: In function `rep_getaddrinfo': getaddrinfo.c:(.text+0x444): undefined reference to `rep_gethostbyname' ./../lib/replace/getaddrinfo.o: In function `rep_getnameinfo': getaddrinfo.c:(.text+0x635): undefined reference to `gethostbyaddr' getaddrinfo.c:(.text+0x733): undefined reference to `getservbyport' collect2: error: ld returned 1 exit status make: *** [bin/libtalloc.so.2] Error 1