Message-Id: <199812212041.UAA00575@remus> From: "Arthur" To: Subject: RE: Not sure where to go? Date: Mon, 21 Dec 1998 20:39:56 -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: <1af8dc95.367db9cc@aol.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com > I have a 300 mhz AMD K6-2 with 32 mb sdram. I have a 4.6 gig hard > drive and an > onboard sound and video card. I'm using Rhide to compile the > programs. I tried > compiling some of the example programs that came with Allegro. It compiles > fine but when I try to run them or when I try the "build all" > command it gives > me a list of errors about undefined reference to init_keyboard > and then goes > down the list about the graphics sound and everything else. does > anyone know > what I'm talking about? > Petra2201 AT aol DOT com Basically, your problem is that you're not linking with the library file (add -lalleg to your command line). The fact that you're trying to compile the example programs leads me to believe that you havn't got the Allegro library, since you havn't made it yet. You need to go into your Allegro directory and type "make" at the DOS prompt. That will compile the Allegro sources into the Allegro Library file (liballeg.a), and then compile all the example files usign this library. If you want to compile Allegro programs with RHIDE in the future, go to the Libraries option in the Options menu, enter "alleg" into the first slot available and click on OK. Things should then compile fine. James Arthur - jaa AT arfa DOT clara DOT net http://www.jado.org/users/arfa/ ICQ#15054819