From owner-freebsd-questions Sun Jul 5 02:40:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14764 for freebsd-questions-outgoing; Sun, 5 Jul 1998 02:40:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14759 for ; Sun, 5 Jul 1998 02:40:33 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.0/8.9.0) id TAA16145; Sun, 5 Jul 1998 19:10:23 +0930 (CST) Message-ID: <19980705191022.M18970@freebie.lemis.com> Date: Sun, 5 Jul 1998 19:10:22 +0930 From: Greg Lehey To: "Numard (Norberto Meijome)" , FreeBSD Questions Subject: Re: HELP!termio.h or termios.h References: <359F2073.A43581B4@smartmedia.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <359F2073.A43581B4@smartmedia.com.ar>; from Numard (Norberto Meijome) on Sun, Jul 05, 1998 at 04:42:59PM +1000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 5 July 1998 at 16:42:59 +1000, Numard (Norberto Meijome) wrote: > Hi! > i've downloaded libdes-4.0.1.tar.gz, and when i > make x86-out > i get: > > read_pwd.c:105: termio.h: No such file or directory > make[1]: *** [read_pwd.o] Error 1 > make[1]: Leaving directory `/usr/local/libdes' > make: *** [x86-out] Error 2 > [root@smartnet libdes] # make clean > > i checked, & don't have termio.h (have termios.h, made a ln to it, did > not work: > > read_pwd.c: In function `read_pw': > read_pwd.c:247: storage size of `tty_orig' isn't known > read_pwd.c:247: storage size of `tty_new' isn't known > read_pwd.c:267: `TCGETA' undeclared (first use this function) > read_pwd.c:267: (Each undeclared identifier is reported only once > read_pwd.c:267: for each function it appears in.) > read_pwd.c:300: `TCSETA' undeclared (first use this function) > make[1]: *** [read_pwd.o] Error 1 > make[1]: Leaving directory `/usr/local/libdes' > make: *** [x86-out] Error 2 > > i got this libdes from > ftp://ftp.au.freebsd.org/pub/crypto/DES/ > > but also found this, i really don;t know what to do... > http://mirror.aarnet.edu.au/unix/freebsd/FreeBSD-stable/src/secure/lib/libdes/ > TIA!! This is a pretty straightforward porting problem. The package expects termio, the old System V terminal interface, and all we have is termios, the new POSIX interface. They're not quite compatible. To port this package, you may find it helpful to read my book "Porting UNIX Software". As Doug White has observed, though, you probably don't need this package. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message