--with-aio-support breaks build in SAMBA_3_0_RELEASE
Michael Adam
ma at sernet.de
Fri Jan 27 22:44:37 GMT 2006
Hi,
I noticed that on my Debian system (testing, kernel 2.6.11.8),
the configure option --with-aio-support breaks the build
in SAMBA_3_0_RELEASE and SAMBA_3_0 (but not in 3.0.21a):
The resulting Makefile has "LIBS=-lrt" instead of
"LIBS= -lcrypt -lresolv -lnsl -ldl -lrt".
This leads to various linker errors:
lib/system.c:1300: undefined reference to `dlopen'
lib/system.c:1309: undefined reference to `dlsym'
lib/system.c:1318: undefined reference to `dlclose'
lib/system.c:1327: undefined reference to `dlerror'
lib/username.c:343: undefined reference to `yp_get_default_domain'
lib/access.c:83: undefined reference to `yp_get_default_domain'
when linking e.g. bin/testparm
My steps were
# test -f Makefile && make distclean
# ./autogen.sh
# ./configure --with-aio-support
# make -k
and once without --with-aio-support.
It makes no change if I add more configure options or
specify make targets (make -k proto pch all everything).
Michael
--
Michael Adam, SerNet Service Network GmbH
phone: +49-551-370000-0, fax: +49-551-370000-9
More information about the samba-technical
mailing list