home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!wupost!gumby!yale!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!eichin
- From: eichin@athena.mit.edu (Mark W. Eichin)
- Subject: Re: Questions/problems with 386BSD 0.1
- In-Reply-To: cs481a07@umbc5.umbc.edu's message of 29 Jul 92 04:22:44 GMT
- Message-ID: <EICHIN.92Jul29005512@tsx-11.mit.edu>
- Sender: news@athena.mit.edu (News system)
- Nntp-Posting-Host: tsx-11.mit.edu
- Organization: Massachusetts Institute of Technology
- References: <1992Jul29.042244.29277@umbc3.umbc.edu>
- Date: Wed, 29 Jul 1992 04:55:20 GMT
- Lines: 20
-
- >> 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)
-
-