Mail Archives: djgpp/1998/10/04/17:17:16
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 -