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