delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/31/17:00:57

From: "\"Steve Reynolds\" <"<ireynolds AT odyssey DOT on DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: help
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <pUE97.554$Z2.5225@nnrp1.uunet.ca>
Date: Tue, 31 Jul 2001 16:49:24 -0400
NNTP-Posting-Host: 209.213.229.41
X-Trace: nnrp1.uunet.ca 996612757 209.213.229.41 (Tue, 31 Jul 2001 16:52:37 EDT)
NNTP-Posting-Date: Tue, 31 Jul 2001 16:52:37 EDT
Organization: UUNET Canada News Reader Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

After compiling with rhide I get this error message:

Compiling: spri.c
no errors
Creating: spri.exe
Error: spri.o: In function 'main':
spri.c(8) Error: multiple definition of 'main'
0:spri.c(8) Error: first defined here
Error: collect2: ld returned 1 exit status
There were some errors

Now i only have 1 function and that is main.... it is never declared
anywhere else what is goin on? If you need to see the source to help me,
e-mail me.

StEv-O



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019