home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!cis.ohio-state.edu!nova.gmi.edu!ellis
- From: ellis@nova.gmi.edu (Stew Ellis)
- Subject: Oleo STILL fails to resolve _main during link
- Message-ID: <ellis.722259906@nova>
- Sender: gnulists@ai.mit.edu
- Organization: GMI Engineering&Management Institute, Flint, MI
- Distribution: gnu
- Date: Fri, 20 Nov 1992 11:45:06 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 20
-
- I posted a few days ago that after getting past all of the compile-time
- errors in oleo, that it now fails to resolve _main at linktime. I have
- grep'ed through the source and am convinced that there is one and only one
- main() in the scope of the preprocessor pass, in io_term.c. I recompiled
- this module and tried to relink, no difference.
-
- I may be overlooking something obvious. I am compiling with GCC 2.3.1. I
- have added the preprocessor test on defined(sun) in one of the modules to
- prevent the asm call, and I have set CFLAGS to include -D__STDC__ to avoid
- some sections with old-style varargs. I am also using -fpcc-struct-return.
-
- Any help?
-
-
- --
- -- ___________________
- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
- Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
- Flint, MI 48504 ellis@nova.gmi.edu /________/ / / / /
-
-