Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!news.hawaii.edu!ames!olivea!uunet!wupost!gumby!yale!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!eichin From: eichin@athena.mit.edu (Mark W. Eichin) Newsgroups: comp.unix.bsd Subject: Re: Questions/problems with 386BSD 0.1 Message-ID: <EICHIN.92Jul29005512@tsx-11.mit.edu> Date: 29 Jul 92 04:55:20 GMT References: <1992Jul29.042244.29277@umbc3.umbc.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 19 In-Reply-To: cs481a07@umbc5.umbc.edu's message of 29 Jul 92 04:22:44 GMT Nntp-Posting-Host: tsx-11.mit.edu >> I've been trying to get RNto compile on 386BSD 0.1. It dies on >> linking with a undefined _stty and _gtty. I've dug through everything I >> can think of and can't find a way around/fix for this. Has anyone gotten >> RN to work? There was a posting about a week ago, here's the relevant part: >From: rivers@ponds.uucp (Thomas David Rivers) Subject: General problems (serial line, spontaneous reboots) Summary: Reboots, serial probs Date: 21 Jul 92 02:51:30 GMT .... So, now, after complaining so much :-), let me offer one trivial helpful hint. To compile trek (in the etc01 distribution) you need to remove the -lcompat from the Makefile line (there is no compat library for 386bsd), and properly define gtty() in main.c. I added the following two lines just before main(): #define gtty(fd, argp) ioctl(fd, TIOCGETP, argp) #define stty(fd, argp) ioctl(fd, TIOCSETP, argp)