I'm having a problem building openssh-3.8p1 on AMD64 SuSE 9. Compiling seems to finish, but linking fails near the end: ... (cd openbsd-compat && make) make[1]: Entering directory `/var/tmp/openssh-3.8p1/openbsd-compat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/openssh-3.8p1/openbsd-compat' gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/lib64 -lssh -lopenbsd-compat -lcrypto -lutil -lz -lnsl -lcrypt openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0xd4): In function `getrrsetbyname': /var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:206: undefined reference to `__res_query' openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x5bf): In function `parse_dns_qsection': /var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:436: undefined reference to `__dn_expand' openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x6df): In function `parse_dns_rrsection': /var/tmp/openssh-3.8p1/openbsd-compat/getrrsetbyname.c:482: undefined reference to `__dn_expand' collect2: ld returned 1 exit status make: *** [ssh] Error 1 I tried adding -L/usr/lib64 to my LDFLAGS, with no visible effect. using nm, I checked for the symbols in libopenbsd-compat.a which led to getrrsetbyname.o, which truly shows them undefined, as the errors told. I've searched on Google, but couldn't find anything relevant. Could someone shed some light on the situation for me? Getting this particular version of openssh built isn't too critical to me, but I've just moved to the AMD64 platform and I'm figuring what applies here will probably help out in the future. Thanks in advance! Roy