delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: linker error (was: no subject at all) |
Date: | 15 Dec 2000 17:01:09 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 13 |
Message-ID: | <91diol$7jg$1@nets3.rz.RWTH-Aachen.DE> |
References: | <000a01c065f5$fc88f1c0$0100a8c0 AT hans> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 976899669 7792 137.226.32.75 (15 Dec 2000 17:01:09 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 15 Dec 2000 17:01:09 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Malte Schwarze <malteschwarze AT gmx DOT de> wrote: > GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax) [...] > c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to `main' > c:/djgpp/lib/libc.a(crt1.o)(.text+0x44e):crt1.c: undefined reference to `main' You don't show pport_init.c, so part of this is guesswork, but: this looks as if you simply don't have a main() function in that source file, yet. For creating a complete C program, you need one. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |