Article View: gnu.gcc.help
Article #46ld: undefined symbol ___main
From: John M. Harres
Date: Fri, 31 Jul 1992 16:01
Date: Fri, 31 Jul 1992 16:01
13 lines
1102 bytes
1102 bytes
I was wondering if anyone has had this problem. When I compile a program on
gcc under sun4, I get an undefined symbol from ld of ___main. There is a
main() in one of the files.
John Harres
harres@sundance.uwyo.edu
--
-------------------------------------------------------------------------------
John Harres | Sherlock Holmes observed that once you have
| eliminated the impossible, then whatever remains,
Systems Programmer II | however improbable, must be the answer. I,
University of Wyoming | however, do not like to eliminate the impossible.
harres@sundance.uwyo.edu | -- Dirk Gently
Technical Details
Message-ID:
<HARRES.92Jul31160131@sundance.uwyo.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.uwyo.edu!outlaw.uwyo.edu!harresShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.uwyo.edu!outlaw.uwyo.edu!harres Newsgroups: gnu.gcc.help Subject: ld: undefined symbol ___main Message-ID: <HARRES.92Jul31160131@sundance.uwyo.edu> From: harres@sundance.uwyo.edu (John M. Harres) Date: 31 Jul 92 16:01:31 Distribution: gnu.gcc.help,world Organization: /usr/users/harres/.organization Nntp-Posting-Host: sundance.uwyo.edu Lines: 13