www.delorie.com/archives/browse.cgi | search |
From: | "Arman" <janwar AT indosat DOT net DOT id> |
Newsgroups: | alt.comp.lang.learn.c-c++,comp.os.msdos.djgpp |
Subject: | Aleggro example error! Error! Error! |
Date: | Sun, 4 Apr 1999 18:31:41 +0800 |
Organization: | INDOSATnet News Server |
Lines: | 36 |
Message-ID: | <7eb6gu$gb1@indo-news> |
NNTP-Posting-Host: | 202.155.6.47 |
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 |
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?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |