Jump to content



0

2.11.0- .09 of CC65 Help


4 replies to this topic

#1 Cybernoid OFFLINE  

Cybernoid

    Dragonstomper

  • 889 posts
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Sat Apr 15, 2006 2:15 PM

I have upgraded to the latest version of CC65, and am now receiving the following error. Does anyone know how to work around this?

Thanks!

Unresolved external `__LOWCODE_LOAD__' referenced in:
  crt0.s(18)
Unresolved external `__RESERVED_MEMORY__' referenced in:
  crt0.s(19)
ld65.exe: Error: 2 unresolved external(s) found - cannot create output file
make: *** Error 255


#2 danwinslow OFFLINE  

danwinslow

    Stargunner

  • 1,748 posts

Posted Sat Apr 15, 2006 4:01 PM

Make sure you are using the new linker cfg file...also that you have the new atari.lib and .o as well as the new cc65 binaries. You may have to define the __RESERVED_MEMORY__ as so :
cl65 -m map.txt -l -t atari -I..\include -L..\aelib main.c -o main.com usb.o sl811.o aelib.lib -Wl "-D __RESERVED_MEMORY__=1"

#3 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • 8,109 posts
  • Location:Baden-Württemberg, Germany

Posted Sat Apr 15, 2006 4:09 PM

aha... ;) that's why i stay with xasm and pure 6502 code... ;)

#4 danwinslow OFFLINE  

danwinslow

    Stargunner

  • 1,748 posts

Posted Sat Apr 15, 2006 5:39 PM

Things that never change never require adjustments. They never get any better, either.

#5 Shawn Jefferson OFFLINE  

Shawn Jefferson

    Stargunner

  • 1,538 posts
  • Location:Victoria, Canada

Posted Thu Apr 27, 2006 12:29 AM

View Postdanwinslow, on Sat Apr 15, 2006 3:01 PM, said:

Make sure you are using the new linker cfg file...also that you have the new atari.lib and .o as well as the new cc65 binaries. You may have to define the __RESERVED_MEMORY__ as so :
cl65 -m map.txt -l -t atari -I..\include -L..\aelib main.c -o main.com usb.o sl811.o aelib.lib -Wl "-D __RESERVED_MEMORY__=1"

You can put RESERVED_MEMORY right in the linker config file too. Chris, that constant replaces the _graphmode_used (sp?) variable from previous versions.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users