From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: allegro library compiles well but not examples Date: Sun, 30 Sep 2001 16:37:23 +0200 Lines: 23 Message-ID: <3BB72E23.EA795587@is.elta.co.il> References: <1001698928 DOT 604213 AT remus DOT infonie DOT fr> NNTP-Posting-Host: 192.116.55.139 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1001860596 17346163 192.116.55.139 (16 [61365]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Patator wrote: > > Hi ! I've downloaded allegro 3.938, rsxntdj. Allegro library compiles with > no problem (all .a files are created) but I get this errror each time : > > C:\djgpp\allegro>make > Compiling Allegro for djgpp, optimised. Please wait... > gcc -s -o demo/demo.exe obj/djgpp/alleg/demo.o lib/djgpp/liballeg.a > lib/djgpp/liballeg.a(rotate.o)(.text+0x2023):rotate.c: undefined reference > to `s > incos' > make.exe: *** [demo/demo.exe] Error 1 > > I have configured rsxntdj (it works well), set environment variables > (library_path, rsxnt, djgpp), and done everything said in readme.dj file > (copy some files into lib directories). I've had allegro 3.12 before and > there were no problem. What version of the DJGPP library do you have? What does the file include/sys/version.h say? sincos is a DJGPP library function. Is it possible you have some messed up installation, and the linker actually uses the RSXNTDJ library?