You are not logged in.

#1 2011-04-24 16:10:05

Alfred456654
Member
Registered: 2008-09-15
Posts: 15

SELinux not compiling

Hello,

I'm trying to compile kernel26-selinux, but I have an error during the installation.

Here is the dump :

  CC [M]  drivers/net/igbvf/ethtool.o
In file included from drivers/net/igbvf/ethtool.c:36:0:
drivers/net/igbvf/igbvf.h:129:15: erreur: duplicate member ‘page’
make[3]: *** [drivers/net/igbvf/ethtool.o] Error 1
make[2]: *** [drivers/net/igbvf] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
==> ERREUR: An error occured in build().
    Leaving...
==> ERREUR: Makepkg couldn't build kernel26-selinux.

What should I do ?

Offline

#2 2011-04-24 16:20:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Online

#3 2011-04-24 17:05:01

Alfred456654
Member
Registered: 2008-09-15
Posts: 15

Re: SELinux not compiling

Hello !

Thanks for the quick reply

I made the changes but still have the same kind of error :

  CC [M]  drivers/net/igbvf/ethtool.o
In file included from drivers/net/igbvf/ethtool.c:36:0:
drivers/net/igbvf/igbvf.h:129:15: erreur: duplicate member ‘page’
make[3]: *** [drivers/net/igbvf/ethtool.o] Erreur 1
make[2]: *** [drivers/net/igbvf] Erreur 2
make[1]: *** [drivers/net] Erreur 2
make: *** [drivers] Erreur 2
==> ERREUR: Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire kernel26-selinux.

Offline

#4 2011-07-30 14:56:58

Bkmz
Member
Registered: 2011-07-30
Posts: 21

Re: SELinux not compiling

http://git.kernel.org/?p=linux/kernel/g … h=b1d670f1
Using this patch you need to remove this line, or comment it.

2graysky thank for solution

Offline

#5 2011-11-10 13:04:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: SELinux not compiling

zshaolin350, if you're wondering where your post went, you accidentally sent it to the mods via the report function. Don't worry, this happens a lot.

zshaolin350 wrote:

Hi!
http://git.kernel.org/?p=linux/kernel/g … h=b1d670f1 is not available anymore:
404 - No such project
What should I do then?

tom


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB