1 |
Dear all, |
2 |
|
3 |
I'm trying to generate a kernel without module. So I've disabled "Enable |
4 |
loadable module support" option with genkernel. |
5 |
|
6 |
Genkernel compiles well the bzimage but fails after with the message "ERROR: |
7 |
Failed to compile the "modules" target..." (look hereunder log). |
8 |
|
9 |
Do you know how can I generate my kernel w/o module support using Genkernel ? |
10 |
|
11 |
-- |
12 |
Xavier MOGHRABI - Consortium ObjectWeb |
13 |
Jabber: moghrabi@××××××××××××××××.org - Phone: +33 4 76 61 52 35 |
14 |
|
15 |
|
16 |
* >> Compiling 2.6.17-gentoo-r7 bzImage... |
17 |
* >> Compiling 2.6.17-gentoo-r7 modules... |
18 |
* ERROR: Failed to compile the "modules" target... |
19 |
|
20 |
* -- Grepping log... -- |
21 |
|
22 |
SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] n |
23 |
* |
24 |
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
25 |
* |
26 |
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y |
27 |
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n |
28 |
-- |
29 |
* |
30 |
* InfiniBand support |
31 |
* |
32 |
InfiniBand support (INFINIBAND) [N/m/y/?] n |
33 |
* |
34 |
* EDAC - error detection and reporting (RAS) (EXPERIMENTAL) |
35 |
* |
36 |
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n |
37 |
-- |
38 |
CC fs/read_write.o |
39 |
CC fs/file_table.o |
40 |
CC fs/buffer.o |
41 |
CC fs/bio.o |
42 |
fs/bio.c: In function 'bio_alloc_bioset': |
43 |
fs/bio.c:169: warning: 'idx' may be used uninitialized in this function |
44 |
-- |
45 |
CC fs/splice.o |
46 |
CC fs/sync.o |
47 |
CC fs/inotify.o |
48 |
CC fs/eventpoll.o |
49 |
fs/eventpoll.c: In function 'sys_epoll_create': |
50 |
fs/eventpoll.c:500: warning: 'fd' may be used uninitialized in this function |
51 |
-- |
52 |
CC fs/sysfs/bin.o |
53 |
CC fs/sysfs/group.o |
54 |
LD fs/sysfs/built-in.o |
55 |
CC fs/udf/balloc.o |
56 |
fs/udf/balloc.c: In function 'udf_table_new_block': |
57 |
fs/udf/balloc.c:751: warning: 'goal_eloc.logicalBlockNum' may be used |
58 |
uninitialized in this function |
59 |
-- |
60 |
CC fs/udf/lowlevel.o |
61 |
CC fs/udf/namei.o |
62 |
CC fs/udf/partition.o |
63 |
CC fs/udf/super.o |
64 |
fs/udf/super.c: In function 'udf_fill_super': |
65 |
fs/udf/super.c:1358: warning: 'ino.partitionReferenceNum' may be used |
66 |
uninitialized in this function |
67 |
-- |
68 |
CC ipc/compat.o |
69 |
CC ipc/util.o |
70 |
CC ipc/msgutil.o |
71 |
CC ipc/msg.o |
72 |
ipc/msg.c: In function 'sys_msgctl': |
73 |
ipc/msg.c:338: warning: 'setbuf.qbytes' may be used uninitialized in this |
74 |
function |
75 |
ipc/msg.c:338: warning: 'setbuf.uid' may be used uninitialized in this |
76 |
function |
77 |
ipc/msg.c:338: warning: 'setbuf.gid' may be used uninitialized in this |
78 |
function |
79 |
ipc/msg.c:338: warning: 'setbuf.mode' may be used uninitialized in this |
80 |
function |
81 |
CC ipc/sem.o |
82 |
ipc/sem.c: In function 'sys_semctl': |
83 |
ipc/sem.c:810: warning: 'setbuf.uid' may be used uninitialized in this |
84 |
function |
85 |
ipc/sem.c:810: warning: 'setbuf.gid' may be used uninitialized in this |
86 |
function |
87 |
ipc/sem.c:810: warning: 'setbuf.mode' may be used uninitialized in this |
88 |
function |
89 |
-- |
90 |
CC drivers/md/dm-target.o |
91 |
CC drivers/md/dm-linear.o |
92 |
CC drivers/md/dm-stripe.o |
93 |
CC drivers/md/dm-ioctl.o |
94 |
drivers/md/dm-ioctl.c: In function 'ctl_ioctl': |
95 |
drivers/md/dm-ioctl.c:1388: warning: 'param' may be used uninitialized in this |
96 |
function |
97 |
-- |
98 |
LD drivers/usb/mon/usbmon.o |
99 |
LD drivers/usb/mon/built-in.o |
100 |
CC drivers/usb/net/catc.o |
101 |
CC drivers/usb/net/kaweth.o |
102 |
drivers/usb/net/kaweth.c: In function 'kaweth_control': |
103 |
drivers/usb/net/kaweth.c:1212: warning: 'length' may be used uninitialized in |
104 |
this function |
105 |
-- |
106 |
CC lib/zlib_inflate/inffast.o |
107 |
CC lib/zlib_inflate/inflate.o |
108 |
CC lib/zlib_inflate/inflate_sync.o |
109 |
CC lib/zlib_inflate/inftrees.o |
110 |
lib/zlib_inflate/inftrees.c: In function 'huft_build': |
111 |
lib/zlib_inflate/inftrees.c:121: warning: 'r.base' may be used uninitialized |
112 |
in this function |
113 |
-- |
114 |
CC arch/x86_64/boot/compressed/misc.o |
115 |
OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin |
116 |
GZIP arch/x86_64/boot/compressed/vmlinux.bin.gz |
117 |
LD arch/x86_64/boot/compressed/piggy.o |
118 |
LD arch/x86_64/boot/compressed/vmlinux |
119 |
ld: warning: i386:x86-64 architecture of input file |
120 |
`arch/x86_64/boot/compressed/head.o' is incompatible with i386 output |
121 |
-- |
122 |
|
123 |
The present kernel configuration has modules disabled. |
124 |
Type 'make config' and enable loadable module support. |
125 |
Then build a kernel with module support enabled. |
126 |
|
127 |
make: *** [modules] Error 1 |
128 |
* Gentoo Linux Genkernel; Version 3.4.0 |
129 |
* Running with options: all |
130 |
|
131 |
* ERROR: Failed to compile the "modules" target... |
132 |
|
133 |
* -- End log... -- |
134 |
-- |
135 |
gentoo-user@g.o mailing list |