delorie.com/archives/browse.cgi | search |
From: | "Martin Ambuhl" <mambuhl AT tiac DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: compile error |
Date: | Wed, 4 Mar 1998 02:49:29 -0500 |
Organization: | Honors Bridge Club |
Lines: | 19 |
Message-ID: | <6dj0vl$n8d@news-central.tiac.net> |
References: | <3 DOT 0 DOT 5 DOT 32 DOT 19980303220712 DOT 007a9540 AT pop DOT iquest DOT net> |
NNTP-Posting-Host: | p0.ts6.newyo.ny.tiac.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Ricki Lee King wrote in message <3 DOT 0 DOT 5 DOT 32 DOT 19980303220712 DOT 007a9540 AT pop DOT iquest DOT net>... | Compiling: test.cpp | no errors | Creating: test.exe | Error: c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to `main' | Error: c:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined reference | |i don't know what to look for in my program. This is not a problem in your program. It compiled fine. What it could not do was link. Check the djgppFAQ. I believe the section is 8.1, but it has a good TOC and index.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |