Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

compiling OpenSSH v4.7p1-2 on windows 2003 in cygwin

Subject: compiling OpenSSH v4.7p1-2 on windows 2003 in cygwin
Date: Fri, 2 Nov 2007 16:37:41 -0800
running "make" after "./configure" produces the following:

gcc -o ssh.exe ssh.o readconf.o clientloop.o sshtty.o sshconnect.o 
sshconnect1.o
  sshconnect2.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat 
-lcrypto -lz  /usr/
lib/textreadmode.o -lcrypt
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o): In function 
`parse_dns_rr
section':
/home/Administrator/openssh-4.7p1-2-chroot/openbsd-compat/getrrsetbyname.c:515:
undefined reference to `___dn_expand'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o): In function 
`getrrsetbyna
me':
/home/Administrator/openssh-4.7p1-2-chroot/openbsd-compat/getrrsetbyname.c:219:
undefined reference to `__res'
/home/Administrator/openssh-4.7p1-2-chroot/openbsd-compat/getrrsetbyname.c:235:
undefined reference to `___res_query'
/home/Administrator/openssh-4.7p1-2-chroot/openbsd-compat/getrrsetbyname.c:468:
undefined reference to `___dn_expand'
/home/Administrator/openssh-4.7p1-2-chroot/openbsd-compat/getrrsetbyname.c:219:
undefined reference to `___res_init'
Info: resolving ___progname by linking to __imp____progname (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
Info: resolving _optreset by linking to __imp__optreset (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
collect2: ld returned 1 exit status
make: *** [ssh.exe] Error 1

i had to "borrow" nameser.h and resolv.h from the cygwin src to even 
get it this far.

and i was also getting some in6a undefined so i commented out that 
section in resolv.h

Thank you,
-Rami

-- 
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!


<Prev in Thread] Current Thread [Next in Thread>
  • compiling OpenSSH v4.7p1-2 on windows 2003 in cygwin, ICNO COP <=