Search the web
Sign In
New User? Sign Up
amithlondev · Amithlon-Dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Another recompilation problem   Message List  
Reply | Forward Message #288 of 313 |
Re: Another recompilation problem

Miłosz Staszewski wrote:

> Hello all,
>
> I've got another problem with compilation under Amithlon cross-compiler.
>
> Now I want to compile YAM 2.3. And as before I want to compile m68k-amigaos
> version first. When I'll be sure that it works then I will try to get i686
> version.
>
> I've installed includes and FDs for MUI from mui38dev into
> /opt/gg/os-include/amigaos
> and /opt/gg/os-lib/fd/amigaos respectively.
>
> Then I ran the following commands:
>
> /opt/gg/bin/gg-fix-includes --sfd
> /opt/gg/bin/gg-fix-includes --include
> /opt/gg/bin/gg-fix-includes --lib
>
> (although the last one wasn't necessary I think).
>
> And this is the error I get:

[...]

> For me it looks like a problem with inlines and protos. But how to make this
> working if they should be automagically generated by
> /opt/gg/bin/gg-fix-includes ?
>
> Or maybe I'm wrong and the problem is something else?
> I enclose the Makefile and the file producing these errors.
> Any help will be appreciated.

MUI applications have trouble with inlines and recent gcc's. Define the
preprocessor macro NO_INLINE_STDARG before including <proto/muimaster.h>:

#define NO_INLINE_STDARG
#include <proto/muimaster.h>
#undef NO_INLINE_STDARG

or simply add -DNO_INLINE_STDARG to CPPFLAGS in your Makefile.


--
---- Martin Blom --------------------------- martin@... ----
Eccl 1:18 http://martin.blom.org/



Wed Mar 10, 2004 11:18 pm

leviticus_mb
Offline Offline
Send Email Send Email

Forward
Message #288 of 313 |
Expand Messages Author Sort by Date

Hello all, I've got another problem with compilation under Amithlon cross-compiler. Now I want to compile YAM 2.3. And as before I want to compile m68k-amigaos...
Miosz Staszewski
sofcik@...
Send Email
Mar 9, 2004
10:09 pm

... [...] ... MUI applications have trouble with inlines and recent gcc's. Define the preprocessor macro NO_INLINE_STDARG before including <proto/muimaster.h>:...
Martin Blom
leviticus_mb
Offline Send Email
Mar 10, 2004
11:19 pm

Hello Martin, ... Done. It works :) Now I've another problem. I've got such an error message: YAM_rexx.o(.text+0x7e): undefined reference to `SetRexxVar' ...
Miosz Staszewski
sofcik@...
Send Email
Mar 11, 2004
12:12 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help