From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: library headaches Date: Fri, 24 Mar 2000 14:12:54 +0300 Organization: MTU-Intel ISP Lines: 54 Message-ID: <38DB4DB6.BF631714@mtu-net.ru> References: <38DB1182 DOT F8A2280A AT mtu-net DOT ru> <3YEC4.218181$B6 DOT 1556709 AT quark DOT idirect DOT com> NNTP-Posting-Host: ppp100-223.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 953897278 17039 212.188.100.223 (24 Mar 2000 11:27:58 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 24 Mar 2000 11:27:58 GMT X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en,ru To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I hope you didn't upgrade DJGPP from loder version to newer by simple file overwriting. It causes problems and sometimes those problems are strange and annoying. Also you should use latest versions of all bin utils, etc in order to be sure all DJGPP components work properly. Btw, I tested your program on my DJGPP... It works. I have the following setup: alleg312.zip (Allegro library) bnu2951b.zip (assembler, linker and other utils) csdpmi4b.zip (CWSDPMI DOS extender/DPMI host) djdev203.zip (some extra utils) gcc2952.zip (C compiler) gpp2952b.zip (C++ compiler) mak377b.zip (make utility) rhide14b.zip (IDE) Hope it helps. Alexei A. Frounze Tony Kwan wrote: > > Nope it didn't work... :( It also gave the same error for the function > bubble_sort which should not be in the standard C library function. Thanks > for the suggestion though. > > Tony. > > "Alexei A. Frounze" wrote in message > news:38DB1182 DOT F8A2280A AT mtu-net DOT ru... > > rand() is a standard C library function. So you should avoid its > > redefinition. Better call it something like rand2(). > > > > Good Luck > > > > Tony Kwan wrote: > > > > > > I am trying to make my first multi-file project with RHIDE but the > compiler > > > is giving me errors which I don't know how to fix. Essentially I am > > > following a tutorial I got from the net on "C Libraries and Makefiles" > from > > > DevCentral: (abbreviated) > > > > > -- > > Alexei A. Frounze > > > > -- Alexei A. Frounze