delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/08/22:08:57

To: djgpp AT delorie DOT com
From: Chak AT taft DOT pvt DOT k12 DOT ct DOT us (Chak)
Reply-To: Chak AT taft DOT pvt DOT k12 DOT ct DOT us (Chak)
Date: Mon, 08 Dec 1997 22:08:43 GMT
Subject: Errors compiling Allegro
Message-ID: <3829923580.15647718@taft.pvt.k12.ct.us>
Organization: The Taft School

Hello all!

The following is what happens when I run MAKE to compile Allegro:

e:\djgpp\allegro>make
gcc -I. -Isrc -Wall -o obj/bank.o -c src/bank.S
e:/djgpp/tmp\ccbaaaaa: Assembler messages:
e:/djgpp/tmp\ccbaaaaa:252: Error: register does not match opcode suffix
e:/djgpp/tmp\ccbaaaaa:269: Error: register does not match opcode suffix
make.exe: *** [obj/bank.o] Error 1

as well as the following when I delete references to bank.o (the above
problem) in the makefile.  Unfortunately, it gives more than a page
worth of mesages, so I couldn't capture them all, but here's what I could get:

liballeg.a(tseng.o)(.text+0x269):tseng.c: undefined reference to
`_et4000_read_bank_end'
liballeg.a(tseng.o)(.text+0x26e):tseng.c: undefined reference to
`_et4000_read_bank'
liballeg.a(tseng.o)(.text+0x274):tseng.c: undefined reference to
`_et4000_read_bank'
liballeg.a(tseng.o)(.text+0x280):tseng.c: undefined reference to
`_et4000_write_bank'
liballeg.a(tseng.o)(.text+0x287):tseng.c: undefined reference to
`_et4000_read_bank'
liballeg.a(video7.o)(.text+0x247):video7.c: undefined reference to
`_video7_bank_end'
liballeg.a(video7.o)(.text+0x24c):video7.c: undefined reference to
`_video7_bank'
liballeg.a(video7.o)(.text+0x252):video7.c: undefined reference to
`_video7_bank'
liballeg.a(video7.o)(.text+0x291):video7.c: undefined reference to
`_video7_bank'
liballeg.a(video7.o)(.text+0x298):video7.c: undefined reference to
`_video7_bank'
make.exe: *** [setup/setup.exe] Error 1

Any suggestions on why I'm getting these errors (especially the first one?)?? 
I am wagering that the second set has something to do with the removal of
bank.o from the makefile??

Thanks,
Dan Chak
chak AT taft DOT pvt DOT k12 DOT ct DOT us



- Raw text -


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