delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/27/22:36:31

From: "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro programs won't compile
Date: Sat, 27 Jan 2001 22:30:46 -0500
Lines: 29
Message-ID: <9503n5$f59no$1@ID-57378.news.dfncis.de>
References: <000201c088bd$50aebfc0$7d012f04 AT rudycomputer>
NNTP-Posting-Host: ip132.rochester6.ny.pub-ip.psi.net (38.26.84.132)
X-Trace: fu-berlin.de 980652582 15902456 38.26.84.132 (16 [57378])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Have you specified allegro library name when tried to compile from command
line???

--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
frounze [AT] ece [DOT] rochester [DOT] edu
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/


"rujasu" <rujasu AT netzero DOT net> wrote in message
news:000201c088bd$50aebfc0$7d012f04 AT rudycomputer...
Whenever I try to compile a C program using allegro.h with GCC.EXE, the
compiler says "f:/djgpp/tmp\(some bizzare filename):(name of program to be
compiled): undefined reference to (function from allegro.h)`' once for
Allegro every function used in the program. The Allegro example programs
won't compile either, even though they compiled fine when I ran make & the
executables work fine, so I don't think that my code is the culprit.  When I
compile out of RHIDE, it works fine, but I can't create an executable file
through RHIDE.  What is my problem?

System Info:
I am running Windows 98, I am using Allegro 3.12, RHIDE 1.4, gcc 2.95 and I
am 99.9% sure I installed DJGPP correctly.



- Raw text -


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