On Tue, Aug 27, 2002 at 07:27:46AM +0200, Joerg Jaspert wrote: > apt-get source ssh and look into debian/rules to see what the > Maintainer does?!
Yes, someone else suggested that. Which was rather easy since those were the base sources I was working with anyway. It at least showed that the option I was fighting with was indeed required... but I still have my base problem which is it still won't build. AFAIK all the needed dev libs are installed. The libpam items seem to be looking for things which should be *in* libpam.a gcc -o sshd sshd.o auth.o auth1.o auth2.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o auth-chall.o auth2-chall.o auth-rhosts.o auth-options.o auth-krb4.o auth-krb5.o auth-pam.o auth2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o sshpty.o sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o groupaccess.o auth-skey.o auth-bsdauth.o monitor_mm.o monitor.o -L. -Lopenbsd-compat/ -static -lssh -lopenbsd-compat -lwrap -lpam -ldl -lutil -lz -lnsl -lcrypto /usr/lib/libpam.a(pam_end.o): In function `pam_end': pam_end.o(.text+0x5b): undefined reference to `_pam_drop_env' /usr/lib/libpam.a(pam_start.o): In function `pam_start': pam_start.o(.text+0x231): undefined reference to `_pam_make_env' pam_start.o(.text+0x291): undefined reference to `_pam_drop_env' /usr/lib/libpam.a(pam_env.o): In function `_parse_env_file': pam_env.o(.text+0x492): undefined reference to `pam_putenv' /usr/lib/libpam.a(pam_env.o): In function `_expand_arg': pam_env.o(.text+0xadc): undefined reference to `pam_getenv' /usr/lib/libpam.a(pam_env.o): In function `_define_var': pam_env.o(.text+0xdf7): undefined reference to `pam_putenv' /usr/lib/libpam.a(pam_env.o): In function `_undefine_var': pam_env.o(.text+0xe4f): undefined reference to `pam_putenv' /usr/lib/libpam.a(pam_limits.o): In function `init_limits': pam_limits.o(.text+0x428): undefined reference to `cap_free' pam_limits.o(.text+0x430): undefined reference to `cap_init' /usr/lib/libpam.a(pam_limits.o): In function `process_limit': pam_limits.o(.text+0x932): undefined reference to `cap_from_text' /usr/lib/libpam.a(pam_limits.o): In function `setup_limits': pam_limits.o(.text+0xf91): undefined reference to `cap_set_proc' pam_limits.o(.text+0xfad): undefined reference to `cap_free' /usr/lib/libpam.a(pam_mail.o): In function `_do_mail': pam_mail.o(.text+0xba8): undefined reference to `pam_putenv' pam_mail.o(.text+0xcbb): undefined reference to `pam_putenv' /usr/lib/libpam.a(pam_unix_passwd.o): In function `crypt_md5_wrapper': pam_unix_passwd.o(.text+0x8b): undefined reference to `GoodMD5Init' pam_unix_passwd.o(.text+0xb4): undefined reference to `GoodMD5Update' pam_unix_passwd.o(.text+0xd7): undefined reference to `GoodMD5Update' pam_unix_passwd.o(.text+0xf7): undefined reference to `GoodMD5Update' pam_unix_passwd.o(.text+0x103): undefined reference to `GoodMD5Update' pam_unix_passwd.o(.text+0x113): undefined reference to `GoodMD5Final' pam_unix_passwd.o(.text+0x248): undefined reference to `Goodcrypt_md5' /usr/lib/libpam.a(pam_unix_passwd.o): In function `check_old_password': pam_unix_passwd.o(.text+0x42d): undefined reference to `Goodcrypt_md5' /usr/lib/libpam.a(pam_unix_passwd.o): In function `_do_setpass': pam_unix_passwd.o(.text+0xc92): undefined reference to `xdr_yppasswd' /usr/lib/libpam.a(pam_unix_passwd.o): In function `_pam_unix_approve_pass': pam_unix_passwd.o(.text+0x107e): undefined reference to `obscure_msg' /usr/lib/libpam.a(pam_unix_passwd.o): In function `pam_sm_chauthtok': pam_unix_passwd.o(.text+0x16ce): undefined reference to `bigcrypt' pam_unix_passwd.o(.text+0x173b): undefined reference to `bigcrypt' /usr/lib/libpam.a(support.o): In function `_unix_verify_password': support.o(.text+0xd2e): undefined reference to `Goodcrypt_md5' support.o(.text+0xd5b): undefined reference to `Brokencrypt_md5' support.o(.text+0xd6d): undefined reference to `bigcrypt' collect2: ld returned 1 exit status make: *** [sshd] Error 1 Any suggestions are welcome. Could it be like the "old days" when you sometimes had to include a lib twice because of circular dependencies?

