[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUB and mipsel architecture
From: |
Jan Nieuwenhuizen |
Subject: |
Re: GUB and mipsel architecture |
Date: |
Wed, 19 May 2010 14:28:25 +0200 |
Op maandag 17-05-2010 om 08:45 uur [tijdzone +0200], schreef Federico
Bruni:
> But I have a problem with librestrict (attached librestrict.log):
>
> #########################################################################
>
> Tail of target/tools/log/librestrict.log >>>>>>>>
> ./xstatconv.c:224: error: 'struct stat' has no member named '__pad2'
> ./xstatconv.c:266: error: 'struct stat' has no member named
> '__unused4'
> ./xstatconv.c:269: error: 'struct stat' has no member named
> '__unused5'
This is interesting: look at line 224, it says
#ifdef _HAVE_STAT___PAD2
buf->__pad2 = 0;
#endif
so it looks like something is wrong with how the _HAVE_STAT*
macros are defined.
What happens if you replace librestrict/kernel_stat.h by the
mips one that I'm attaching?
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyOfSource.com | AvatarĀ® http://AvatarAcademy.nl
kernel_stat.h
Description: Text Data