Page 1 of 1

Error when I make on IA64 host.

PostPosted: Tue Aug 03, 2010 9:51 am
by JensSthlm
Hello.

Iam runing RedHat ES 5.x on hardware rx2660 from HP. It's a IA64.
When I make den now grsecure kernel (2.2.0-2.6.36.16). I get this error.


-------------
.............
CC mm/fremap.o
CC mm/highmem.o
CC mm/madvise.o
CC mm/memory.o
mm/memory.c: In function ‘free_pmd_range’:
mm/memory.c:179: error: implicit declaration of function ‘_AC’
mm/memory.c:179: error: ‘UL’ undeclared (first use in this function)
mm/memory.c:179: error: (Each undeclared identifier is reported only once
mm/memory.c:179: error: for each function it appears in.)
mm/memory.c:179: warning: left shift count >= width of type
mm/memory.c:183: warning: left shift count >= width of type
make[1]: *** [mm/memory.o] Error 1
make: *** [mm] Error 2

-------------
.............

Anybody have any good idea for solutions?

Jens Skoglund
JS Data
Stockholm - Sweden

Re: Error when I make on IA64 host.

PostPosted: Tue Aug 03, 2010 10:20 am
by spender
Ah good, so I'm not the only one running the Itanic ;) I do have a fix for this, and it will be in the next patch.

Code: Select all
diff -u linux-2.6.32.16/arch/ia64/include/asm/pgtable.h linux-2.6.32.16/arch/ia64/include/asm/pgtable.h
--- linux-2.6.32.16/arch/ia64/include/asm/pgtable.h     2010-07-09 14:50:34.000000000 -0400
+++ linux-2.6.32.16/arch/ia64/include/asm/pgtable.h     2010-07-24 15:14:07.000000000 -0400
@@ -13,6 +13,7 @@
  */


+#include <linux/const.h>
 #include <asm/mman.h>
 #include <asm/page.h>
 #include <asm/processor.h>


-Brad

Re: Error when I make on IA64 host.

PostPosted: Tue Aug 03, 2010 10:39 am
by JensSthlm
Thanks :)

Jens