home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!sol.ctr.columbia.edu!venezia!penev
- From: penev@venezia (Penio Penev)
- Subject: Re: compiling metamail
- References: <1993Jan8.231456.5170@biome.bio.ns.ca>
- Sender: nobody@ctr.columbia.edu
- Organization: Rockefeller University
- Date: Sat, 9 Jan 1993 10:13:51 GMT
- X-Newsreader: TIN [version 1.1 PL6]
- Message-ID: <1993Jan9.101351.12570@sol.ctr.columbia.edu>
- Reply-To: penev@venezia.rockefeller.edu
- Distribution: na
- X-Posted-From: venezia.rockefeller.edu
- NNTP-Posting-Host: sol.ctr.columbia.edu
- Lines: 39
-
- Bill Silvert (silvert@biome.bio.ns.ca) wrote:
- : When I try to compile metamail I get the following error:
- :
- : (cd richmail ; make CONFIGDIR=../. CFLAGS="-g -I. -DSYSV" LDLIBS="-lsun -lc_s")
- : cc -I../. -g -I. -DSYSV -o richtext richtext.o richlex.o richset.o usascii.o iso2022.o -ltermcap -lsun -lc_s
- : /usr/bin/ld:
- : Undefined:
- : FinalizeTerminal
- : FPUTS
- : outputstr
- : ResetTerminalCodes
- : MakeWorkingMargins
- : outputc
- : Pause
- : fputsmovingright
- : realoutputc
- : *** Error code 1
- :
- : Stop.
- :
- : Any ideas what library or other that I am missing?
-
- One idea is to 'grep FinalizeTerminal /usr/include/*.h' for a definition
- of the functions in the header files. Once You know in which header it
- resides, You can guess in what library it is. If this is not evident
- from the name of the header file, You can grep again for "#include
- Your_header_file.h" to see who needs it. Of course You should scan all
- other places, where You keep heared files, like the subdirectories of
- /usr/include.
-
- If this is not a standard library, but part of Your application, You
- can grep the .c and .h sources of Your app for the occurences of the
- functions and check whether the source.c is compiled and linked.
-
- I guess this is not a particular solution, but rather general one to
- address there problems. Sorry, but I am not a C programmer, so I do
- not know the libraries.
-
- -- Penio.
-