Date: Fri, 17 Oct 2003 17:51:54 -0400 From: Adil Katchi <AdilK@sandvine.com> To: "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: building sshd Message-ID: <FE045D4D9F7AED4CBFF1B3B813C853370291202D@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
I'm trying to build sshd from src/crypto/openssh and I'm having problems. I've only modified auth2.c. I've followed the FREEBSD-upgrade instructions. So, this is what I've done: 1. autoconf // to generate the configure file 2. autoheader // got a bunch of warnings but no errors 3. ./configure --with-pam --with-s-key // PAM was configured, but S/Key wasn't.. dunno why yet 4. make sshd // below are the errors I got after a bunch of warnings sshd.o: In function `sshd_exchange_identification': /d2/akatchi/src/crypto/openssh/sshd.c:376: undefined reference to `ssh_version_g et' sshd.o: In function `usage': /d2/akatchi/src/crypto/openssh/sshd.c:768: undefined reference to `ssh_version_g et' sshd.o: In function `main': /d2/akatchi/src/crypto/openssh/sshd.c:1582: undefined reference to `ssh_version_ get' auth1.o: In function `do_authloop': /d2/akatchi/src/crypto/openssh/auth1.c:121: undefined reference to `abandon_chal lenge_response' auth2-chall.o: In function `privsep_challenge_enable': /d2/akatchi/src/crypto/openssh/auth2-chall.c(.text+0x765): undefined reference t o `mm_pam_device' auth2-chall.o: In function `kbdint_alloc': /d2/akatchi/src/crypto/openssh/auth2-chall.c:78: undefined reference to `pam_dev ice' servconf.o: In function `process_server_config_line': /d2/akatchi/src/crypto/openssh/servconf.c:921: undefined reference to `ssh_versi on_set_addendum' monitor.o: In function `mm_answer_pam_init_ctx': /d2/akatchi/src/crypto/openssh/monitor.c(.text+0xb01): undefined reference to `p am_device' monitor.o: In function `mm_answer_pam_query': /d2/akatchi/src/crypto/openssh/monitor.c(.text+0xbb9): undefined reference to `p am_device' monitor.o: In function `mm_answer_pam_respond': /d2/akatchi/src/crypto/openssh/monitor.c(.text+0xd25): undefined reference to `p am_device' /d2/akatchi/src/crypto/openssh/monitor.c(.text+0xd66): undefined reference to `p am_device' monitor.o: In function `mm_answer_pam_free_ctx': /d2/akatchi/src/crypto/openssh/monitor.c(.text+0xdf2): undefined reference to `p am_device' *** Error code 1 Below is the diffed auth2.c in case anyone wants to try compiling this for themselves. $ diff auth2.c auth2_old.c 173c173 < PRIVSEP(start_pam(user)); --- > PRIVSEP(start_pam("NOUSER")); Any ideas?? Thanks, Adil
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C853370291202D>