[cc65] Problem with swiftlink

From: Tom Watt <tom1awhost.biz>
Date: 2007-10-21 19:58:16
Hello,

I just downloaded the latest windows cc65, and c64 support... I made the following test program/make.bat file and get the errors below and not sure why..

sltest.c:
#include <c64.h>
#include <cbm.h>
#include <rs232.h>

void main(void) {
  rs232_init (0);
  rs232_params(RS_BAUD_19200, RS_PAR_NONE);
  rs232_put ('H');
  rs232_put ('e');
  rs232_put ('l');
  rs232_put ('l');
  rs232_put ('o');
  rs232_put (' ');
  rs232_put ('W');
  rs232_put ('o');
  rs232_put ('r');
  rs232_put ('l');
  rs232_put ('d');
  rs232_put ('!');
  rs232_put ('\n');
  rs232_done ();
}


make.bat:
cl65 -g -Oi sltest.c


error/output when make.bat ran:
C:\DOCUME~1\Tom\Desktop\c64\sltest>cl65 -L "C:\Progra~1\cc65\ser" sltest.c
Unresolved external `_rs232_done' referenced in:
  sltest.s(14)
Unresolved external `_rs232_init' referenced in:
  sltest.s(12)
Unresolved external `_rs232_params' referenced in:
  sltest.s(13)
Unresolved external `_rs232_put' referenced in:
  sltest.s(15)
ld65.exe: Error: 4 unresolved external(s) found - cannot create output file


Thanks,

Tom

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Oct 21 19:58:09 2007

This archive was generated by hypermail 2.1.8 : 2007-10-21 19:58:13 CEST