Dear all, I'm trying to generate a kernel without module. So I've disabled "Enable loadable module support" option with genkernel.
Genkernel compiles well the bzimage but fails after with the message "ERROR: Failed to compile the "modules" target..." (look hereunder log). Do you know how can I generate my kernel w/o module support using Genkernel ? -- Xavier MOGHRABI - Consortium ObjectWeb Jabber: [EMAIL PROTECTED] - Phone: +33 4 76 61 52 35 * >> Compiling 2.6.17-gentoo-r7 bzImage... * >> Compiling 2.6.17-gentoo-r7 modules... * ERROR: Failed to compile the "modules" target... * -- Grepping log... -- SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] n * * Some SCSI devices (e.g. CD jukebox) support multiple LUNs * Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n -- * * InfiniBand support * InfiniBand support (INFINIBAND) [N/m/y/?] n * * EDAC - error detection and reporting (RAS) (EXPERIMENTAL) * EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n -- CC fs/read_write.o CC fs/file_table.o CC fs/buffer.o CC fs/bio.o fs/bio.c: In function 'bio_alloc_bioset': fs/bio.c:169: warning: 'idx' may be used uninitialized in this function -- CC fs/splice.o CC fs/sync.o CC fs/inotify.o CC fs/eventpoll.o fs/eventpoll.c: In function 'sys_epoll_create': fs/eventpoll.c:500: warning: 'fd' may be used uninitialized in this function -- CC fs/sysfs/bin.o CC fs/sysfs/group.o LD fs/sysfs/built-in.o CC fs/udf/balloc.o fs/udf/balloc.c: In function 'udf_table_new_block': fs/udf/balloc.c:751: warning: 'goal_eloc.logicalBlockNum' may be used uninitialized in this function -- CC fs/udf/lowlevel.o CC fs/udf/namei.o CC fs/udf/partition.o CC fs/udf/super.o fs/udf/super.c: In function 'udf_fill_super': fs/udf/super.c:1358: warning: 'ino.partitionReferenceNum' may be used uninitialized in this function -- CC ipc/compat.o CC ipc/util.o CC ipc/msgutil.o CC ipc/msg.o ipc/msg.c: In function 'sys_msgctl': ipc/msg.c:338: warning: 'setbuf.qbytes' may be used uninitialized in this function ipc/msg.c:338: warning: 'setbuf.uid' may be used uninitialized in this function ipc/msg.c:338: warning: 'setbuf.gid' may be used uninitialized in this function ipc/msg.c:338: warning: 'setbuf.mode' may be used uninitialized in this function CC ipc/sem.o ipc/sem.c: In function 'sys_semctl': ipc/sem.c:810: warning: 'setbuf.uid' may be used uninitialized in this function ipc/sem.c:810: warning: 'setbuf.gid' may be used uninitialized in this function ipc/sem.c:810: warning: 'setbuf.mode' may be used uninitialized in this function -- CC drivers/md/dm-target.o CC drivers/md/dm-linear.o CC drivers/md/dm-stripe.o CC drivers/md/dm-ioctl.o drivers/md/dm-ioctl.c: In function 'ctl_ioctl': drivers/md/dm-ioctl.c:1388: warning: 'param' may be used uninitialized in this function -- LD drivers/usb/mon/usbmon.o LD drivers/usb/mon/built-in.o CC drivers/usb/net/catc.o CC drivers/usb/net/kaweth.o drivers/usb/net/kaweth.c: In function 'kaweth_control': drivers/usb/net/kaweth.c:1212: warning: 'length' may be used uninitialized in this function -- CC lib/zlib_inflate/inffast.o CC lib/zlib_inflate/inflate.o CC lib/zlib_inflate/inflate_sync.o CC lib/zlib_inflate/inftrees.o lib/zlib_inflate/inftrees.c: In function 'huft_build': lib/zlib_inflate/inftrees.c:121: warning: 'r.base' may be used uninitialized in this function -- CC arch/x86_64/boot/compressed/misc.o OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin GZIP arch/x86_64/boot/compressed/vmlinux.bin.gz LD arch/x86_64/boot/compressed/piggy.o LD arch/x86_64/boot/compressed/vmlinux ld: warning: i386:x86-64 architecture of input file `arch/x86_64/boot/compressed/head.o' is incompatible with i386 output -- The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make: *** [modules] Error 1 * Gentoo Linux Genkernel; Version 3.4.0 * Running with options: all * ERROR: Failed to compile the "modules" target... * -- End log... -- -- gentoo-user@gentoo.org mailing list