delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/01/16:36:36

From: "john smith" <jsmith AT msnd DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Unable to compile Allegro Example
Date: Fri, 1 Dec 2000 15:15:21 -0600
Organization: BrightNet OKlahoma UseNet Server
Lines: 23
Message-ID: <9094cj$2hb$1@sooner.brightok.net>
References: <906tt9$k9g$1 AT sooner DOT brightok DOT net> <975677037 DOT 920076 AT shelley DOT paradise DOT net DOT nz>
NNTP-Posting-Host: ada1p36.cld.brightok.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

When I tried using gcc I got a huge list of stuff?

gcc cube.c

returned several screens of stuff like this

c:/djgpp/tmp\ccpab6ZB.o(.text+0x1ab0):cube.c: undefined reference to
`readkey'
c:/djgpp/tmp\ccpab6ZB.o(.text+0x1af8):cube.c: undefined reference to
`destroy_bitmap'
c:/djgpp/tmp\ccpab6ZB.o(.text+0x1b09):cube.c: undefined reference to
`destroy_bitmap'
collect2: ld returned 1 exit status

i don't understand any of this. has anyone else tried to compile the ex22.c
file included in allegro? If so, how?

Any help would be appreciated, I'm new to programming in C and this is
baffling me.

fox


- Raw text -


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