Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: David White Newsgroups: scea.yaroze.programming.codewarrior Subject: Problems porting sample program to CW Date: Fri, 18 Jul 1997 00:56:11 -0700 Organization: SCEA Net Yaroze News Lines: 55 Message-ID: <33CF219A.1DE9@san.rr.com> Reply-To: dwhite2@san.rr.com NNTP-Posting-Host: dt3h2n9e.san.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 3.01 (Macintosh; I; PPC) I am having trouble compiling the sample program 'blow' from the scee demos directory on SCEA's web site. Specifically, when I try to compile main.c I get Error : internal compiler error: File: 'BE_register.c' Line: 363 main.c line 485 } This line is the closure for void controlsWRTObject(void) This routine contains simple lines like FntPrint("Rotation %d %d %d\n",(int)rotateObj.vx, (int)rotateObj.vy, (int)rotateObj.vz); if (PadStatus & PADLright) rotateObj.vx += 8; rotateObj is defined as SVECTOR rotateObj = {0,0,0}; PadStatus is defined as u_long PadStatus; When I comment out this routine I get the same error from the following routine controlsWRTWorld(); It is nearly identical to controlsWRTObject(). If I comment out the lines for FntPrint( ... in each routine, I can compile, but then I get these link errors: Link Error : undefined: ‘_d_add’ Referenced from ‘controlsWRTObject’ in main.c Link Error : undefined: ‘__cvt_dfp2unsigned’ Referenced from ‘controlsWRTObject’ in main.c Only commenting out both routines and their references yield successful compiling and linking. I am using the Mac version of the Net bourn patch for the NY compiler I am running sys 7.5.5 on an 8500. I have set IDE's memory partition to 11886 KBytes I'd appreciate any help with this as I'd like to use this sample program for learning. Thanks David