From: "Jay Humphrey" Newsgroups: comp.os.msdos.djgpp Subject: Error messages Date: 30 Jun 1997 18:20:11 GMT Organization: AT&T Internet Service Message-ID: <01bc8582$8bd70ae0$417c4ca5@default> NNTP-Posting-Host: 34.gate0.kadena.attnet.or.jp Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I have set the env variable with path=c:\djgpp\djgpp.env, but whenever I try to compile a program ex: gcc -o filename.c -lalleg. I get these two errors c:/djgpp/lib\crt0.o(.data0x92):crt0.s: undefined referrence to 'main' c:/djgpp/lib\libc.a(crt1.o)(.text+0x312):crt1.c:undefined referrence to 'main' What does this mean? I have obviously done something wrong but have no idea what. Please respond via e-mail to humphrej AT kdn0 DOT attnet DOT or DOT jp if you have any helpful answers. Thanks. Jay