openssh
Jorge Almeida <[email protected]> Sat, 31 Mar 2012 22:45:17 +0100
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <CAKpSnpKPyto0b3SsMnt7fN6-649vP88SJ6D-ULYofJWW6XWzOg@mail.gmail.com> |
Compiling openssh is choking on utmpx: CC="/opt/bin/diet -Os gcc -pipe -fomit-frame-pointer -mtune=core2 -mfpmath=sse -nostdinc -D_GNU_SOURCE -D_BSD_SOURCE" CPPFLAGS="-I/extra/zlib/include -I/extra/openssl/include" ./configure --prefix=/extra/openssh --with-ipaddr-display --with-4in6 --with-ssl-dir=/extra/openssl --with-zlib=/extra/zlib/lib --with-privsep-user=sshd --with-md5-passwords --disable-etc-default-login --disable-lastlog Configuring exits 0. make fails: loginrec.c:561:1: warning: ‘u_int’ is deprecated [-Wdeprecated-declarations] loginrec.c: In function ‘construct_utmpx’: loginrec.c:791:10: error: ‘ut’ undeclared (first use in this function) loginrec.c:791:10: note: each undeclared identifier is reported only once for each function it appears in loginrec.c: In function ‘utmpx_perform_login’: loginrec.c:1033:31: error: ‘ut’ undeclared (first use in this function) make: *** [loginrec.o] Error 1 Adding "--disable-utmpx" to the config line yields success. Any idea? And, if not: is utmpx really usefull in a personal workstation, at least when the utmp functionallity is present? openssh-5.9p1 openssl-1.0.1 zlib-1.2.6 TIA Jorge Almeida