delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/04/17:17:16

Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: vdynamo AT aol DOT com (Vdynamo)
Date: Sun, 4 Oct 1998 22:13:19 +0000
MIME-Version: 1.0
Subject: Re: allegro
Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk
CC: djgpp AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v2.42a)
Message-Id: <E0zPvVI-00053c-02@sable.ox.ac.uk>

On  4 Oct 98 at 6:53, Vdynamo wrote:

> Why is it when I try to compile allegro I get this message:
> 
> C:\djgpp\allegro>C:\djgpp\bin\make allegro
> gcc -I. -Isrc -Isrc/djgpp -Iobj/djgpp -Wall -W -Werror -Wno-unused -m486 -O3
> -ff
> ast-math -fomit-frame-pointer    src/allegro.c   -o allegro
> c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to `main'
> c:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined reference to `main'
> make.exe: *** [allegro] Error 1
> I dont know whats going on so could somebody help me! Please e-mail the answer.
> THANX!

Just type `make', not `make allegro'.  What you typed confused 
Allegro's makefile.  There are some things you can write after 
`make' to control the build, but `allegro' isn't one of them.

Also, you shouldn't need to give the path to `make'.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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