Hat sich erledigt. Lösung siehe am Ende des Beitrags.
Hallo,
ich erhalte beim Bauen des aktuellen Kernels (3.4.9) mit genkernel folgenden Fehler. Habe es gerade auch manuell versucht (ohne genkernel) und "make oldconfig" durchgemacht aber auch dann erhalte ich den Fehler. Ist es möglich und ratsam die Compiler-Option "warnings being treated as errors" auszuschalten?
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
* Gentoo Linux Genkernel; Version 3.4.24_p2[0m
* Running with options: --oldconfig --no-clean --bootloader=grub all
* Linux Kernel 3.4.9-gentoo[0m for x86_64[0m...
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
* kernel: --clean is disabled; not running 'make clean'.
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
* >> Compiling 3.4.9-gentoo bzImage...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/x86/boot/bzImage is ready (#1)
* >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
* >> Compiling 3.4.9-gentoo modules...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
LD [M] drivers/scsi/scsi_tgt.o
CC [M] drivers/scsi/lpfc/lpfc_scsi.o
CC [M] drivers/scsi/megaraid/megaraid_mm.o
cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl':
drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable 'rc'
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl_prot':
drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable 'rc'
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl':
drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable 'rc'
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl_prot':
drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable 'rc'
make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1
make[2]: *** [drivers/scsi/lpfc] Error 2
make[2]: *** Waiting for unfinished jobs....
CC [M] drivers/scsi/megaraid/megaraid_mbox.o
CC [M] drivers/scsi/megaraid/megaraid_sas_base.o
CC [M] drivers/scsi/megaraid/megaraid_sas_fusion.o
CC [M] drivers/scsi/megaraid/megaraid_sas_fp.o
CC [M] drivers/video/cfbfillrect.o
LD [M] drivers/scsi/megaraid/megaraid_sas.o
make[1]: *** [drivers/scsi] Error 2
make[1]: *** Waiting for unfinished jobs....
CC [M] drivers/video/cfbcopyarea.o
CC [M] drivers/video/cfbimgblt.o
CC [M] drivers/video/sysfillrect.o
CC [M] drivers/video/syscopyarea.o
CC [M] drivers/video/sysimgblt.o
CC [M] drivers/video/fb_sys_fops.o
CC [M] drivers/video/output.o
CC [M] drivers/video/backlight/lcd.o
CC [M] drivers/video/backlight/backlight.o
CC [M] drivers/video/backlight/generic_bl.o
CC [M] drivers/video/backlight/progear_bl.o
make: *** [drivers] Error 2
* Gentoo Linux Genkernel; Version 3.4.24_p2[0m
* Running with options: --oldconfig --no-clean --bootloader=grub all
* ERROR: Failed to compile the "modules" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
|
Update: habe das Modul CONFIG_SCSI_LPFC (emulex lightpulse fibre channel) mal deaktiviert. Bin jetzt über den Punkt hinaus, an dem make das letzte mal abgebrochen hat. Sieht aus, als ob es diesmal geht.