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]

4.5p1 compilation under Solaris 9 SPARC - issues

Subject: 4.5p1 compilation under Solaris 9 SPARC - issues
Date: Thu, 11 Jan 2007 17:23:08 -0500
First, Sun Studio 11 with OEM ld.  GNU CC 3.2.3 with GNU ld
is further down.  Any help would be welcome.  Both of these
compilation sets build everything else on my box just fine.

openssh-4.5p1 # echo $CC
/opt/SUNWspro/bin/cc
openssh-4.5p1 # echo $LD
/usr/ccs/bin/ld
openssh-4.5p1 # ./configure --prefix=/export/home --with-ssl-dir=/export/home --with-kerberos5=/export/k5 --with-pam
...
openssh-4.5p1 # make
...
make[1]: Entering directory `/export/home/src/openssh-4.5p1/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/export/home/src/openssh-4.5p1/openbsd-compat'
/usr/ccs/bin/ld -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/export/home/lib -R/export/home/lib -L/export/k5/lib -R/export/k5/lib -L/usr/afsws/lib -R/usr/afsws/lib -R/export/k5/lib -lssh -lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl -ldl -L/export/k5/lib -R/export/k5/lib -L/export/home/lib -R/export/home/lib -L/export/k5/lib -R/export/k5/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lsocket -lnsl -ldl
Undefined first referenced
symbol in file
dup ssh.o (symbol belongs to implicit dependency /lib/libc.so.1)
atoi ./libssh.a(canohost.o) (symbol belongs to implicit dependency /lib/libc.so.1)
dup2 ssh.o (symbol belongs to implicit dependency /lib/libc.so.1)
feof /export/home/lib/libcrypto.a(bss_file.o) (symbol belongs to implicit dependency /lib/libc.so.1)
exit ssh.o (symbol belongs to implicit dependency /lib/libc.so.1)
free ssh.o (symbol belongs to implicit dependency /lib/libc.so.1)
kill ssh.o (symbol belongs to implicit dependency /lib/libc.so.1)
open /export/home/lib/libcrypto.a(rand_unix.o) (symbol belongs to implicit dependency /lib/libc.so.1)
...
...and on and on...


============================= GCC =================================

openssh-4.5p1 # gcc --version
gcc (GCC) 3.2.3
openssh-4.5p1 # ld --version
GNU ld version 2.16.1
openssh-4.5p1 # echo $CC
/export/home/bin/gcc
openssh-4.5p1 # echo $LD
/export/home/bin/ld
openssh-4.5p1 #

...

/export/home/bin/ld -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/export/home/lib -R/export/home/lib -L/export/k5/lib -R/export/k5/lib -L/usr/afsws/lib -R/usr/afsws/lib -R/export/k5/lib -lssh -lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl -ldl -L/export/k5/lib -R/export/k5/lib -L/export/home/lib -R/export/home/lib -L/export/k5/lib -R/export/k5/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lsocket -lnsl -ldl
/export/home/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000012800
./libssh.a(packet.o): In function `set_newkeys': /export/home/src/openssh-4.5p1/packet.c:671: undefined reference to `__ashldi3'
make: *** [ssh] Error 1
openssh-4.5p1 #


<Prev in Thread] Current Thread [Next in Thread>
  • 4.5p1 compilation under Solaris 9 SPARC - issues, Jeff Blaine <=