delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/28/17:45:19

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and DJGPP compiling ! (not the MAKE problem)
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <rke7ts0843o1fsr37h4qsv9cgrdlt8lrpb@4ax.com>
References: <8r09ee$75b$1 AT uranium DOT btinternet DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 32
X-Trace: /bQNuavoeUkk20ZUOhg66B98V/6QcFn1zDjy1c57t2CzHGMhYKQEHXBdbimg29KjV8N7PomjF+/K!hkNePzhPcAByh5Al85bglZwTZvZGFZoO4BtmfLeB5veOPjAghc1LjUTymC9SIbM16LhiyddZG2VU!+Unz5g==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 28 Sep 2000 21:42:30 GMT
Distribution: world
Date: Thu, 28 Sep 2000 21:42:30 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 28 Sep 2000 21:25:22 +0100, "DjAttitude"
<DjAttitude AT btinternet DOT com> wrote:

>Hi,
>
>this is not about the MAKE allegro problem, its something else.
>
>Heres the prob,
>
>(Using Rhide..)
>
>1. I open an example from allegro examples dir, eg 'ex1.c'
>2. I do Alt-F9 and it says 'No Errors'
>3. when I try to run, Ctrl-F9. Errors arise:-
>
>Error: ex1.o: In function `main':
>ex1.c(12) Error: undefined reference to `allegro_init'
>ex1.c(13) Error: undefined reference to `install_keyboard'

You forgot to link in %DJDIR%/lib/liballeg.a.  To do that in
RHIDE, choose Options > Libraries... then add the word
  alleg
somewhere near the bottom of the big square, and put an X in
the box just to the left of "alleg".

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019