home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news.nask.org.pl!cyfronet!student!iskra
- From: iskra@student.uci.agh.edu.pl (Kamil Iskra)
- Subject: Re: GNU ld cannot find ____main
- Message-ID: <DpL68r.3u6@cyf-kr.edu.pl>
- Sender: news@cyf-kr.edu.pl (News Administrator)
- Nntp-Posting-Host: student.uci.agh.edu.pl
- Organization: Academic Computer Centre, CYFRONET
- X-Newsreader: TIN [version 1.1 PL8]
- References: <4k392d$8q6@chaos.dac.neu.edu>
- Date: Tue, 9 Apr 1996 08:29:15 GMT
-
- Gregory Hull (ghull@lynx.dac.neu.edu) wrote:
- > I've installed the GNU C compiler on my amiga, along wit" 'KRUEMEL's
- > FRONTEND for THE GNU C COMPILER"
-
- What the hell is it? I don't think I've ever seen it. Is it something very
- new or very old? :-)
-
- > T:first.o: Undefined symbol _ main referenced from text segment]
- > LD returned error 1.
-
- ___main is a function called on the entry of main(), which calls global
- constructors.
-
- > So, if I ma making some obvious mistake or if anyone has any clues
- > as to what I need to link, or change in other areas to, in order to
- > resolve my problem, please let me know. Thanx.
-
- I'd strongly suggest you to get rid of this frontend and try to compile
- your source with plain old 'gcc' driver. I'm 99.9% sure that it will help
- - unless you did something wrong during installation of GCC.
-
- --
- / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
- | iskra@student.uci.agh.edu.pl kiskra@ernie.icslab.agh.edu.pl |
- | http://student.uci.agh.edu.pl/~iskra |
- \ PGP public key available via Finger or WWW /
-