gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c loginrec.c: In function `construct_utmp': loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c:619: structure has no member named `ut_user' loginrec.c: In function `syslogin_perform_login': loginrec.c:1256: warning: implicit declaration of function `login' loginrec.c: In function `syslogin_perform_logout': loginrec.c:1269: warning: implicit declaration of function `logout' loginrec.c:1273: warning: implicit declaration of function `logwtmp' *** Error code 1 Stop. creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking host system type... i386-unknown-freebsd3.5 checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking for ar... ar checking for perl... /usr/bin/perl checking for ent... no checking for inline... inline checking for deflate in -lz... yes checking for login in -lutil... yes checking for yp_match in -lnsl... no checking for main in -lsocket... no checking for bstring.h... no checking for endian.h... no checking for lastlog.h... no checking for limits.h... yes checking for login.h... no checking for maillock.h... no checking for netdb.h... yes checking for netgroup.h... no checking for netinet/in_systm.h... yes checking for paths.h... yes checking for poll.h... yes checking for pty.h... no checking for shadow.h... no checking for security/pam_appl.h... yes checking for sys/bitypes.h... no checking for sys/bsdtty.h... no checking for sys/cdefs.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for sys/stat.h... yes checking for sys/stropts.h... no checking for sys/sysmacros.h... no checking for sys/time.h... yes checking for sys/ttcompat.h... no checking for stddef.h... yes checking for time.h... yes checking for util.h... no checking for utmp.h... yes checking for utmpx.h... no checking for arc4random... yes checking for atexit... yes checking for b64_ntop... no checking for bcopy... yes checking for bindresvport_af... no checking for clock... yes checking for freeaddrinfo... no checking for gai_strerror... no checking for getaddrinfo... no checking for getnameinfo... no checking for getrusage... yes checking for innetgr... yes checking for md5_crypt... no checking for memmove... yes checking for mkdtemp... yes checking for on_exit... no checking for openpty... yes checking for rresvport_af... no checking for setenv... yes checking for seteuid... yes checking for setlogin... yes checking for setproctitle... yes checking for setreuid... yes checking for snprintf... yes checking for strlcat... yes checking for strlcpy... yes checking for vsnprintf... yes checking for vhangup... no checking for _getpty... no checking for __b64_ntop... yes checking for gettimeofday... yes checking for time... yes checking for login... yes checking for logout... yes checking for updwtmp... no checking for logwtmp... yes checking for entutent... no checking for getutent... no checking for getutid... no checking for getutline... no checking for pututline... no checking for setutent... no checking for utmpname... no checking for entutxent... no checking for getutxent... no checking for getutxid... no checking for getutxline... no checking for pututxline... no checking for setutxent... no checking for utmpxname... no checking for login... (cached) yes checking for daemon... yes checking for getpagesize... yes checking whether snprintf correctly terminates long strings... yes checking for dlopen in -ldl... no checking for pam_getenvlist... yes checking whether pam_strerror takes only one argument... no checking for OpenSSL directory... /usr/local/ssl checking for RSA support... yes checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 4 checking size of long long int... 8 checking for intXX_t types... yes checking for u_intXX_t types... yes checking for socklen_t... yes checking for size_t... yes checking for ssize_t... yes checking for sa_family_t... yes checking for pid_t... yes checking for mode_t... yes checking for struct sockaddr_storage... no checking for struct sockaddr_in6... no checking for struct in6_addr... no checking for struct addrinfo... no checking for ut_host field in utmp.h... yes checking for ut_host field in utmpx.h... no checking for syslen field in utmpx.h... no checking for ut_pid field in utmp.h... no checking for ut_type field in utmp.h... no checking for ut_type field in utmpx.h... no checking for ut_tv field in utmp.h... no checking for ut_id field in utmp.h... no checking for ut_id field in utmpx.h... no checking for ut_addr field in utmp.h... no checking for ut_addr field in utmpx.h... no checking for ut_addr_v6 field in utmp.h... no checking for ut_addr_v6 field in utmpx.h... no checking for ut_exit field in utmp.h... no checking for ut_time field in utmp.h... yes checking for ut_time field in utmpx.h... no checking for ut_tv field in utmpx.h... no checking for ss_family field in struct sockaddr_storage... no checking for __ss_family field in struct sockaddr_storage... no checking if libc defines __progname... yes checking for rsh... /usr/bin/rsh checking for xauth... no checking for /dev/ptmx... no checking for /dev/ptc... no checking for /dev/urandom... yes checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... yes checking if your system defines UTMP_FILE... no checking if your system defines WTMP_FILE... no checking if your system defines UTMPX_FILE... no checking if your system defines WTMPX_FILE... no updating cache ./config.cache creating ./config.status creating Makefile creating ssh_prng_cmds creating config.h OpenSSH configured has been configured with the following options. User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /usr/local/etc Askpass program: /usr/local/libexec/ssh/ssh-askpass Manual pages: /usr/local/man/manX PID file: /var/run Random number collection: Device (/dev/urandom) Manpage format: man PAM support: yes KerberosIV support: no AFS support: no S/KEY support: no TCP Wrappers support: no MD5 password support: no IP address in $DISPLAY hack: no Use IPv4 by default hack: no Translate v4 in v6 hack: no Compiler flags: -g -O2 -Wall -I/usr/local/ssl/include Linker flags: -L/usr/local/ssl/lib -L/usr/local/ssl Libraries: -lz -lutil -lpam -lcrypto Presumably FreeBSD has different utmp structure header file. Ashame there's no ports for 3.5 yet for openssh. I also have the config.log, and can post that privately as it's quite a long file. Damien, I presume you will want a look :) Darren ---