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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #289 of 313 |
Re: Another recompilation problem

Hello Martin,

On 10.03.04, you wrote:

> 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.

Done. It works :) Now I've another problem.

I've got such an error message:

YAM_rexx.o(.text+0x7e): undefined reference to `SetRexxVar'
YAM_rexx.o(.text+0xdac): undefined reference to `SetRexxVar'
YAM_rexx.o(.text+0xe08): undefined reference to `SetRexxVar'
collect2: ld returned 1 exit status
make: *** [YAM] Error 1

This is one of amiga.lib linked library functions, isn't it? I have
amiga.lib in there copied from my AmigaOS GCC installation (Or maybe I
should generate somehow amiga.lib for the cross-compiler, but how?). I also
checked the /opt/gg/gcc-lib/m68k-amigaos/.../specs file and there's
'-lamiga' option valid when using '-noixemul'. And '-noixemul' is one of
the options in my Makefile. So adding '-lamiga' option to the Makefile
shouldn't be necessary. Although even that doesn't help. Still I've got the
same error message.

When I had tried to remove '-noixemul' option (only for tests be cause I
know that if I want in the future to compile these sources for i686 I will
have to add it anyway) then I had other kind of error:

/opt/gg/m68k-amigaos/bin/ld: cannot open -lstack: No such file or directory
collect2: ld returned 1 exit status
make: *** [YAM] Error 1

And the needed libstack.a file was in there and the '-lstack' flag was in my
Makefile.

So when I use '-noixemul' I've got problems with SetRexxVar(), when I try to
disable that option I've got problems with '-lstack'.

What am I doing wrong? I try to build it for m68k-amigaos so it should be a
doable thing if somebody out there compiles it and we can use it :)

Thanks in advance for any help and sorry for my English,
--

Miłosz 'Softfailur' Staszewski
sofcik@...




Wed Mar 10, 2004 11:52 pm

sofcik@...
Send Email Send Email

Forward
Message #289 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