sco openserver 5.0.6 and winbindd compilation problem
David Shapiro
david.shapiro at btitele.com
Mon Sep 23 18:55:00 GMT 2002
I did not see any information on this, but it is in relation to build
failure (sigh, is it because gnu ld does not work on sco openserver?). Does
winbind not work on sco?
I used the following script to build after cvs head download:
#!/bin/ksh
cd /usr/local/samba/source
/usr/local/bin/make realclean
/bin/rm config.cache configure
/usr/local/bin/autoconf
./config.status
cd /usr/local/samba/source
#env CFLAGS="-Wall -m32 -g" CC=gcc ./configure \
env CFLAGS="-I include -I ubiqx" CC=cc ./configure \
--with-winbind \
--with-included-popt \
--with-gnu-as \
--with-as=/usr/local/bin/as \
--with-smbwrapper
/usr/local/bin/make proto && /usr/local/bin/make && /usr/local/bin/make
install
/usr/local/bin/make nsswitch/libnss_winbind.so
/usr/local/bin/make nsswitch/libnss_wins.so
ln -s /usr/local/samba/source/nsswitch/libnss_winbind.so
/usr/lib/libnss_winbind.so.1
ln -s /usr/local/samba/source/nsswitch/libnss_winbind.so
/usr/lib/libnss_winbind.so.2
ln -s /usr/local/samba/source/nsswitch/libnss_winbind.so
/usr/lib/nss_winbind.so.1
ln -s /usr/local/samba/source/nsswitch/libnss_winbind.so
/usr/lib/nss_winbind.so.2
Note: I had to add as a CFLAG option because it was whining about not
finding its header files to get this far
CFLAG="-I ubiqx -I include"
compiling nsswitch/wb_common.c with
Linking nsswitch/libnss_winbind.so
command line: warning: -h ignored when building a static executable
Undefined first referenced
symbol in file
main /usr/ccs/lib/crt1.o
socket nsswitch/wb_common.po
connect nsswitch/wb_common.po
nsswitch/libnss_winbind.so: fatal error: Symbol referencing errors. No
output written to nsswitch/libnss_winbind.so
make: *** [nsswitch/libnss_winbind.so] Error 1
ompiling tdb/tdbutil.c with
"tdb/tdbutil.c", line 593: warning: syntax violation: empty declaration
"tdb/tdbutil.c", line 610: warning: syntax violation: empty declaration
Linking nsswitch/libnss_wins.so
command line: warning: -h ignored when building a static executable
Undefined first referenced
symbol in file
accept lib/util_sock.po
main /usr/ccs/lib/crt1.o
yp_get_default_domain lib/username.po
htonl lib/interface.po
htons libsmb/clidgram.po
socket nsswitch/wins.po
send lib/system.po
connect lib/util_sock.po
listen lib/util_sock.po
gethostbyname lib/system.po
setsockopt nsswitch/wins.po
inet_ntoa libsmb/cliconnect.po
getsockname libsmb/clidgram.po
bind nsswitch/wins.po
recvfrom lib/system.po
gethostname lib/util.po
ntohl lib/interfaces.po
ntohs libsmb/clidgram.po
gethostbyaddr lib/util_sock.po
getsockopt lib/util_sock.po
innetgr lib/username.po
getpeername lib/util_sock.po
sendto libsmb/nmblib.po
inet_addr libsmb/clidgram.po
nsswitch/libnss_wins.so: fatal error: Symbol referencing errors. No output
written to nsswitch/libnss_wins.so
make: *** [nsswitch/libnss_wins.so] Error 1
More information about the samba-technical
mailing list