Error when I make on IA64 host.

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Error when I make on IA64 host.

Postby JensSthlm » Tue Aug 03, 2010 9:51 am

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
JensSthlm
 
Posts: 12
Joined: Tue Feb 05, 2008 3:42 am

Re: Error when I make on IA64 host.

Postby spender » Tue Aug 03, 2010 10:20 am

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
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: Error when I make on IA64 host.

Postby JensSthlm » Tue Aug 03, 2010 10:39 am

Thanks :)

Jens
JensSthlm
 
Posts: 12
Joined: Tue Feb 05, 2008 3:42 am


Return to grsecurity support

cron