Message-Id: <199810311830.SAA11202@relay.clara.net> From: "Arthur" To: Subject: RE: Help ! Error building Allegro Date: Sat, 31 Oct 1998 18:25:20 -0000 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <71drbv$tgo$1@newsreader1.core.theplanet.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com > I can't get Allegro 3 to build. All the > compiles work OK but when it gets to the linker > I get the error > > ar: file "obj/djgp" : The system cannot find the file specified > ar: creating lib/djgpp/liballeg.a > make.exe: *** [lib/djgpp/liballeg.a] Error 1 > > yes thats right 'djgp' not 'djgpp'. > > Ive looked through the docs and FAQ but I cant see what > I'm doing wrong. > > One thing, the "ALLEGRO environment variable" is mentioned > in several places without an example of what it should be, so > Im setting it to > > SET ALLEGRO=D:\ALLEGRO > (and yes, I am installing it to drive D:) > > Is that right ? Is there some other setting/configuration I'm missing ? Yes that's right. The ALLEGRO environment variable points to the default allegro.cfg file, although it is optional to have it. Any allegro program will search for the correct configuration in this order: 1) Check current directory (and directories included in the PATH environment variable) 2) Check allegro.cfg in the directory pointed to by the ALLEGRO environment variable. 3) Guess > I've installed djgpp and compiled > a couple of progs so everything looks OK there. Not sure why you have problems with the make, since it's always worked fine for me. Just check that you've got SET LFN=y in your autoexec file (for Win95/98) and SET LFN=n if you've got NT or plain DOS. I can't help you more without knowing your OS and autoexec.bat file. James Arthur jaa AT arfa DOT clara DOT net ICQ#15054819