Hi all, This is a old machine, Sun Enterprise 450. Finally I decided to use ssh instead of telnet, and those small modification should be done in order to get it compile. First, add typedef unsigned char u_int8_t; typedef unsigned int u_int16_t; typedef unsigned short u_int32_t; in fake-rfc2553.h Second, go to libtomcrypt and run: export PATH=$PATH:/usr/ccs/bin (I am using zsh) make So is in libtommath Third, ./configure as you know. Note that Makefile should be modified to the following: LIBS=$(LTC) $(LTM) -lsocket -lnsl -lresolv -lcrypt `-lresolv' should be added in order to get it compiles, or the following error will occur when compiling:
gcc -L/usr/local/lib -R/usr/local/lib -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o random.o queue.o atomicio.o compat.o fake-rfc2553.o common-session.o packet.o common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o circbuffer.o svr-kex.o svr-algo.o svr-auth.o sshpty.o svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -lsocket -lnsl -lcrypt Undefined first referenced symbol in file inet_aton fake-rfc2553.o ld: fatal: Symbol referencing errors. No output written to dropbear collect2: ld returned 1 exit status make: *** [dropbear] Error 1 I found that scp won't compile. So, make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert" make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert" install And, at last, enjoy! OSQDU::Alex +------------------------------------ |Alex Zhang(Difan) |eMbedded Linux & Chemistry |College of Chemistry & Environment |Qingdao University +------------------------------------ OpenSource Qingdao University http://qdu.ac.cn/ Blog http://difan.org.cn/
