[cc65] Does 4529 TGI library compile?

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2009-12-16 20:51:11
Hello,

does SVN version 4529 on trunk actually compile?

I am trying to build DEB packages for i386 and AMD64 (Thanks Daniel
Serpell for the fixes for the Debian files!), but I stumbled upon a
compilation error when libsrc/tgi is compiled:

_circle.s(19): Error: Symbol `_tgi_ellipse' is undefined
make: *** [tgi_circle.o] Error 1

I applied the following patch:

diff -urNad cc65-2.13.0svn4529~/libsrc/tgi/tgi_circle.s cc65-2.13.0svn4529/libsrc/tgi/tgi_circle.s
--- cc65-2.13.0svn4529~/libsrc/tgi/tgi_circle.s	2009-12-16 13:39:26.000000000 +0100
+++ cc65-2.13.0svn4529/libsrc/tgi/tgi_circle.s	2009-12-16 20:43:15.000000000 +0100
@@ -7,6 +7,7 @@
         .include        "tgi-kernel.inc"
 
         .import         pusha
+        .import         _tgi_ellipse
 
 
 ;----------------------------------------------------------------------------


and this file compiles, but then, I got other errors:

tgi_clippedline.s(416): Error: Symbol `tgi_clip_y2' is undefined
tgi_clippedline.s(406): Error: Symbol `tgi_clip_x2' is undefined
tgi_clippedline.s(353): Error: Symbol `_tgi_ymax' is undefined
tgi_clippedline.s(326): Error: Symbol `tgi_clip_y1' is undefined
tgi_clippedline.s(311): Error: Symbol `_tgi_xmax' is undefined
tgi_clippedline.s(267): Error: Symbol `tgi_clip_x1' is undefined
tgi_clippedline.s(101): Error: Symbol `tgi_clip_y1' is undefined
tgi_clippedline.s(99): Error: Symbol `tgi_clip_y2' is undefined
tgi_clippedline.s(89): Error: Symbol `tgi_clip_x1' is undefined
tgi_clippedline.s(87): Error: Symbol `tgi_clip_x2' is undefined
tgi_clippedline.s(51): Error: Symbol `tgi_outcode' is undefined
tgi_clippedline.s(50): Error: Symbol `tgi_clip_y1' is undefined
tgi_clippedline.s(50): Error: Symbol `tgi_clip_y2' is undefined
tgi_clippedline.s(41): Error: Symbol `tgi_outcode' is undefined

I could go through these files, too. However, I ask myself if this is
intended, or if I have a local problem?

The problem occurred on two different machines, both running Debian Etch
(4.0)

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Dec 16 20:51:34 2009

This archive was generated by hypermail 2.1.8 : 2009-12-16 20:51:37 CET