kernel compilation error: redefinition error in skbuff.h

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

kernel compilation error: redefinition error in skbuff.h

Postby EmanueleS » Wed Sep 04, 2013 10:16 am

Hi!
I'm trying to install the latest GRSecurity on a freshly installed Debian machine.
I get this error recompiling the kernel with GRSecurity:

Code: Select all
scripts/selinux/mdp/mdp.c:169: warning: comparison between signed and unsigned integer expressions
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
In file included from include/linux/icmpv6.h:82,
                 from include/linux/ipv6.h:214,
                 from include/net/ipv6.h:16,
                 from include/linux/sunrpc/clnt.h:25,
                 from include/linux/nfs_fs.h:51,
                 from init/do_mounts.c:19:
include/linux/skbuff.h:1523: error: redefinition of 'netdev_alloc_skb_ip_align'
include/linux/skbuff.h:1503: note: previous definition of 'netdev_alloc_skb_ip_align' was here
make[1]: *** [init/do_mounts.o] Error 1
make: *** [init] Error 2


Does anyone have some idea about how to fix this problem?
EmanueleS
 
Posts: 1
Joined: Wed Sep 04, 2013 9:09 am

Re: kernel compilation error: redefinition error in skbuff.h

Postby spender » Thu Sep 05, 2013 7:00 pm

This is not an error in any published version of grsecurity I'm aware of. Either you're using a very outdated patch or improperly merged some outside changes. Please don't post these kinds of logs while omitting which kernel version/patch was used as it just wastes my time looking for a problem that doesn't exist.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support