From mint-bounce@lists.fishpool.fi Sat Dec 31 11:04:51 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] Compiling problems with XaAES From: Odd Skancke To: MiNT List In-Reply-To: <31122005075034i2C00164HYQC0A8B215@erich-arning.de> References: <31122005075034i2C00164HYQC0A8B215@erich-arning.de> Content-Type: text/plain; charset=utf-8 Date: Sat, 31 Dec 2005 10:58:33 +0100 Message-Id: <1136023113.6722.79.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=1.9 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00, RCVD_IN_SORBS X-Spam-Level: * Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id jBVA4oUw021821 lør, 31,.12.2005 kl. 07.50 +0100, skrev Erich Arning: > Hi list and specialists, > > compiling xaaes I get this errors: > > ne -Wshadow -Wpointer-arith -Wcast-qual -c ../adiload.c -o adiload.o > .../adiload.c: In function `module_init': > .../adiload.c:63: parse error before `__CLOBBER_RETURN' > .../adiload.c:50: warning: `ret' might be used uninitialized in this fu= > nction > make[2]: *** [adiload.o] Error 1 > make[2]: Leaving directory `/j/root/freemint/xaaes/src.km/.compile_030' > make[1]: *** [_stmp_030] Error 2 > make[1]: Leaving directory `/j/root/freemint/xaaes/src.km' > make: *** [030] Error 2 > root@hades:/root/freemint/xaaes/src.km> > > freemint was checked out complete a few minutes ago. > What my be wrong? > The compiler stops at a file Odd told me he have done no changes. > So I ask the compiler specialists. > Compiler was gcc 2.95.3 Release 5 I can confirm this now. I get the same error trying to compile the stuff on the ct63 here. I am no compiler expert, but it looks like the native 2.95.3 version we have dont have the __CLOBBER_RETURN macro defined whereas m68k cross gcc compiles this without problems. I thought these were similar and so told Erich that it compiles fine here when infact the same problem happens here. So, Frank, could you shed some light on this? In the meantime I will fix this by #if __GNUC__ > 2 checks so it compiles for now. Best Regards, Odd Skancke