Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!lll-crg!nike!oliveb!glacier!navajo!ali From: ali@navajo.STANFORD.EDU (Ali Ozer) Newsgroups: net.micro.amiga Subject: Re: YABoing problem? Message-ID: <864@navajo.STANFORD.EDU> Date: Fri, 26-Sep-86 18:38:58 EDT Article-I.D.: navajo.864 Posted: Fri Sep 26 18:38:58 1986 Date-Received: Tue, 30-Sep-86 06:02:24 EDT References: <343@sivax.UUCP> Reply-To: ali@navajo.UUCP (Ali Ozer) Distribution: net Organization: Stanford University Lines: 26 Keywords: Compiling YaBoing with Lattice ------------->8 I just got my hands on a Lattice compiler and compiled YaBoing with it. And, yes, I get all these messages that I don't get with the Manx compiler! Anyway, you can ignore all the warnings (I guess) but the initializer on line 71 gives a fatal error. Replacing struct Custom *cstm = 0xdff000; on line 71 with extern struct Custom custom; and the two places where "cstm->" occurs with "custom." (including the DOT) fixes the problem. (These occur on lines 201 and 308.) This second solution seems like the better one, because you don't have this hardwired address in your program. But, I could not get it to work with Manx (why, is it short/long data/code problems?). So I ended up sticking in the address in there... After this you still get 3 warnings but they can be ignored. (The Lattice version ends up being more than 20000 bytes long (as opposed to Manx's 4900+), I am wondering if I compiled wrong (or somehow brought in and actually included libraries I was not supposed to). But it works!) Ali