Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed kernel compile with 2.6.20-gentoo [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
DistroMan
n00b
n00b


Joined: 14 Jul 2006
Posts: 5
Location: Sydney, Australia

PostPosted: Tue Feb 06, 2007 1:23 pm    Post subject: Failed kernel compile with 2.6.20-gentoo [SOLVED] Reply with quote

genkernel all
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: all

* Linux Kernel 2.6.20-gentoo for x86_64...
* kernel: >> Running mrproper...
* config: Using config from /etc/kernels/kernel-config-x86_64-2.6.20-gentoo
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* >> Compiling 2.6.20-gentoo bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86_64/Kconfig
.config:1746:warning: trying to assign nonexistent symbol SND_AC97_BUS
.config:1896:warning: trying to assign nonexistent symbol USB_HIDINPUT
.config:2384:warning: trying to assign nonexistent symbol UNWIND_INFO
--
* Bus options (PCI etc.)
*
PCI support (PCI) [Y] y
Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
PCI Express support (PCIEPORTBUS) [Y/n/?] y
Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
--
SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
*
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
IP-over-InfiniBand (INFINIBAND_IPOIB) [M/n/?] m
IP-over-InfiniBand debugging (INFINIBAND_IPOIB_DEBUG) [N/y/?] n
InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [N/m/?] n
*
* EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
--
CC mm/mmap.o
CC kernel/power/process.o
CC kernel/power/console.o
CC mm/mprotect.o
CC kernel/power/pm.o
kernel/power/pm.c:205: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:64)
kernel/power/pm.c:205: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:64)
kernel/power/pm.c:206: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:180)
kernel/power/pm.c:206: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:180)
--
CC fs/read_write.o
CC kernel/auditfilter.o
CC fs/file_table.o
CC fs/super.o
kernel/auditfilter.c: In function 'audit_filter_user':
kernel/auditfilter.c:1605: warning: 'state' may be used uninitialized in this function
kernel/auditfilter.c: In function 'audit_receive_filter':
kernel/auditfilter.c:1170: warning: 'ndw' may be used uninitialized in this function
kernel/auditfilter.c:1170: warning: 'ndp' may be used uninitialized in this function
--
CC ipc/util.o
CC ipc/msgutil.o
CC ipc/msg.o
CC fs/fcntl.o
ipc/msg.c: In function 'sys_msgctl':
ipc/msg.c:390: warning: 'setbuf.qbytes' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.uid' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.gid' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.mode' may be used uninitialized in this function
CC ipc/sem.o
CC fs/ioctl.o
ipc/sem.c: In function 'sys_semctl':
ipc/sem.c:862: warning: 'setbuf.uid' may be used uninitialized in this function
ipc/sem.c:862: warning: 'setbuf.gid' may be used uninitialized in this function
ipc/sem.c:862: warning: 'setbuf.mode' may be used uninitialized in this function
--
LD fs/nls/built-in.o
LD fs/ntfs/built-in.o
CC fs/partitions/check.o
CC drivers/acpi/motherboard.o
fs/partitions/check.c: In function 'add_partition':
fs/partitions/check.c:389: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result
fs/partitions/check.c:392: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
--
LD drivers/acpi/built-in.o
CC fs/partitions/ldm.o
LD drivers/atm/built-in.o
CC drivers/base/core.o
drivers/base/core.c: In function 'device_add':
drivers/base/core.c:514: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:519: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:523: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:525: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c: In function 'device_rename':
drivers/base/core.c:937: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:947: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
--
CC fs/proc/root.o
CC drivers/base/driver.o
CC fs/proc/base.o
CC drivers/base/class.o
drivers/base/class.c: In function 'class_device_rename':
drivers/base/class.c:866: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
CC drivers/base/platform.o
CC fs/proc/generic.o
drivers/base/platform.c: In function 'platform_bus_init':
drivers/base/platform.c:614: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result
--
LD drivers/char/hw_random/built-in.o
LD drivers/char/mwave/built-in.o
LD drivers/char/pcmcia/built-in.o
CC drivers/char/speakup/speakup.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/dir.o
drivers/char/speakup/speakup.c: In function 'say_line':
drivers/char/speakup/speakup.c:900: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
drivers/char/speakup/speakup.c:900: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
--
CC drivers/char/speakup/speakup_drvcommon.o
CC fs/udf/lowlevel.o
CC drivers/char/speakup/speakup_acntpc.o
CC fs/udf/namei.o
drivers/char/speakup/speakup_acntpc.c: In function 'do_catch_up':
drivers/char/speakup/speakup_acntpc.c:55: error: 'jiffies' undeclared (first use in this function)
drivers/char/speakup/speakup_acntpc.c:55: error: (Each undeclared identifier is reported only once
drivers/char/speakup/speakup_acntpc.c:55: error: for each function it appears in.)
make[3]: *** [drivers/char/speakup/speakup_acntpc.o] Error 1
make[2]: *** [drivers/char/speakup] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
--
CC fs/udf/super.o
CC fs/udf/truncate.o
CC fs/udf/symlink.o
CC fs/udf/fsync.o
fs/udf/super.c: In function 'udf_fill_super':
fs/udf/super.c:1363: warning: 'ino.partitionReferenceNum' may be used uninitialized in this function
--
LD fs/xfs/built-in.o
LD fs/built-in.o
* Gentoo Linux Genkernel; Version 3.4.6
* Running with options: all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --
_________________
Regards
Trevor


Last edited by DistroMan on Wed Feb 07, 2007 12:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jastec69
n00b
n00b


Joined: 13 Jan 2006
Posts: 2

PostPosted: Tue Feb 06, 2007 11:58 pm    Post subject: Re: Failed kernel compile with 2.6.20-gentoo Reply with quote

I got the same error. Ended up just disabling the console speech support in order to compile.
Under menuconfig:
Device Drivers:
Speakup console speech


Jeff
_________________
In a world without walls and fences - who needs Windows and Gates?
Back to top
View user's profile Send private message
DistroMan
n00b
n00b


Joined: 14 Jul 2006
Posts: 5
Location: Sydney, Australia

PostPosted: Wed Feb 07, 2007 3:43 am    Post subject: Re: Failed kernel compile with 2.6.20-gentoo Reply with quote

Jastec69 wrote:
I got the same error. Ended up just disabling the console speech support in order to compile.
Under menuconfig:
Device Drivers:
Speakup console speech


Jeff


Did that and it still fails.
_________________
Regards
Trevor
Back to top
View user's profile Send private message
DistroMan
n00b
n00b


Joined: 14 Jul 2006
Posts: 5
Location: Sydney, Australia

PostPosted: Wed Feb 07, 2007 11:56 am    Post subject: Reply with quote

Turning off Speakup console speech wasn't as easy to do as I though. I went back in tonight to see what else was there only to find it was still turned on. I turned it off again and went in and out a few times to make sure it stayed on this time. Compile finished without error. Thanks.
_________________
Regards
Trevor
Back to top
View user's profile Send private message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2559
Location: Oviedo, Spain

PostPosted: Sun Feb 18, 2007 5:57 pm    Post subject: Reply with quote

Seems a bug:
http://bugs.gentoo.org/show_bug.cgi?id=166086
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum