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