1 |
Hi all, |
2 |
A day or two ago had a compile error during kernel build - rsbac-kernel |
3 |
(gcc-3.3.3-r6). As i have problems with this kernel for some time, |
4 |
leaved it for later (compilation went OK for rsbac-6.7.0 and |
5 |
rsbac-6.7.0-r1 later after recompilation stopped booting 6.7.0-r1). |
6 |
Today also had such problem with hardened-dev-sources-2.6.7-r3 with the |
7 |
same config as hardened-dev-sources-2.6.7-r2 nothing changed (except i |
8 |
think GCC). |
9 |
Suspect it's a problem with the new GCC-3.3.4, before had gcc-3.3.3-r6 |
10 |
(gave such an error for rsbac-kernel - above). |
11 |
For a long time am using hardened USE flag, before that used -fPIC and |
12 |
-fstack-protector, so GCC is hardened. |
13 |
Never had such problems in kernel compilation and don't want to compile |
14 |
a new -hardened-GCC. All ~x86 system and using genkernel but that's for |
15 |
a year and no problems. |
16 |
PS: Also using PaX and grsec2 for quite a long time - minor problems, |
17 |
including 2.6.5 kernel. |
18 |
Suggestions. |
19 |
TIA |
20 |
Rumen |
21 |
...CUT... |
22 |
include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a |
23 |
function) |
24 |
In file included from include/linux/irq.h:72, |
25 |
from include/asm/hardirq.h:6, |
26 |
from include/linux/interrupt.h:11, |
27 |
from include/linux/netdevice.h:515, |
28 |
from include/net/sock.h:48, |
29 |
from include/linux/ip.h:84, |
30 |
from include/net/slhc_vj.h:84, |
31 |
from drivers/net/slhc.c:59: |
32 |
include/asm/hw_irq.h:18:21: asm/irq.h: No such file or directory |
33 |
In file included from include/linux/irq.h:72, |
34 |
from include/asm/hardirq.h:6, |
35 |
from include/linux/interrupt.h:11, |
36 |
from include/linux/netdevice.h:515, |
37 |
from include/net/sock.h:48, |
38 |
from include/linux/ip.h:84, |
39 |
from include/net/slhc_vj.h:84, |
40 |
from drivers/net/slhc.c:59: |
41 |
include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in |
42 |
a function) |
43 |
include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a |
44 |
function) |
45 |
make[2]: *** [drivers/net/slhc.o] Error 1 |
46 |
make[1]: *** [drivers/net] Error 2 |
47 |
make: *** [drivers] Error 2 |
48 |
* ERROR: Failed to compile the "bzImage" target... |
49 |
* -- Grepping log... -- |
50 |
* -- End log... -- |
51 |
* Please consult /var/log/genkernel.log for more information and any |
52 |
* errors that were reported above. |
53 |
* Report any genkernel bugs to bugs.gentoo.org and |
54 |
* assign your bug to genkernel@g.o. Please include |
55 |
* as much information as you can in your bug report; attaching |
56 |
* /var/log/genkernel.log so that your issue can be dealt with |
57 |
effectively. |
58 |
* |
59 |
...END CUT... |