home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!unidui!hal6000!fred
- From: fred@hal6000.thp.Uni-Duisburg.DE (Fred Hucht)
- Newsgroups: comp.unix.aux
- Subject: Re: Where is these library functions ?
- Date: 27 Jan 1993 13:49:43 GMT
- Organization: Theoretische Physik, Uni-GH-Duisburg, Germany
- Lines: 43
- Message-ID: <1k63tnINNeh7@unidui.uni-duisburg.de>
- References: <1993Jan26.035128.481@uts.uni-c.dk>
- NNTP-Posting-Host: hal6000.uni-duisburg.de
-
- povlphp@uts.uni-c.dk (Povl H. Pedersen) writes:
-
- >I am compiling PGP 2.1, but I have a problem.
- >The following two functions is undefined:
-
- >undefined first referenced
- > symbol in file
- >tcgetattr system.o
- >tcsetattr system.o
-
- >and they both have a prototype in /usr/include/termios.h
-
- >SO have Apple left something out ? Or is it in a strange library ?
- >--
- >Povl H. Pedersen - Macintosh specialist. Knows some DOS and UNIX too.
- >pope@imv.aau.dk - povlphp@uts.uni-c.dk
-
- Use this "little" command:
-
- MAC> cd /lib; for i in lib*.a;do { echo $i; nm $i|grep tcgetattr; }; done
- libPW.a
- libbsd.a
- libc.a
- libc_s.a
- libg.a
- libm.a
- libm040.a
- libposix.a
- Symbols from libposix.a[tcgetattr.o]:
- tcgetattr.c | | file | | | |
- tcgetattr | 0|extern| | | |.text
- librmt.a
- libsvid.a
- libtermcap.a
-
- So tcgetattr is included in libposix.a.
-
- Have fun,
- Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
- EMail: fred@hal6000.Uni-Duisburg.DE
- --
- Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
- EMail: fred@hal6000.thp.Uni-Duisburg.DE
-