Barry Ogletree
2004-Jun-02 12:49 UTC
[Samba] SAMBA 3.0.4 on AIX 5.2 configure usability question?
Hopefully someone can hep. I am trying to compile Samba 3.0.4 on AIX 5.2 with AD Support. The problem is that it compiles fine but does a core dump when it's use is attempted. Several of the configuration usability parameters are showing NO. Expecially the CoreFoundation, fcntl, and syscall related areas. I need help determining what my problem is, and is there a place where I can find a definition of what these config entries should say during that process? I compiled the MIT versions of KRB5 and it tested out fine. Thanks in advance, Barry Ogletree 770-653-5086 Here is the configure script output without the warnings: checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... ./install-sh -c checking for gawk... no checking for mawk... no checking for nawk... nawk checking for perl... //bin/perl checking for ar... ar checking if the linker (ld) is GNU ld... no checking for library containing strerror... none required checking whether gcc and cc understand -c and -o together... yes checking that the C compiler understands -Werror... yes checking that the C compiler understands volatile... yes checking uname -s... AIX checking uname -r... 2 checking uname -m... 0000434F4C00 checking uname -p... powerpc checking build system type... powerpc-ibm-aix5.2.0.0 checking host system type... powerpc-ibm-aix5.2.0.0 checking target system type... powerpc-ibm-aix5.2.0.0 checking config.cache system type... same checking for gcc option to accept ANSI C... none needed checking for inline... inline checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/fcntl.h usability... no checking sys/fcntl.h presence... no checking for sys/fcntl.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/unistd.h usability... no checking sys/unistd.h presence... no checking for sys/unistd.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/id.h usability... yes checking sys/id.h presence... yes checking for sys/id.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking rpc/rpc.h usability... yes checking rpc/rpc.h presence... yes checking for rpc/rpc.h... yes checking rpcsvc/nis.h usability... yes checking rpcsvc/nis.h presence... yes checking for rpcsvc/nis.h... yes checking rpcsvc/yp_prot.h usability... no checking rpcsvc/yp_prot.h presence... yes checking for rpcsvc/yp_prot.h... yes checking rpcsvc/ypclnt.h usability... yes checking rpcsvc/ypclnt.h presence... yes checking for rpcsvc/ypclnt.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/wait.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mode.h usability... yes checking sys/mode.h presence... yes checking for sys/mode.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/priv.h usability... yes checking sys/priv.h presence... yes checking for sys/priv.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/mount.h usability... no checking sys/mount.h presence... no checking for sys/mount.h... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... yes checking sys/filsys.h presence... yes checking for sys/filsys.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/termio.h usability... yes checking sys/termio.h presence... yes checking for sys/termio.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/dustat.h usability... no checking sys/dustat.h presence... no checking for sys/dustat.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking security/_pam_macros.h usability... no checking security/_pam_macros.h presence... no checking for security/_pam_macros.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking CoreFoundation/CFStringEncodingConverter.h usability... no checking CoreFoundation/CFStringEncodingConverter.h presence... no checking for CoreFoundation/CFStringEncodingConverter.h... no checking CFStringEncodingConverter.h usability... no checking CFStringEncodingConverter.h presence... no checking for CFStringEncodingConverter.h... no checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/tcp.h usability... no checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in_ip.h usability... no checking netinet/in_ip.h presence... no checking for netinet/in_ip.h... no checking nss.h usability... no checking nss.h presence... no checking for nss.h... no checking nss_common.h usability... no checking nss_common.h presence... no checking for nss_common.h... no checking nsswitch.h usability... no checking nsswitch.h presence... no checking for nsswitch.h... no checking ns_api.h usability... no checking ns_api.h presence... no checking for ns_api.h... no checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for security/pam_modules.h... (cached) yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking syscall.h usability... no checking syscall.h presence... no checking for syscall.h... no checking sys/syscall.h usability... no checking sys/syscall.h presence... no checking for sys/syscall.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking sys/xattr.h usability... no checking sys/xattr.h presence... no checking for sys/xattr.h... no checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking lastlog.h usability... no checking lastlog.h presence... no checking for lastlog.h... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for short... yes checking size of short... 2 checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking whether byte ordering is bigendian... yes checking whether char is unsigned... yes 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 struct stat.st_rdev... yes checking for d_off in dirent... no checking for ino_t... yes checking for loff_t... no checking for offset_t... yes checking for ssize_t... yes checking for wchar_t... yes checking for cups-config... no checking for library containing dlopen... none required checking for immediate structures... yes checking if the compiler will optimize out function calls... yes checking for unix domain sockets... yes checking for socklen_t type... yes checking for sig_atomic_t type... yes checking for errno declaration... yes checking for setresuid declaration... no checking for setresgid declaration... no checking for asprintf declaration... no checking for vasprintf declaration... no checking for vsnprintf declaration... yes checking for snprintf declaration... yes checking for real setresuid... no checking for real setresgid... no checking for working memcmp... yes checking whether to use readline... yes checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking history.h usability... no checking history.h presence... no checking for history.h... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking readline/history.h usability... no checking readline/history.h presence... no checking for readline/history.h... no checking for readline.h... (cached) no checking for readline/readline.h... (cached) no checking for rl_completion_matches in -lreadline... no checking for connect... yes checking for library containing yp_get_default_domain... none required checking for yp_get_default_domain... yes checking for execl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking for dlerror... yes checking for waitpid... yes checking for getcwd... yes checking for strdup... yes checking for strndup... yes checking for strnlen... yes checking for strtoul... yes checking for strerror... yes checking for chown... yes checking for fchown... yes checking for chmod... yes checking for fchmod... yes checking for chroot... yes checking for link... yes checking for mknod... yes checking for mknod64... no 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 bzero... yes checking for memset... yes checking for strlcpy... no checking for strlcat... no checking for setpgid... yes checking for memmove... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... no checking for vasprintf... no 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... yes checking for sigaction... yes checking for sigset... 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 poll... yes checking for rdchk... no checking for getgrnam... yes checking for getgrent... yes checking for pathconf... yes checking for realpath... yes checking for setpriv... yes checking for setgidx... yes checking for setuidx... yes checking for setgroups... yes checking for sysconf... 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 readdir64... no checking for fseek64... no checking for fseeko64... yes checking for ftell64... no checking for ftello64... yes checking for setluid... no checking for getpwanam... no checking for setlinebuf... yes checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for setenv... yes checking for usleep... yes checking for strcasecmp... yes checking for fcvt... yes checking for fcvtl... no checking for symlink... yes checking for readlink... yes checking for syslog... yes checking for vsyslog... no checking for timegm... no checking for setlocale... yes checking for nl_langinfo... yes checking for setbuffer... yes checking for shmget... yes checking for shm_open... yes checking for backtrace_symbols... no checking libexc.h usability... no checking libexc.h presence... no checking for libexc.h... no checking for trace_back_stack in -lexc... no checking for syscall... no checking for _dup... no checking for _dup2... no checking for _opendir... no checking for _readdir... yes checking for _seekdir... no checking for _telldir... no checking for _closedir... no 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... no checking for __xstat... no checking for __fxstat... no checking for __lxstat... no checking for _stat... no checking for _lstat... no checking for _fstat... no checking for __stat... no checking for __lstat... no checking for __fstat... no checking for _acl... no checking for __acl... no checking for _facl... no checking for __facl... no checking for _open... no checking for __open... no checking for _chdir... no checking for __chdir... no checking for _close... no checking for __close... no checking for _fchdir... no checking for __fchdir... no checking for _fcntl... no checking for __fcntl... yes checking for getdents... no checking for _getdents... no checking for __getdents... no checking for _lseek... yes checking for __lseek... no checking for _read... no checking for __read... no checking for getdirentries... yes checking for _write... no checking for __write... no checking for _fork... no checking for __fork... yes checking for _stat64... no checking for __stat64... no checking for _fstat64... no checking for __fstat64... no checking for _lstat64... no checking for __lstat64... no checking for __sys_llseek... no checking for llseek... yes checking for _llseek... no checking for __llseek... no checking for readdir64... (cached) no checking for _readdir64... no checking for __readdir64... no checking for pread... yes checking for _pread... no checking for __pread... no checking for pread64... yes checking for _pread64... no checking for __pread64... no checking for pwrite... yes checking for _pwrite... no checking for __pwrite... no checking for pwrite64... yes checking for _pwrite64... no checking for __pwrite64... no checking for open64... yes checking for _open64... no checking for __open64... no checking for creat64... yes checking for getgrouplist... no checking for dn_expand in -lresolv... no 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 -lgen... no checking for getspnam... no checking for getspnam in -lsecurity... no checking for getspnam... (cached) no checking for getspnam in -lsec... no checking for getspnam... (cached) no checking for bigcrypt in -lsecurity... no checking for bigcrypt... no checking for bigcrypt in -lsec... no checking for bigcrypt... (cached) no checking for getprpwnam in -lsecurity... no checking for getprpwnam... no checking for getprpwnam in -lsec... no checking for getprpwnam... (cached) no checking for library containing getxattr... no checking for getxattr... no checking for lgetxattr... no checking for fgetxattr... no checking for listxattr... no checking for llistxattr... no checking for flistxattr... no checking for removexattr... no checking for lremovexattr... no checking for fremovexattr... no checking for setxattr... no checking for lsetxattr... no checking for fsetxattr... no checking for attr_get... no checking for attr_list... no checking for attr_set... no checking for attr_remove... no checking for attr_getf... no checking for attr_listf... no checking for attr_setf... no checking for attr_removef... no checking ability to build shared libraries... true checking linker flags for shared libraries... -Wl,-bexpall,-bM:SRE,-bnoentry,-berok checking compiler flags for position-independent code... -O2 checking whether building shared libraries actually works... yes checking for long long... yes checking for LL suffix on long long integers... 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 dev64_t... yes checking for struct dirent64... no checking for major macro... no checking for minor macro... no checking for unsigned char... yes checking for sin_len in sock... yes checking whether seekdir returns void... yes checking for __FUNCTION__ macro... yes checking if gettimeofday takes tz argument... yes checking for va_copy... yes checking for C99 vsnprintf... yes checking for broken readdir... no checking for utimbuf... yes checking for pututline... yes checking for pututxline... yes checking for updwtmp... yes checking for updwtmpx... no checking for getutmpx... no checking for ut_name in utmp... yes checking for ut_user in utmp... yes checking for ut_id in utmp... yes checking for ut_host in utmp... yes checking for ut_time in utmp... yes checking for ut_tv in utmp... no checking for ut_type in utmp... yes checking for ut_pid in utmp... yes checking for ut_exit in utmp... yes checking for ut_addr in utmp... no checking whether pututline returns pointer... yes checking for ut_syslen in utmpx... no checking for iconv in /usr... yes checking can we convert from CP850 to UCS2-LE?... no checking can we convert from IBM850 to UCS2-LE?... no checking can we convert from ASCII to UCS2-LE?... no checking can we convert from 646 to UCS2-LE?... no checking can we convert from UTF-8 to UCS2-LE?... no checking can we convert from UTF8 to UCS2-LE?... no checking for iconv in /usr/local... yes checking can we convert from CP850 to UCS2-LE?... CP850 checking can we convert from ASCII to UCS2-LE?... ASCII checking can we convert from UTF-8 to UCS2-LE?... UTF-8 checking for Linux kernel oplocks... no checking for kernel change notify support... no checking for kernel share modes... no checking for IRIX kernel oplock type definitions... no checking for irix specific capabilities... no checking for int16 typedef included by rpc/rpc.h... yes checking for uint16 typedef included by rpc/rpc.h... no checking for int32 typedef included by rpc/rpc.h... yes checking for uint32 typedef included by rpc/rpc.h... no checking for conflicting AUTH_ERROR define in rpc/rpc.h... no checking for test routines... yes checking for ftruncate extend... yes checking for AF_LOCAL socket support... no checking for broken getgroups... no checking whether getpass should be replaced... yes checking for broken inet_ntoa... no checking for secure mkstemp... yes checking for sysconf(_SC_NGROUPS_MAX)... yes checking for sysconf(_SC_NPROC_ONLN)... no checking for root... yes checking for iface AIX... got 3 interfaces: en0 IP=10.4.6.240 NETMASK=255.255.255.0 en1 IP=10.4.19.90 NETMASK=255.0.0.0 lo0 IP=127.0.0.1 NETMASK=255.0.0.0 yes checking for setresuid... no checking for setreuid... OK yes checking for working mmap... yes checking for ftruncate needs root... no checking for fcntl locking... yes checking for broken (glibc2.1/x86) 64 bit fcntl locking... no checking for 64 bit fcntl locking... yes checking for st_blocks in struct stat... yes checking for st_blksize in struct stat... yes checking for broken nisplus include files... no checking whether to use smbwrapper... no checking whether to use AFS clear-text auth... no checking whether to use AFS fake-kaserver... no checking whether to use DFS clear-text auth... no checking for LDAP support... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ber_scanf in -llber... yes checking for ldap_init in -lldap... yes checking for ldap_domain2hostlist... yes checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 3 checking for ldap_initialize... yes checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for krb5-config... /usr/krb5/bin/krb5-config checking for working krb5-config... yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking com_err.h usability... yes checking com_err.h presence... yes checking for com_err.h... yes checking for _et_list in -lcom_err... no checking for krb5_encrypt_data in -lk5crypto... yes checking for des_set_key in -lcrypto... no checking for copy_Authenticator in -lasn1... no checking for roken_getaddrinfo_hostspec in -lroken... no checking for gss_display_status in -lgssapi... no checking for krb5_mk_req_extended in -lkrb5... yes checking for gss_display_status in -lgssapi_krb5... yes checking for krb5_set_real_time... yes checking for krb5_set_default_in_tkt_etypes... no checking for krb5_set_default_tgs_ktypes... yes checking for krb5_principal2salt... yes checking for krb5_use_enctype... yes checking for krb5_string_to_key... yes checking for krb5_get_pw_salt... no checking for krb5_string_to_key_salt... no checking for krb5_auth_con_setkey... no checking for krb5_auth_con_setuseruserkey... yes checking for krb5_locate_kdc... yes checking for krb5_get_permitted_enctypes... yes checking for krb5_get_default_in_tkt_etypes... no checking for krb5_free_ktypes... yes checking for krb5_free_data_contents... yes checking for krb5_principal_get_comp_string... no checking for addrtype in krb5_address... yes checking for addr_type in krb5_address... no checking for enc_part2 in krb5_ticket... yes checking for keyvalue in krb5_keyblock... no checking for ENCTYPE_ARCFOUR_HMAC_MD5... no checking for KEYTYPE_ARCFOUR_56... no checking for AP_OPTS_USE_SUBKEY... yes checking for the krb5_princ_component macro... yes checking for key in krb5_keytab_entry... yes checking for keyblock in krb5_keytab_entry... no checking whether Active Directory and krb5 support is used... yes checking whether to build experimental passdb libraries... no checking whether to use automount... no checking whether to use smbmount... no checking whether to use PAM... no checking for pam_get_data in -lpam... yes checking whether to use pam_smbpass... no checking for library containing crypt... none required checking for a crypt that needs truncated salt... no checking whether to use LDAP SAM 2.2 compatible configuration... yes checking whether to use NISPLUS_HOME... no checking whether to use syslog logging... no checking whether to use profiling... no checking whether to try disk-quotas support... no checking whether to try the new lib/sysquotas.c interface... no checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking sys/fs/vx_quota.h usability... no checking sys/fs/vx_quota.h presence... no checking for sys/fs/vx_quota.h... no checking sys/quota.h usability... no checking sys/quota.h presence... no checking for sys/quota.h... no checking for XFS QUOTA in <sys/quota.h>... no checking if struct dqblk has .dqb_fsoftlimit... no checking for long quotactl(int cmd, char *special, qid_t id, caddr_t addr)... no checking for int quotactl(const char *path, int cmd, int id, char *addr)... no checking for CRAY int quotactl (char *spec, int request, char *arg)... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for setmntent... yes checking for getmntent... yes checking for endmntent... yes checking devnm.h usability... no checking devnm.h presence... no checking for devnm.h... no checking for devnm... no checking whether the old quota support works... yes checking whether to use the old quota support... no checking whether to support utmp accounting... yes checking chosen man pages' language(s)... en checking whether to build the libsmbclient shared library... yes configure: checking how to get filesystem space usage... checking statvfs64 function (SVR4)... no checking statvfs function (SVR4)... yes checking if large file support can be enabled... yes checking whether to support ACLs... Using AIX ACLs checking whether to check to support sendfile... yes checking whether to build winbind... yes checking for struct passwd.pw_comment... no checking for struct passwd.pw_age... no checking for poptGetContext in -lpopt... no checking whether to use included popt... yes checking how to build pdb_xml... not checking how to build pdb_mysql... not checking how to build pdb_pgsql... not checking how to build pdb_ldap... static checking how to build pdb_smbpasswd... static checking how to build pdb_tdbsam... static checking how to build pdb_guest... static checking how to build rpc_lsa... static checking how to build rpc_reg... static checking how to build rpc_lsa_ds... static checking how to build rpc_wks... static checking how to build rpc_net... static checking how to build rpc_dfs... static checking how to build rpc_srv... static checking how to build rpc_spoolss... static checking how to build rpc_samr... static checking how to build rpc_echo... not checking how to build idmap_ldap... static checking how to build idmap_tdb... static checking how to build charset_weird... not checking how to build charset_CP850... shared checking how to build charset_CP437... shared checking how to build charset_macosxfs... not checking how to build auth_rhosts... static checking how to build auth_sam... static checking how to build auth_unix... static checking how to build auth_winbind... static checking how to build auth_server... static checking how to build auth_domain... static checking how to build auth_builtin... static checking how to build vfs_recycle... shared checking how to build vfs_audit... shared checking how to build vfs_extd_audit... shared checking how to build vfs_netatalk... shared checking how to build vfs_fake_perms... shared checking how to build vfs_default_quota... shared checking how to build vfs_readonly... shared checking how to build vfs_cap... shared checking how to build vfs_expand_msdfs... shared checking how to build vfs_shadow_copy... shared Using libraries: LIBS = -liconv KRB5_LIBS = -L/usr/krb5/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err LDAP_LIBS = -lldap -llber AUTH_LIBS checking configure summary... yes configure: creating ./config.status config.status: creating include/stamp-h config.status: creating Makefile config.status: creating script/findsmb config.status: creating smbadduser config.status: creating script/gen-8bit-gap.sh config.status: creating include/config.h Here are the warnings from the configure: configure: WARNING: rpcsvc/yp_prot.h: present but cannot be compiled configure: WARNING: rpcsvc/yp_prot.h: check for missing prerequisite headers? configure: WARNING: rpcsvc/yp_prot.h: proceeding with the preprocessor's result configure: WARNING: netinet/tcp.h: present but cannot be compiled configure: WARNING: netinet/tcp.h: check for missing prerequisite headers? configure: WARNING: netinet/tcp.h: proceeding with the preprocessor's result Here is the make output without the warnings: Using FLAGS = -O -I/usr/krb5/include -I./popt -Iinclude -I/usr/src/samba-3.0.4/source/include -I/usr/src/samba-3.0.4/source/ubiqx -I/usr/src/samba-3.0.4/source/smbwrapper -I. -I/usr/local/include -I/usr/krb5/include -I/usr/src/samba-3.0.4/source LIBS = -liconv LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok -L/usr/local/lib LDFLAGS = -L/usr/local/lib Generating smbd/build_options.c Building include/proto.h creating /usr/src/samba-3.0.4/source/include/proto.h Building include/wrepld_proto.h creating /usr/src/samba-3.0.4/source/include/wrepld_proto.h Building include/build_env.h creating /usr/src/samba-3.0.4/source/nsswitch/winbindd_proto.h creating /usr/src/samba-3.0.4/source/web/swat_proto.h creating /usr/src/samba-3.0.4/source/client/client_proto.h creating /usr/src/samba-3.0.4/source/utils/net_proto.h Compiling dynconfig.c Compiling param/loadparm.c Compiling param/params.c Compiling smbd/files.c Compiling smbd/chgpasswd.c Compiling smbd/connection.c Compiling smbd/utmp.c Compiling smbd/session.c Compiling smbd/dfree.c Compiling smbd/dir.c Compiling smbd/password.c Compiling smbd/conn.c Compiling smbd/fileio.c Compiling smbd/ipc.c Compiling smbd/lanman.c Compiling smbd/negprot.c Compiling smbd/message.c Compiling smbd/nttrans.c Compiling smbd/pipes.c Compiling smbd/reply.c Compiling smbd/sesssetup.c Compiling smbd/trans2.c Compiling smbd/uid.c Compiling smbd/dosmode.c Compiling smbd/filename.c Compiling smbd/open.c Compiling smbd/close.c Compiling smbd/blocking.c Compiling smbd/sec_ctx.c Compiling smbd/srvstr.c Compiling smbd/vfs.c Compiling smbd/vfs-wrap.c Compiling smbd/statcache.c Compiling smbd/posix_acls.c Compiling lib/sysacls.c Compiling lib/server_mutex.c Compiling smbd/process.c Compiling smbd/service.c Compiling smbd/error.c Compiling printing/printfsp.c Compiling lib/sysquotas.c Compiling lib/sysquotas_linux.c Compiling lib/sysquotas_xfs.c Compiling lib/sysquotas_4A.c Compiling smbd/change_trust_pw.c Compiling smbd/fake_file.c Compiling smbd/quotas.c Compiling smbd/ntquotas.c Compiling lib/afs.c Compiling smbd/msdfs.c Compiling lib/afs_settoken.c Compiling smbd/mangle.c Compiling smbd/mangle_hash.c Compiling smbd/mangle_map.c Compiling smbd/mangle_hash2.c Compiling libsmb/clientgen.c Compiling libsmb/cliconnect.c Compiling libsmb/clifile.c Compiling libsmb/clikrb5.c Compiling libsmb/clispnego.c Compiling libsmb/asn1.c Compiling libsmb/clirap.c Compiling libsmb/clierror.c Compiling libsmb/climessage.c Compiling libsmb/clireadwrite.c Compiling libsmb/clilist.c Compiling libsmb/cliprint.c Compiling libsmb/clitrans.c Compiling libsmb/clisecdesc.c Compiling libsmb/clidgram.c Compiling libsmb/clistr.c Compiling lib/util_seaccess.c Compiling libsmb/cliquota.c Compiling libsmb/clifsinfo.c Compiling libsmb/smberr.c Compiling libsmb/credentials.c Compiling libsmb/pwd_cache.c Compiling libsmb/clioplock.c Compiling libsmb/errormap.c Compiling libsmb/clirap2.c Compiling libsmb/doserr.c Compiling rpc_parse/parse_prs.c Compiling rpc_parse/parse_sec.c Compiling rpc_parse/parse_misc.c Compiling libsmb/nterr.c Compiling libsmb/smbdes.c Compiling libsmb/smbencrypt.c Compiling libsmb/ntlm_check.c Compiling libsmb/ntlmssp.c Compiling libsmb/ntlmssp_parse.c Compiling libsmb/ntlmssp_sign.c Compiling libsmb/unexpected.c Compiling libsmb/namecache.c Compiling libsmb/nmblib.c Compiling libsmb/namequery.c Compiling libsmb/conncache.c Compiling rpc_server/srv_lsa.c Compiling rpc_server/srv_lsa_nt.c Compiling rpc_server/srv_reg.c Compiling rpc_server/srv_reg_nt.c Compiling rpc_server/srv_lsa_ds.c Compiling rpc_server/srv_lsa_ds_nt.c Compiling rpc_server/srv_wkssvc.c Compiling rpc_server/srv_wkssvc_nt.c Compiling rpc_server/srv_netlog.c Compiling rpc_server/srv_netlog_nt.c Compiling rpc_server/srv_dfs.c Compiling rpc_server/srv_dfs_nt.c Compiling rpc_server/srv_srvsvc.c Compiling rpc_server/srv_srvsvc_nt.c Compiling rpc_server/srv_spoolss.c Compiling rpc_server/srv_spoolss_nt.c Compiling rpc_server/srv_samr.c Compiling rpc_server/srv_samr_nt.c Compiling rpc_server/srv_samr_util.c Compiling rpc_server/srv_pipe_hnd.c Compiling rpc_server/srv_util.c Compiling rpc_server/srv_pipe.c Compiling rpc_server/srv_lsa_hnd.c Compiling rpc_parse/parse_lsa.c Compiling rpc_parse/parse_net.c Compiling rpc_parse/parse_reg.c Compiling rpc_parse/parse_rpc.c Compiling rpc_parse/parse_samr.c Compiling rpc_parse/parse_srv.c Compiling rpc_parse/parse_wks.c Compiling rpc_parse/parse_ds.c Compiling rpc_parse/parse_spoolss.c Compiling rpc_parse/parse_dfs.c Compiling rpc_parse/parse_echo.c Compiling rpc_parse/parse_shutdown.c Compiling registry/reg_objects.c Compiling passdb/secrets.c Compiling passdb/machine_sid.c Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.c Compiling smbd/tdbutil.c Compiling passdb/pdb_get_set.c Compiling passdb/passdb.c Compiling passdb/pdb_interface.c Compiling passdb/util_sam_sid.c Compiling passdb/pdb_compat.c Compiling passdb/privileges.c Compiling passdb/lookup_sid.c Compiling passdb/login_cache.c Compiling passdb/pdb_ldap.c Compiling passdb/pdb_smbpasswd.c Compiling passdb/pdb_tdb.c Compiling passdb/pdb_guest.c Compiling passdb/pdb_sql.c Compiling printing/pcap.c Compiling printing/print_svid.c Compiling printing/print_cups.c Compiling printing/print_generic.c Compiling printing/lpq_parse.c Compiling printing/load.c Compiling profile/profile.c Compiling lib/version.c Compiling lib/charcnv.c Compiling lib/debug.c Compiling lib/fault.c Compiling lib/getsmbpass.c Compiling lib/interface.c Compiling lib/md4.c Compiling lib/interfaces.c Compiling lib/pidfile.c Compiling lib/replace.c Compiling lib/replace1.c Compiling lib/signal.c Compiling lib/system.c Compiling lib/sendfile.c Compiling lib/time.c Compiling lib/ufc.c Compiling lib/genrand.c Compiling lib/username.c Compiling lib/util_getent.c Compiling lib/util_pw.c Compiling lib/access.c Compiling lib/smbrun.c Compiling lib/bitmap.c Compiling lib/crc32.c Compiling lib/snprintf.c Compiling lib/dprintf.c Compiling lib/xfile.c Compiling lib/wins_srv.c Compiling lib/util_str.c Compiling lib/clobber.c Compiling lib/util_sid.c Compiling lib/util_uuid.c Compiling lib/util_unistr.c Compiling lib/util_file.c Compiling lib/data_blob.c Compiling lib/util.c Compiling lib/util_sock.c Compiling lib/sock_exec.c Compiling lib/util_sec.c Compiling lib/talloc.c Compiling lib/hash.c Compiling lib/substitute.c Compiling lib/fsusage.c Compiling lib/ms_fnmatch.c Compiling lib/select.c Compiling lib/messages.c Compiling lib/tallocmsg.c Compiling lib/dmallocmsg.c Compiling libsmb/smb_signing.c Compiling lib/md5.c Compiling lib/hmacmd5.c Compiling lib/iconv.c Compiling nsswitch/wb_client.c Compiling nsswitch/wb_common.c Compiling lib/pam_errors.c Compiling intl/lang_tdb.c Compiling lib/account_pol.c Compiling lib/adt_tree.c Compiling lib/gencache.c Compiling tdb/tdb.c Compiling tdb/spinlock.c Compiling tdb/tdbutil.c Compiling tdb/tdbback.c Compiling lib/module.c Compiling lib/ldap_escape.c Compiling lib/privileges.c Compiling lib/secdesc.c Compiling lib/secace.c Compiling lib/secacl.c Compiling printing/printing.c Compiling printing/nt_printing.c Compiling printing/notify.c Compiling printing/printing_db.c Compiling smbd/oplock.c Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/notify.c Compiling smbd/notify_hash.c Compiling smbd/notify_kernel.c Compiling groupdb/mapping.c Compiling auth/auth.c Compiling auth/auth_rhosts.c Compiling auth/auth_sam.c Compiling auth/auth_unix.c Compiling auth/auth_winbind.c Compiling auth/auth_server.c Compiling auth/auth_domain.c Compiling auth/auth_builtin.c Compiling auth/auth_util.c Compiling auth/auth_compat.c Compiling auth/auth_ntlmssp.c Compiling auth/pampass.c Compiling auth/pass_check.c Compiling libsmb/samlogon_cache.c Compiling libsmb/namequery_dc.c Compiling libsmb/trustdom_cache.c Compiling libsmb/trusts_util.c Compiling rpc_client/cli_lsarpc.c Compiling rpc_client/cli_samr.c Compiling rpc_client/cli_netlogon.c Compiling rpc_client/cli_srvsvc.c Compiling rpc_client/cli_wkssvc.c Compiling rpc_client/cli_dfs.c Compiling rpc_client/cli_reg.c Compiling rpc_client/cli_pipe.c Compiling rpc_client/cli_spoolss.c Compiling rpc_client/cli_spoolss_notify.c Compiling rpc_client/cli_ds.c Compiling rpc_client/cli_echo.c Compiling rpc_client/cli_shutdown.c Compiling libads/ldap.c Compiling libads/ldap_printer.c Compiling libads/sasl.c Compiling libads/krb5_setpw.c Compiling libads/ldap_user.c Compiling libads/ads_struct.c Compiling libads/disp_sec.c Compiling libads/ads_utils.c Compiling libads/ldap_utils.c Compiling libads/ads_ldap.c Compiling libads/authdata.c Compiling libads/kerberos.c Compiling libads/ads_status.c Compiling libads/util.c Compiling libads/kerberos_verify.c Compiling lib/system_smbd.c Compiling lib/util_smbd.c Compiling registry/reg_frontend.c Compiling registry/reg_cachehook.c Compiling registry/reg_printing.c Compiling registry/reg_db.c Compiling lib/popt_common.c Compiling ubiqx/ubi_BinTree.c Compiling ubiqx/ubi_Cache.c Compiling ubiqx/ubi_SplayTree.c Compiling ubiqx/ubi_dLinkList.c Compiling ubiqx/ubi_sLinkList.c Compiling smbd/build_options.c Compiling lib/smbldap.c Compiling smbd/server.c Compiling popt/findme.c Compiling popt/popt.c Compiling popt/poptconfig.c Compiling popt/popthelp.c Compiling popt/poptparse.c Linking bin/smbd Compiling nmbd/asyncdns.c Compiling nmbd/nmbd.c Compiling nmbd/nmbd_become_dmb.c Compiling nmbd/nmbd_become_lmb.c Compiling nmbd/nmbd_browserdb.c Compiling nmbd/nmbd_browsesync.c Compiling nmbd/nmbd_elections.c Compiling nmbd/nmbd_incomingdgrams.c Compiling nmbd/nmbd_incomingrequests.c Compiling nmbd/nmbd_lmhosts.c Compiling nmbd/nmbd_logonnames.c Compiling nmbd/nmbd_mynames.c Compiling nmbd/nmbd_namelistdb.c Compiling nmbd/nmbd_namequery.c Compiling nmbd/nmbd_nameregister.c Compiling nmbd/nmbd_namerelease.c Compiling nmbd/nmbd_nodestatus.c Compiling nmbd/nmbd_packets.c Compiling nmbd/nmbd_processlogon.c Compiling nmbd/nmbd_responserecordsdb.c Compiling nmbd/nmbd_sendannounce.c Compiling nmbd/nmbd_serverlistdb.c Compiling nmbd/nmbd_subnetdb.c Compiling nmbd/nmbd_winsproxy.c Compiling nmbd/nmbd_winsserver.c Compiling nmbd/nmbd_workgroupdb.c Compiling nmbd/nmbd_synclists.c Compiling lib/dummysmbd.c Linking bin/nmbd Compiling web/cgi.c Compiling web/diagnose.c Compiling web/startstop.c Compiling web/statuspage.c Compiling web/swat.c Compiling web/neg_lang.c Compiling libsmb/passchange.c Compiling lib/dummyroot.c Linking bin/swat Compiling nsswitch/winbindd.c Compiling nsswitch/winbindd_user.c Compiling nsswitch/winbindd_group.c Compiling nsswitch/winbindd_util.c Compiling nsswitch/winbindd_cache.c Compiling nsswitch/winbindd_pam.c Compiling nsswitch/winbindd_sid.c Compiling nsswitch/winbindd_misc.c Compiling nsswitch/winbindd_cm.c Compiling nsswitch/winbindd_wins.c Compiling nsswitch/winbindd_rpc.c Compiling nsswitch/winbindd_ads.c Compiling nsswitch/winbindd_passdb.c Compiling nsswitch/winbindd_dual.c Compiling nsswitch/winbindd_acct.c Compiling sam/idmap.c Compiling sam/idmap_util.c Compiling sam/idmap_ldap.c Compiling sam/idmap_tdb.c Linking bin/winbindd Compiling client/client.c Compiling client/clitar.c Compiling lib/readline.c Linking bin/smbclient Compiling utils/net.c Compiling utils/net_ads.c Compiling utils/net_ads_cldap.c Compiling utils/net_help.c Compiling utils/net_rap.c Compiling utils/net_rpc.c Compiling utils/net_rpc_samsync.c Compiling utils/net_rpc_join.c Compiling utils/net_time.c Compiling utils/net_lookup.c Compiling utils/net_cache.c Compiling utils/net_groupmap.c Compiling utils/net_idmap.c Compiling utils/net_status.c Linking bin/net Compiling client/smbspool.c Linking bin/smbspool Compiling utils/testparm.c Linking bin/testparm Compiling utils/testprns.c Linking bin/testprns Compiling utils/status.c Linking bin/smbstatus Compiling utils/smbcontrol.c Linking bin/smbcontrol Compiling utils/smbtree.c Linking bin/smbtree Compiling tdb/tdbbackup.c Linking bin/tdbbackup Compiling utils/nmblookup.c Linking bin/nmblookup Compiling utils/pdbedit.c Linking bin/pdbedit Compiling tdb/tdbdump.c Linking bin/tdbdump Compiling utils/smbpasswd.c Linking bin/smbpasswd Compiling rpcclient/rpcclient.c Compiling rpcclient/cmd_lsarpc.c Compiling rpcclient/cmd_samr.c Compiling rpcclient/cmd_spoolss.c Compiling rpcclient/cmd_netlogon.c Compiling rpcclient/cmd_srvsvc.c Compiling rpcclient/cmd_dfs.c Compiling rpcclient/cmd_reg.c Compiling rpcclient/display_sec.c Compiling rpcclient/cmd_ds.c Compiling rpcclient/cmd_echo.c Compiling rpcclient/cmd_shutdown.c Linking bin/rpcclient Compiling utils/smbcacls.c Linking bin/smbcacls Compiling utils/profiles.c Linking bin/profiles Compiling utils/ntlm_auth.c Compiling utils/ntlm_auth_diagnostics.c Compiling libsmb/spnego.c Linking bin/ntlm_auth Compiling utils/smbcquotas.c Linking bin/smbcquotas Compiling nsswitch/wbinfo.c Linking bin/wbinfo Compiling nsswitch/wb_common.c with -O2 Compiling lib/replace1.c with -O2 Compiling nsswitch/winbind_nss_aix.c with -O2 Compiling lib/snprintf.c with -O2 Linking nsswitch/WINBIND Compiling libsmb/libsmbclient.c with -O2 Compiling libsmb/libsmb_compat.c with -O2 Compiling libsmb/libsmb_cache.c with -O2 Compiling dynconfig.c with -O2 Compiling param/loadparm.c with -O2 Compiling param/params.c with -O2 Compiling lib/version.c with -O2 Compiling lib/charcnv.c with -O2 Compiling lib/debug.c with -O2 Compiling lib/fault.c with -O2 Compiling lib/getsmbpass.c with -O2 Compiling lib/interface.c with -O2 Compiling lib/md4.c with -O2 Compiling lib/interfaces.c with -O2 Compiling lib/pidfile.c with -O2 Compiling lib/replace.c with -O2 Compiling lib/signal.c with -O2 Compiling lib/system.c with -O2 Compiling lib/sendfile.c with -O2 Compiling lib/time.c with -O2 Compiling lib/ufc.c with -O2 Compiling lib/genrand.c with -O2 Compiling lib/username.c with -O2 Compiling lib/util_getent.c with -O2 Compiling lib/util_pw.c with -O2 Compiling lib/access.c with -O2 Compiling lib/smbrun.c with -O2 Compiling lib/bitmap.c with -O2 Compiling lib/crc32.c with -O2 Compiling lib/dprintf.c with -O2 Compiling lib/xfile.c with -O2 Compiling lib/wins_srv.c with -O2 Compiling lib/util_str.c with -O2 Compiling lib/clobber.c with -O2 Compiling lib/util_sid.c with -O2 Compiling lib/util_uuid.c with -O2 Compiling lib/util_unistr.c with -O2 Compiling lib/util_file.c with -O2 Compiling lib/data_blob.c with -O2 Compiling lib/util.c with -O2 Compiling lib/util_sock.c with -O2 Compiling lib/sock_exec.c with -O2 Compiling lib/util_sec.c with -O2 Compiling lib/talloc.c with -O2 Compiling lib/hash.c with -O2 Compiling lib/substitute.c with -O2 Compiling lib/fsusage.c with -O2 Compiling lib/ms_fnmatch.c with -O2 Compiling lib/select.c with -O2 Compiling lib/messages.c with -O2 Compiling lib/tallocmsg.c with -O2 Compiling lib/dmallocmsg.c with -O2 Compiling libsmb/smb_signing.c with -O2 Compiling lib/md5.c with -O2 Compiling lib/hmacmd5.c with -O2 Compiling lib/iconv.c with -O2 Compiling nsswitch/wb_client.c with -O2 Compiling lib/pam_errors.c with -O2 Compiling intl/lang_tdb.c with -O2 Compiling lib/account_pol.c with -O2 Compiling lib/adt_tree.c with -O2 Compiling lib/gencache.c with -O2 Compiling tdb/tdb.c with -O2 Compiling tdb/spinlock.c with -O2 Compiling tdb/tdbutil.c with -O2 Compiling tdb/tdbback.c with -O2 Compiling lib/module.c with -O2 Compiling lib/ldap_escape.c with -O2 Compiling lib/privileges.c with -O2 Compiling lib/secdesc.c with -O2 Compiling lib/secace.c with -O2 Compiling lib/secacl.c with -O2 Compiling lib/dummysmbd.c with -O2 Compiling libsmb/clientgen.c with -O2 Compiling libsmb/cliconnect.c with -O2 Compiling libsmb/clifile.c with -O2 Compiling libsmb/clikrb5.c with -O2 Compiling libsmb/clispnego.c with -O2 Compiling libsmb/asn1.c with -O2 Compiling libsmb/clirap.c with -O2 Compiling libsmb/clierror.c with -O2 Compiling libsmb/climessage.c with -O2 Compiling libsmb/clireadwrite.c with -O2 Compiling libsmb/clilist.c with -O2 Compiling libsmb/cliprint.c with -O2 Compiling libsmb/clitrans.c with -O2 Compiling libsmb/clisecdesc.c with -O2 Compiling libsmb/clidgram.c with -O2 Compiling libsmb/clistr.c with -O2 Compiling lib/util_seaccess.c with -O2 Compiling libsmb/cliquota.c with -O2 Compiling libsmb/clifsinfo.c with -O2 Compiling libsmb/smberr.c with -O2 Compiling libsmb/credentials.c with -O2 Compiling libsmb/pwd_cache.c with -O2 Compiling libsmb/clioplock.c with -O2 Compiling libsmb/errormap.c with -O2 Compiling libsmb/clirap2.c with -O2 Compiling libsmb/doserr.c with -O2 Compiling rpc_parse/parse_prs.c with -O2 Compiling rpc_parse/parse_sec.c with -O2 Compiling rpc_parse/parse_misc.c with -O2 Compiling libsmb/nterr.c with -O2 Compiling libsmb/smbdes.c with -O2 Compiling libsmb/smbencrypt.c with -O2 Compiling libsmb/ntlm_check.c with -O2 Compiling libsmb/ntlmssp.c with -O2 Compiling libsmb/ntlmssp_parse.c with -O2 Compiling libsmb/ntlmssp_sign.c with -O2 Compiling libsmb/unexpected.c with -O2 Compiling libsmb/namecache.c with -O2 Compiling libsmb/nmblib.c with -O2 Compiling libsmb/namequery.c with -O2 Compiling libsmb/conncache.c with -O2 Compiling libads/kerberos.c with -O2 Compiling libads/ads_status.c with -O2 Compiling ubiqx/ubi_BinTree.c with -O2 Compiling ubiqx/ubi_Cache.c with -O2 Compiling ubiqx/ubi_SplayTree.c with -O2 Compiling ubiqx/ubi_dLinkList.c with -O2 Compiling ubiqx/ubi_sLinkList.c with -O2 Compiling rpc_client/cli_lsarpc.c with -O2 Compiling rpc_client/cli_samr.c with -O2 Compiling rpc_client/cli_netlogon.c with -O2 Compiling rpc_client/cli_srvsvc.c with -O2 Compiling rpc_client/cli_wkssvc.c with -O2 Compiling rpc_client/cli_dfs.c with -O2 Compiling rpc_client/cli_reg.c with -O2 Compiling rpc_client/cli_pipe.c with -O2 Compiling rpc_client/cli_spoolss.c with -O2 Compiling rpc_client/cli_spoolss_notify.c with -O2 Compiling rpc_client/cli_ds.c with -O2 Compiling rpc_client/cli_echo.c with -O2 Compiling rpc_client/cli_shutdown.c with -O2 Compiling rpc_parse/parse_lsa.c with -O2 Compiling rpc_parse/parse_net.c with -O2 Compiling rpc_parse/parse_reg.c with -O2 Compiling rpc_parse/parse_rpc.c with -O2 Compiling rpc_parse/parse_samr.c with -O2 Compiling rpc_parse/parse_srv.c with -O2 Compiling rpc_parse/parse_wks.c with -O2 Compiling rpc_parse/parse_ds.c with -O2 Compiling rpc_parse/parse_spoolss.c with -O2 Compiling rpc_parse/parse_dfs.c with -O2 Compiling rpc_parse/parse_echo.c with -O2 Compiling rpc_parse/parse_shutdown.c with -O2 Compiling registry/reg_objects.c with -O2 Compiling passdb/pdb_get_set.c with -O2 Linking libsmbclient non-shared library bin/libsmbclient.a Linking libsmbclient shared library bin/libsmbclient.so Compiling modules/vfs_recycle.c with -O2 Building plugin bin/recycle.so Compiling modules/vfs_audit.c with -O2 Building plugin bin/audit.so Compiling modules/vfs_extd_audit.c with -O2 Building plugin bin/extd_audit.so Compiling modules/vfs_netatalk.c with -O2 Building plugin bin/netatalk.so Compiling modules/vfs_fake_perms.c with -O2 Building plugin bin/fake_perms.so Compiling modules/vfs_default_quota.c with -O2 Building plugin bin/default_quota.so Compiling modules/vfs_readonly.c with -O2 Compiling modules/getdate.c with -O2 Building plugin bin/readonly.so Compiling modules/vfs_cap.c with -O2 Building plugin bin/cap.so Compiling modules/vfs_expand_msdfs.c with -O2 Building plugin bin/expand_msdfs.so Compiling modules/vfs_shadow_copy.c with -O2 Building plugin bin/shadow_copy.so Compiling modules/CP850.c with -O2 Building plugin bin/CP850.so Compiling modules/CP437.c with -O2 Building plugin bin/CP437.so Target "all" is up to date. Here are the warnings from the make process: smbd/chgpasswd.c: In function `chgpasswd': smbd/chgpasswd.c:551: warning: passing arg 2 of `chat_with_program' discards qualifiers from pointer target type lib/sysacls.c: In function `sys_acl_set_file': lib/sysacls.c:2929: warning: passing arg 1 of `chacl' discards qualifiers from pointer target type libsmb/clireadwrite.c: In function `cli_issue_read': libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c: In function `cli_issue_write': libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type rpc_server/srv_spoolss_nt.c: In function `construct_printer_info_7': rpc_server/srv_spoolss_nt.c:4288: warning: passing arg 3 of `is_printer_published' from incompatible pointer type passdb/pdb_ldap.c: In function `ldapsam_alias_memberships': passdb/pdb_ldap.c:2539: warning: passing arg 5 of `smbldap_search' from incompatible pointer type printing/pcap.c: In function `pcap_printername_ok': printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers from pointer target type printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers from pointer target type printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers from pointer target type lib/util_str.c: In function `strstr_m': lib/util_str.c:1324: warning: return discards qualifiers from pointer target type lib/iconv.c: In function `sys_iconv': lib/iconv.c:131: warning: passing arg 2 of `libiconv' from incompatible pointer type tdb/tdbutil.c: In function `make_tdb_data': tdb/tdbutil.c:46: warning: assignment discards qualifiers from pointer target type libads/ldap.c: In function `ads_workgroup_name': libads/ldap.c:2103: warning: passing arg 5 of `ads_pull_strings' from incompatible pointer type libads/krb5_setpw.c: In function `do_krb5_kpasswd_request': libads/krb5_setpw.c:372: warning: passing arg 3 of `ngetpeername' from incompatible pointer type libads/krb5_setpw.c:374: warning: passing arg 3 of `ngetsockname' from incompatible pointer type libads/kerberos.c: In function `kerberos_kinit_password': libads/kerberos.c:84: warning: passing arg 6 of `krb5_get_init_creds_password' discards qualifiers from pointer target type nsswitch/winbindd_ads.c: In function `lookup_groupmem': nsswitch/winbindd_ads.c:743: warning: passing arg 7 of `ads_pull_strings_range' from incompatible pointer type nsswitch/winbindd_acct.c: In function `string2group': nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from incompatible pointer type client/client.c: In function `do_get': client/client.c:699: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type client/client.c: In function `do_put': client/client.c:1075: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type utils/net_lookup.c: In function `net_lookup_kdc': utils/net_lookup.c:212: warning: passing arg 3 of `krb5_locate_kdc' from incompatible pointer type utils/smbcontrol.c: In function `do_printnotify': utils/smbcontrol.c:431: warning: passing arg 3 of `notify_printer_byname' discards qualifiers from pointer target type rpcclient/cmd_spoolss.c: In function `get_driver_3_param': rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers from pointer target type rpcclient/cmd_reg.c: In function `cmd_reg_shutdown': rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible pointer type rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init': rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible pointer type libsmb/spnego.c: In function `read_negTokenInit': libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible pointer type libsmb/spnego.c: In function `read_negTokenTarg': libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible pointer type libsmb/spnego.c: In function `free_spnego_data': libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from pointer target type libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from pointer target type In file included from nsswitch/winbind_nss_aix.c:50: /usr/include/usersec.h:656: warning: `struct aud_rec' declared inside parameter list /usr/include/usersec.h:656: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/usersec.h:657: warning: `struct aud_rec' declared inside parameter list lib/util_str.c: In function `strstr_m': lib/util_str.c:1324: warning: return discards qualifiers from pointer target type lib/iconv.c: In function `sys_iconv': lib/iconv.c:131: warning: passing arg 2 of `libiconv' from incompatible pointer type tdb/tdbutil.c: In function `make_tdb_data': tdb/tdbutil.c:46: warning: assignment discards qualifiers from pointer target type libsmb/clireadwrite.c: In function `cli_issue_read': libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c:54: warning: right shift count >= width of type libsmb/clireadwrite.c: In function `cli_issue_write': libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type libsmb/clireadwrite.c:301: warning: right shift count >= width of type libads/kerberos.c: In function `kerberos_kinit_password': libads/kerberos.c:84: warning: passing arg 6 of `krb5_get_init_creds_password' discards qualifiers from pointer target type Other questions: 1. Is this specific to Samba 3.0.4 and should I step back to 3.0.2