[kaffe] Re: CVS kaffe (dalibor): Small fix for m68k build problems
Dalibor Topic
robilad@kaffe.org
Wed Dec 10 04:17:02 2003
This is a multi-part message in MIME format.
--------------030108020405070204080508
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Ciao Riccardo,
Riccardo wrote:
> In <3FD5C95E.4050504@kaffe.org> Dalibor Topic wrote:
>
>>Riccardo, could you CVS update and try building again?
>>
>>cheers,
>>dalibor topic
>
>
>
> I did that. Building still fails and fails very early, But I think it is
> due to another bug. The error is long and Ipsoted it on my page as
> always
Thanks! Could you apply the attached patch & run make again?
I guess the problem is that the declaration of callMethodInfo from
kaffe/kaffevm/support.h is missing when the compiler drops out. It
usually gets included somewhere along the way, but good practice would
be to include it in the file where it's declarations are used, i.e.
common.h. Which is what the patch does ;)
cheers,
dalibor topic
--------------030108020405070204080508
Content-Type: text/plain;
name="m68k.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="m68k.diff"
Index: config/m68k/common.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/m68k/common.h,v
retrieving revision 1.11
diff -u -r1.11 common.h
--- config/m68k/common.h 9 Dec 2003 12:37:28 -0000 1.11
+++ config/m68k/common.h 10 Dec 2003 12:01:25 -0000
@@ -26,6 +26,8 @@
#include "atomicity.h"
+#include "support.h"
+
/*
* Alignment in structure is 2 bytes packed.
*/
--------------030108020405070204080508--