www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/05/15:53:02

Message-ID: <37089C60.2A7977C4@xoommail.com>
From: Ishpeck <ishpeck AT xoommail DOT com>
Organization: Lunaticnologies
X-Mailer: Mozilla 4.01 [en] (Win95; I)
MIME-Version: 1.0
Newsgroups: alt.comp.lang.learn.c-c++,comp.os.msdos.djgpp
Subject: Re: Aleggro example error! Error! Error!
X-Priority: 3 (Normal)
References: <7eb6gu$gb1 AT indo-news>
X-Corel-MessageType: EMail
Lines: 31
NNTP-Posting-Host: 192.41.73.1
X-Trace: news6.ispnews.com 923311135 192.41.73.1 (Mon, 05 Apr 1999 07:18:55 EDT)
NNTP-Posting-Date: Mon, 05 Apr 1999 07:18:55 EDT
Date: Mon, 05 Apr 1999 05:20:00 -0600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Either the Library is missing, or the Header file is missing.

Arman wrote:
> 
> 1.Why do I can't make *.exe from all allegro's example (*.c)? When I tried
> to compile, I got error message! Help me !!
> This is the error messages when I compile ex1.c with gcc:
> c:/djgpp/tmp\cccqxthj(.text+0x14):ex1.c: undefined reference to
> `allegro_init'
> c:/djgpp/tmp\cccqxthj(.text+0x19):ex1.c: undefined reference to
> `install_keyboar
> d'
> c:/djgpp/tmp\cccqxthj(.text+0x31):ex1.c: undefined reference to
> `set_gfx_mode'
> c:/djgpp/tmp\cccqxthj(.text+0x39):ex1.c: undefined reference to
> `desktop_pallete
> '
> c:/djgpp/tmp\cccqxthj(.text+0x3e):ex1.c: undefined reference to
> `set_pallete'
> c:/djgpp/tmp\cccqxthj(.text+0x4c):ex1.c: undefined reference to `gfx_driver'
> c:/djgpp/tmp\cccqxthj(.text+0x55):ex1.c: undefined reference to `gfx_driver'
> c:/djgpp/tmp\cccqxthj(.text+0x75):ex1.c: undefined reference to `gfx_driver'
> c:/djgpp/tmp\cccqxthj(.text+0x7e):ex1.c: undefined reference to `gfx_driver'
> c:/djgpp/tmp\cccqxthj(.text+0xa5):ex1.c: undefined reference to `font'
> c:/djgpp/tmp\cccqxthj(.text+0xab):ex1.c: undefined reference to `screen'
> c:/djgpp/tmp\cccqxthj(.text+0xb1):ex1.c: undefined reference to
> `textout_centre'
> 
> c:/djgpp/tmp\cccqxthj(.text+0xb9):ex1.c: undefined reference to `readkey'
> 
> 2. What is *.o file for ? How to make it?

- Raw text -


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