home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / utils / bug / 2085 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.3 KB  |  33 lines

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