home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18641 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.9 KB  |  56 lines

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