[SCore-users] kernel 2.4.18-3SCORE source
kameyama at pccluster.org
kameyama at pccluster.org
Wed Nov 6 18:15:10 JST 2002
In article <200211060709.gA679NK02361 at zeralda.streamline.com> Nick Birkett <nrcb at streamline-computing.com> wrotes:
> I have tried it on RedHat 7.2 and RedHat 7.3 using gcc and kgcc, but get same
> error:
...
> gcc -D__KERNEL__ -I/raid0/src/linux-2.4.18-3SCORE/include -Wall -Wstrict-pro
> totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-poin
> ter -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=check
> -DEXPORT_SYMTAB -c check.c
> In file included from check.c:36:
> efi.h:40:26: asm-ia64/efi.h: No such file or directory
> In file included from check.c:36:
> efi.h:83: parse error before `efi_guid_t'
> efi.h:83: warning: no semicolon at end of struct or union
> efi.h:89: parse error before `}'
>
> Even if I disable Advanced partition types in config.
Sorry, please apply this oatch.
---------------------------------------cut here---------------------------------
Index: fs/partitions/Config.in
===================================================================
RCS file: /develop/cvsroot/score-src/kernel/linux2.4.18_itanium/fs/partitions/Config.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Config.in
--- fs/partitions/Config.in 1 Aug 2002 07:47:37 -0000 1.1.1.1
+++ fs/partitions/Config.in 6 Nov 2002 09:08:42 -0000
@@ -32,7 +32,9 @@
bool ' SGI partition support' CONFIG_SGI_PARTITION
bool ' Ultrix partition table support' CONFIG_ULTRIX_PARTITION
bool ' Sun partition tables support' CONFIG_SUN_PARTITION
- bool ' EFI GUID Partition support' CONFIG_EFI_PARTITION
+ if [ "$ARCH" = "ia64" ]; then
+ bool ' EFI GUID Partition support' CONFIG_EFI_PARTITION
+ fi
else
if [ "$ARCH" = "alpha" ]; then
define_bool CONFIG_OSF_PARTITION y
Index: fs/partitions/check.c
===================================================================
RCS file: /develop/cvsroot/score-src/kernel/linux2.4.18_itanium/fs/partitions/check.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- fs/partitions/check.c 1 Aug 2002 07:47:37 -0000 1.1.1.1
+++ fs/partitions/check.c 6 Nov 2002 08:46:58 -0000 1.1.1.1.2.1
@@ -33,7 +33,9 @@
#include "sun.h"
#include "ibm.h"
#include "ultrix.h"
+#ifdef __ia64__
#include "efi.h"
+#endif
extern int *blk_size[];
Index: fs/partitions/msdos.c
===================================================================
RCS file: /develop/cvsroot/score-src/kernel/linux2.4.18_itanium/fs/partitions/msdos.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- fs/partitions/msdos.c 1 Aug 2002 07:47:37 -0000 1.1.1.1
+++ fs/partitions/msdos.c 6 Nov 2002 08:46:58 -0000 1.1.1.1.2.1
@@ -35,7 +35,9 @@
#include "check.h"
#include "msdos.h"
+#ifdef ___ia64__
#include "efi.h"
+#endif
#if CONFIG_BLK_DEV_MD
extern void md_autodetect_dev(kdev_t dev);
---------------------------------------cut here---------------------------------
from Kameyama Toyohisa
More information about the SCore-users
mailing list