Message-ID: <199807301236280120.001E0720@pogwizd.tcs.uni.wroc.pl> In-Reply-To: <199807231700440560.00499628@pogwizd.tcs.uni.wroc.pl> References: <199807231700440560 DOT 00499628 AT pogwizd DOT tcs DOT uni DOT wroc DOT pl> Date: Thu, 30 Jul 1998 12:36:28 +0200 From: "Pawel Kowalski" 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. Precedence: bulk I'm working on a new project with RHIDE now, and I had the same problem. I think that the previous mistake was the same. There were 3 files: main.c, art.c, art.h art.h: ------------------------------------ ... Line 54: extern init_art(); ... ------------------------------------ art.c: ------------------------------------ ... Line 62: int init_art() ... ------------------------------------ main.c: ------------------------------------ ... Line 24: #include "../graphics/art.c" (should be art.h) ... ------------------------------------ ld.exe said: (in RHIDE) Error: main.o: In function `init_art': main.c(62) Error: multiple definition of `init_art' o:art.c(62) Error: first defined here Now everything's fine. Thanks for trying to help me. Pawel Kowalski