www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/23/10:59:47

Message-ID: <199807231700440560.00499628@pogwizd.tcs.uni.wroc.pl>
In-Reply-To: <Pine.SUN.3.91.980722175346.12232I-100000@is>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980722175346 DOT 12232I-100000 AT is>
Date: Thu, 23 Jul 1998 17:00:44 +0200
From: "Pawel Kowalski" <pk AT tcs DOT uni DOT wroc DOT pl>
To: eliz AT is DOT elta DOT co DOT il, pk AT tcs DOT uni DOT wroc DOT pl
Cc: djgpp AT delorie DOT com
Subject: Re: Compilation errors.
Mime-Version: 1.0


*********** REPLY SEPARATOR ***********

On 98-07-22, at 16:55, Eli Zaretskii wrote: 

>On Wed, 22 Jul 1998, Pawel Kowalski wrote:
>
>> >Please add -v to the compiler switches and post everything it prints.
>> 
>> Here it comes...
>> 
>> ld version 2.7 (with BFD 2.7)
>
>This is only from the linker.  Did you invoke ld.exe directly?  If so, 
>tell which command line did you use (in general, it is a bad idea to 
>invoke the linker directly).

No. It was invoked from RHIDE. But ld.exe gives the same messages.

>> graphics.o: In function `gr_init':
>> graphics.c:48: multiple definition of `gr_init'
>> graph.o:graph.c:57: first defined here
>> graphics.o: In function `gr_screen_update':
>> graphics.c:73: multiple definition of `gr_screen_update'
>> graph.o:graph.c:82: first defined here
>
>Did you look into graph.c and graphics.c on these lines?

Yes, but I'm sure they have nothing to do with these errors.
ie. one of them is just an empty line, another begins with '//', etc.

>> keyboard.o(.text+0x0):keyboard.s: multiple definition of `keyboard_map'
>> keyb.o(.text+0x0):keyboard.s: first defined here
>> keyboard.o(.text+0xe0):keyboard.s: multiple definition of `keyboard_init'
>> keyb.o(.text+0xe0):keyboard.s: first defined here
>
>These seem to imply that keyb.c somehow #include's keyboard.c, or 
>something like that.

None of the project files include another.

I give up. It's not necessary for me to compile it now.

Pawel Kowalski

- Raw text -


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