home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / programm / 2549 < prev    next >
Encoding:
Text File  |  1992-09-01  |  980 b   |  31 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!ee.tamu.edu!mchung
  3. From: mchung@ee.tamu.edu (Maranatha Chung)
  4. Subject: Why?
  5. Message-ID: <1992Sep1.172759.17468@tamsun.tamu.edu>
  6. Sender: news@tamsun.tamu.edu (Read News)
  7. Organization: Texas A&M University
  8. Distribution: usa
  9. Date: Tue, 1 Sep 1992 17:27:59 GMT
  10. Lines: 19
  11.  
  12. Hi, I have a question here may be some of you may know the answer.
  13. I am working on s Sun SPARCstation 1.
  14. I was compiling a C program with some Fortran subroutines. I compile
  15. the files individually using the UNIX make utility and I got the
  16. following message:
  17.  
  18. cc -O3 -o fgui <some *.o files> <some paths for libraries>
  19. ld: Undefined symbol
  20.    _MAIN_
  21. *** Error code 2
  22. make: Fatal error: Command failed for target 'fgui'
  23.  
  24. Despite of the error message, the executable is created and is running
  25. perfectly OK. I wonder why there is such a message and how to fix it?
  26.  
  27. Thanks in advance. Private email welcomed.
  28.  
  29. Maranatha
  30. mchung@ee.tamu.edu
  31.