delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/28/16:30:32

From: "DjAttitude" <DjAttitude AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro and DJGPP compiling ! (not the MAKE problem)
Date: Thu, 28 Sep 2000 21:25:22 +0100
Organization: BT Internet
Lines: 38
Message-ID: <8r09ee$75b$1@uranium.btinternet.com>
NNTP-Posting-Host: host213-1-77-245.btinternet.com
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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'
ex1.c(14) Error: undefined reference to `set_gfx_mode'
ex1.c(15) Error: undefined reference to `desktop_pallete'
Error: ex1.c(.text+0x47): undefined reference to `set_pallete'
ex1.c(16) Error: undefined reference to `gfx_driver'
Error: ex1.c(.text+0x61): undefined reference to `gfx_driver'
Error: ex1.c(.text+0x85): undefined reference to `gfx_driver'
Error: ex1.c(.text+0x8e): undefined reference to `gfx_driver'
Error: ex1.c(.text+0xb9): undefined reference to `font'
Error: ex1.c(.text+0xbf): undefined reference to `screen'
Error: ex1.c(.text+0xc5): undefined reference to `textout_centre'
Error: collect2: ld returned 1 exit status
There were some errors

Please, can anyone help ?

Thanx







- Raw text -


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