Date: Wed, 22 Jul 1998 17:57:05 +0300 (IDT) From: Eli Zaretskii To: Pawel Kowalski cc: djgpp AT delorie DOT com Subject: Re: Compilation errors. In-Reply-To: <199807221302040660.00B27239@pogwizd.tcs.uni.wroc.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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). > 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? > 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.