blondie7575 / ChoplifterReverse

A full reverse engineer of Choplifter, the Apple II game written by Dan Gorlin
76 stars 10 forks source link

Build failing #2

Closed jtsom closed 6 months ago

jtsom commented 6 months ago

Very cool project!

Trying to build, but getting an error:

 ~/Developer/Apple/ChoplifterReverse/ [main*] make
rm -f choplifter
rm -f choplifter.o
./cadius CREATEVOLUME CHOPLIFTER.po CHOPLIFTER 143KB
./cadius v 1.4.2 (c) Brutal Deluxe 2011-2013.
  - Create volume 'CHOPLIFTER.po' :
./cadius ADDFILE CHOPLIFTER.po /CHOPLIFTER DiskImageParts/PRODOS/PRODOS#FF0000
./cadius v 1.4.2 (c) Brutal Deluxe 2011-2013.
  - Add file 'DiskImageParts/PRODOS/PRODOS#FF0000' :
ld65: Warning: /usr/local/share/cc65/cfg/apple2.cfg:49: Segment 'STARTUP' does not exist
ld65: Warning: /usr/local/share/cc65/cfg/apple2.cfg:49: Segment 'INIT' does not exist
ld65: Warning: /usr/local/share/cc65/cfg/apple2.cfg:49: Segment 'ONCE' does not exist
ld65: Error: /usr/local/share/cc65/cfg/apple2.cfg:18: Start address of memory area 'BSS' is not constant
make: *** [loader] Error 1
 ~/Developer/Apple/ChoplifterReverse/ [main*] ca65 --version
ca65 V2.19 - Git 25967e65b
 ~/Developer/Apple/ChoplifterReverse/ [main*] which cl65
/usr/local/bin/cl65
blondie7575 commented 6 months ago

Okay, this should be fixed. I was running an outdated cc65 version, and the latest (2.19) is a little fussier about linker configuration.