Solaris 7 not compiling HEAD code

H. Withrow hlwithro at cc.ysu.edu
Tue Oct 26 13:28:42 GMT 1999


I am trying to compile the NTDOM HEAD code on Solaris 7 using gcc 2.8.
Samba 2.0.5a works fine but not the HEAD Code.  See Errors below.  Can
anyone tell me what I need to do?


Samba errors during compile


Compiling libsmb/clientgen.c
libsmb/clientgen.c: In function `cli_get_string':
libsmb/clientgen.c:91: warning: passing arg 1 of `skip_string' discards
`const' from pointer target type

Compiling passdb/pass_check.c
passdb/pass_check.c:93: warning: initialization from incompatible
pointer type

lib/util.c: In function `nametouid':
lib/util.c:2501: warning: passing arg 1 of `Get_Pwnam' discards `const'
from pointer target type

Linking bin/nmbd
Undefined   first referenced
 symbol         in file
prs_mem_free                        libsmb/clientgen.o
prs_link                            libsmb/clientgen.o
create_ntlmssp_resp                 libsmb/clientgen.o
prs_init                            libsmb/clientgen.o
ld: fatal: Symbol referencing errors. No output written to bin/nmbd
*** Error code 1
make: Fatal error: Command failed for target `bin/nmbd'


******************
Output frm configure

# ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking host system type... sparc-sun-solaris2.7
checking target system type... sparc-sun-solaris2.7
checking build system type... sparc-sun-solaris2.7
checking config.cache system type... same
checking for autoconf... autoconf
checking for autoheader... autoheader
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for sys/unistd.h... yes
checking for sys/param.h... yes
checking for ctype.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for grp.h... yes
checking for sys/id.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for net/route.h... yes
checking for net/if.h... yes
checking for compat.h... no
checking for rpc/rpc.h... yes
checking for rpcsvc/yp_prot.h... yes
checking for rpcsvc/ypclnt.h... yes
checking for sys/param.h... (cached) yes
checking for ctype.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/ioctl.h... yes
checking for sys/mode.h... yes
checking for sys/mman.h... yes
checking for sys/filio.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for sys/mount.h... yes
checking for sys/vfs.h... yes
checking for sys/fs/s5param.h... no
checking for sys/filsys.h... no
checking for termios.h... yes
checking for sys/statfs.h... yes
checking for sys/dustat.h... no
checking for sys/statvfs.h... yes
checking for stdarg.h... yes
checking for sys/sockio.h... yes
checking for shadow.h... yes
checking for netinet/tcp.h... yes
checking for sys/security.h... no
checking for security/pam_appl.h... yes
checking for stropts.h... yes
checking for poll.h... yes
checking for readline.h... no
checking for history.h... no
checking for readline/readline.h... no
checking for readline/history.h... no
checking for sys/capability.h... no
checking for syscall.h... no
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... no
checking for glob.h... yes
checking for mysql.h... no
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking for working const... yes
checking for inline... (cached) inline
checking whether byte ordering is bigendian... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... yes
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... yes
checking for ssize_t... yes
checking for errno in errno.h... yes
checking for setresuid declaration... no
checking for crypt declaration... no
checking for real setresuid... no
checking for 8-bit clean memcmp... yes
checking for crypt... yes
checking for main in -ldl... yes
checking for pam_authenticate... no
checking for pam_authenticate in -lpam... yes
checking for connect... no
checking for printf in -lnsl_s... no
checking for printf in -lnsl... yes
checking for connect in -lsocket... yes
checking for connect in -linet... no
checking for waitpid... yes
checking for getcwd... yes
checking for strdup... yes
checking for strtoul... yes
checking for strerror... yes
checking for chown... yes
checking for chmod... yes
checking for chroot... yes
checking for fstat... yes
checking for strchr... yes
checking for utime... yes
checking for utimes... yes
checking for getrlimit... yes
checking for fsync... yes
checking for execl... yes
checking for bzero... yes
checking for memset... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for glob... yes
checking for strpbrk... yes
checking for pipe... yes
checking for crypt16... no
checking for getauthuid... no
checking for strftime... yes
checking for sigprocmask... yes
checking for sigblock... no
checking for sigaction... yes
checking for innetgr... yes
checking for setnetgrent... yes
checking for getnetgrent... yes
checking for endnetgrent... yes
checking for initgroups... yes
checking for select... yes
checking for rdchk... no
checking for getgrnam... yes
checking for pathconf... yes
checking for setuidx... no
checking for setgroups... yes
checking for mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for fopen64... yes
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for fseek64... no
checking for ftell64... no
checking for setluid... no
checking for yp_get_default_domain... yes
checking for getpwanam... no
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... no
checking for mmap64... yes
checking for syscall... yes
checking for _dup... yes
checking for _dup2... yes
checking for _opendir... yes
checking for _readdir... yes
checking for _seekdir... yes
checking for _telldir... yes
checking for _closedir... yes
checking for __dup... no
checking for __dup2... no
checking for __opendir... no
checking for __readdir... no
checking for __seekdir... no
checking for __telldir... no
checking for __closedir... no
checking for __getcwd... no
checking for _getcwd... yes
checking for __xstat... no
checking for __fxstat... no
checking for __lxstat... no
checking for _stat... yes
checking for _lstat... yes
checking for _fstat... yes
checking for __stat... no
checking for __lstat... no
checking for __fstat... no
checking for _acl... yes
checking for __acl... no
checking for _facl... yes
checking for __facl... no
checking for _open... yes
checking for __open... no
checking for _chdir... yes
checking for __chdir... no
checking for _close... yes
checking for __close... no
checking for _fchdir... yes
checking for __fchdir... no
checking for _fcntl... yes
checking for __fcntl... no
checking for getdents... yes
checking for _getdents... yes
checking for __getdents... no
checking for _lseek... yes
checking for __lseek... no
checking for _read... yes
checking for __read... no
checking for _write... yes
checking for __write... no
checking for _fork... yes
checking for __fork... no
checking for _stat64... yes
checking for __stat64... no
checking for _fstat64... yes
checking for __fstat64... no
checking for _lstat64... yes
checking for __lstat64... no
checking for __sys_llseek... no
checking for llseek... yes
checking for _llseek... yes
checking for __llseek... no
checking for readdir64... yes
checking for _readdir64... yes
checking for __readdir64... no
checking for pread... yes
checking for _pread... yes
checking for __pread... no
checking for pread64... yes
checking for _pread64... yes
checking for __pread64... no
checking for pwrite... yes
checking for _pwrite... yes
checking for __pwrite... no
checking for pwrite64... yes
checking for _pwrite64... yes
checking for __pwrite64... no
checking for open64... yes
checking for _open64... yes
checking for __open64... no
checking for creat64... yes
checking for putprpwnam in -lsecurity... no
checking for putprpwnam... no
checking for putprpwnam in -lsec... no
checking for putprpwnam... (cached) no
checking for set_auth_parameters in -lsecurity... no
checking for set_auth_parameters... no
checking for set_auth_parameters in -lsec... no
checking for set_auth_parameters... (cached) no
checking for getspnam in -lsecurity... no
checking for getspnam... yes
checking for getspnam in -lsec... yes
checking for getspnam... (cached) yes
checking for bigcrypt in -lsecurity... no
checking for bigcrypt... no
checking for bigcrypt... (cached) no
checking for getprpwnam in -lsecurity... no
checking for getprpwnam... no
checking for getprpwnam... (cached) no
checking whether gcc accepts -fpic... yes
checking for long long... yes
checking for 64 bit off_t... no
checking for off64_t... yes
checking for 64 bit ino_t... no
checking for ino64_t... yes
checking for union semun... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... yes
checking if gettimeofday takes tz argument... yes
checking for broken readdir... no
checking for utimbuf... yes
checking for kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for test routines... yes
checking for ftruncate extend... yes
checking for broken getgroups... no
checking whether getpass should be replaced... no
checking for broken inet_ntoa... no
checking for root... yes
checking for netmask ifconf... yes
checking for trapdoor seteuid... no
checking for shared mmap... yes
checking for fcntl locking... yes
checking for 64 bit fcntl locking... yes
checking for sysv ipc... yes
checking whether to use smbwrapper... no
checking whether to use AFS... no
checking whether to use DFS auth... no
checking whether to use Kerberos IV... no
checking whether to use AUTOMOUNT... no
checking whether to use SMBMOUNT... no
checking whether to use LDAP password database... no
checking whether to use NISPLUS password database... no
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use MMAP... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support netatalk... no
checking whether to support disk-quotas... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking configure summary
configure OK
updating cache ./config.cache
creating ./config.status
creating include/stamp-h
creating Makefile
creating include/config.h
include/config.h is unchanged
#




More information about the samba mailing list