Setup Samba 2.0.7 on Sequent Dynix PTX

ralf.luettgens at rheinland-versicherungen.de ralf.luettgens at rheinland-versicherungen.de
Wed Nov 22 07:14:08 GMT 2000


Hi,

i'am a newbie and i try ro setup samba 2.0.7 on a  Sequent NumaQ with
DYNIX/ptx RHPRNMQ1 4.0 V4.4.8 i386.
We are running already samba version 1.9.16p9. When i'am running the
configure script, i get the following error
message:

checking for test routines... configure: error: cant find test code.
Aborting config

The entry in the config.log is:

configure:8638: checking for conflicting AUTH_ERROR define in rpc/rpc.h
configure:8658: cc -c -O  conftest.c 1>&5
configure:8679: checking for test routines
configure:8688: cc -o conftest -O   conftest.c -lsec -lgen -linet -lnsl
-ldl  1>&5
configure: failed program was:
#line 8684 "configure"
#include "confdefs.h"
#include "./tests/trivial.c"

When i try to find out what is the problem, i see that the compiler Option
-linet could not work, because there is no library
file on the machine, so i change all references in the configure script
from -linet to -lsocket (I'am not a C-Specialist).
Then it seems that the configure script works properly:

WARNING: No automated network interface determination
configure OK
updating cache ./config.cache
creating ./config.status
creating include/stamp-h
creating Makefile
creating include/config.h
include/config.h is unchanged

But when i run the make i get the following error:

#make
Using FLAGS =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE
="/usr/local/samba/var/log.nmb" -DCONFIGFILE
="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE
="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR
="/usr/local/samba/lib/codepages" -DDRIVERFILE
="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin"
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE
="/usr/local/samba/private/smbpasswd"
Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE
="/usr/local/samba/var/log.nmb" -DCONFIGFILE
="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE
="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR
="/usr/local/samba/lib/codepages" -DDRIVERFILE
="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin"
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE
="/usr/local/samba/private/smbpasswd"
Using LIBS = -lsec -lnsl -ldl
Linking bin/smbd
ld: warning: Reference to `statvfs64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `fstat64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `lstat64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `ftruncate64` resolved by libseq.so, but
libseq.so not explicitly named on command line.
ld: warning: Reference to `lseek64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `fseeko64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `ftello64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `creat64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `open64` resolved by libseq.so, but libseq.so not
explicitly named on command line.
ld: warning: Reference to `fopen64` resolved by libseq.so, but libseq.so
not explicitly named on command line.
ld: warning: Reference to `mmap64` resolved by libseq.so, but libseq.so not
explicitly named on command line.
ld: warning: Reference to `stat64` resolved by libseq.so, but libseq.so not
explicitly named on command line.
Undefined                       first referenced
 symbol                             in file
__bsd_bind                          smbd/server.o
__bsd_connect                       smbd/server.o
__bsd_getpeername                   smbd/server.o
__bsd_getsockname                   smbd/server.o
__bsd_getsockopt                    smbd/server.o
__bsd_recvfrom                      smbd/server.o
__bsd_recvmsg                       smbd/server.o
__bsd_sendto                        smbd/server.o
__bsd_sendmsg                       smbd/server.o
__bsd_setsockopt                    smbd/server.o
__bsd_shutdown                      smbd/server.o
__bsd_socket                        smbd/server.o
__bsd_socketpair                    smbd/server.o
__bsd_bindresvport                  smbd/server.o
__bsd_rcmd                          smbd/server.o
__bsd_rresvport                     smbd/server.o
__bsd_listen                        smbd/server.o
__bsd_accept                        smbd/server.o
inet_ntoa                           libsmb/clientgen.o
inet_addr                           libsmb/namequery.o
gethostbyname                       lib/system.o
gethostname                         lib/util.o
gethostbyaddr                       lib/util_sock.o
ld: bin/smbd: fatal error: Symbol referencing errors. No output written to
bin/smbd
*** Error code 1
Make: .  Stop.

Does somebody have suggestion, because i have already search the net and
the docs an d can't find something.

Thanks!


Ralf Lüttgens
IT/ST DBA-TEAM
-------------------------------------------------------------------------------

fon: 02131/290-483
fax: 02131/290-419
E-Mail:   ralf.luettgens at rheinland-versicherungen.de
-------------------------------------------------------------------------------





More information about the samba mailing list