home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!news.yale.edu!neutron!dcs
- From: dcs@neutron (Dave Schweisguth)
- Newsgroups: comp.sys.sgi
- Subject: Has anyone got working tn3270 sources?
- Message-ID: <1992Sep8.131421.28758@news.yale.edu>
- Date: 8 Sep 92 13:14:21 GMT
- Sender: news@news.yale.edu (USENET News System)
- Organization: Yale University
- Lines: 59
- Nntp-Posting-Host: neutron.chem.yale.edu
- X-Newsreader: Tin 1.1 PL5
-
- Hi all,
-
- We've been using John Merritt's IRIX port of tn3270 since 3.3.something. The
- binary works fine under 4.0.x, but the same sources that compiled under 3.3.x
- no longer do so. The author has either changed address or found better things
- to do, and I've been unable to fix it myself. Has anyone? Just for fun, here
- are the errors:
-
- [root /usr/local/src/tn3270/tn3270] make
- cc -cckr -O -I/usr/include/bsd -I/usr/include/rpcsvc -DTN3270 -Dunix
- -DTN3270 -c telnet.c
- cpp: warning ./ttold.h:41: TIOCFLUSH redefined
- cpp: warning ./ttold.h:151: NTTYDISC redefined
- cpp: warning ./ttycom.h:7: TIOCGWINSZ redefined
- cpp: warning ./ttycom.h:8: TIOCSWINSZ redefined
- cpp: warning ./ttycom.h:26: TIOCGPGRP redefined
- cpp: warning ./ttycom.h:27: TIOCSPGRP redefined
- cpp: warning ./ttycom.h:29: TIOCSTI redefined
- cpp: warning ./ttycom.h:30: TIOCNOTTY redefined
- cpp: warning ./ttycom.h:31: TIOCPKT redefined
- cpp: warning ./ttycom.h:69: TIOCCONS redefined
- ccom: Error: telnet.c, line 800: t undefined
- ioctl( ( (&_iob[1]))->_file, ( 0x80000000|
- ((sizeof( int)&0x7f )<<16)|((t)<<8)| 16) , (char *) 0);
- --------------------------------------------------------------------------------------------------------------------^
- ccom: Error: telnet.c, line 1011: t undefined
- ioctl(tin, ( 0x80000000 |((sizeof(struct ltchars)&0x7f)
- <<16)|((t)<<8)|117), (char *)ltc);
- --------------------------------------------------------------------------------------------^
- ccom: Warning: telnet.c, line 1227: illegal combination of pointer and integer,
- op !=
- if (( initscr32() != (-1)) &&
- -------------------------------------^
- ccom: Warning: telnet.c, line 1227: types : pointer to struct versus int
- if (( initscr32() != (-1)) &&
- -------------------------------------^
- ccom: Error: telnet.c, line 2803: t undefined
- ioctl(0, ( 0x40000000 |((sizeof(struct sgttyb)&0x7f)
- <<16)|((t)<<8)| 8), (char *)&ottyb);
- --------------------------------------------------------------------------------------------^
- ccom: Error: telnet.c, line 3230: t undefined
- ioctl(0, ( 0x40000000 |((sizeof(struct sgttyb)&0x7f)
- <<16)|((t)<<8)| 8), (char *)&ottyb);
- --------------------------------------------------------------------------------------------^
- *** Error code 1
-
- Stop.
-
- Hmmm ... that paste didn't work as well as I'd hoped, but the "t undefined"
- bit seems to be important. Can anyone explain?
-
- BTW, 'x3270' is not an option, as we'd like to work from ordinary terminals as
- well as the console.
-
- Thanks in advance,
-
- --
- | Dave Schweisguth Yale MB&B & Chemistry Email: dcs@neutron.chem.yale.edu |
- | Lab phone: 203-432-5208 Fax: 203-432-6144 Home phone: 203-624-3866 |
-