LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2003, 04:36 PM   #1
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Rep: Reputation: 15
Thumbs down Kernel compile fail


Trying to recompile my kernel (Gentoo 1.4_rc4) and it just exists with this error (I included alot, just scroll to the bottom to see where it dies).

-------------------------------------------------------
from kmod.c:23:
/usr/src/linux-2.4.20-xfs-r3/include/linux/timer.h:30:1: warning: "del_timer_sync" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:164,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from kmod.c:22:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/ksyms.ver:576:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from kmod.c:23:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:80:1: warning: "smp_num_cpus" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from kmod.c:22:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:86:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from kmod.c:23:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:87:1: warning: "smp_call_function" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from kmod.c:22:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:102:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from kmod.c:23:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:88:1: warning: "cpu_online_map" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from kmod.c:22:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:88:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/interrupt.h:45,
from /usr/src/linux-2.4.20-xfs-r3/include/asm/smplock.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/smp_lock.h:16,
from kmod.c:26:
/usr/src/linux-2.4.20-xfs-r3/include/asm/hardirq.h:41:1: warning: "synchronize_irq" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from kmod.c:22:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:90:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs-r3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=context -DEXPORT_SYMTAB -c context.c
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:82:1: warning: "cpu_data" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/list.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:12,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/asm/processor.h:80:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/ext3_fs_sb.h:20,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/fs.h:710,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/binfmts.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:9,
from context.c:18:
/usr/src/linux-2.4.20-xfs-r3/include/linux/timer.h:30:1: warning: "del_timer_sync" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:164,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/ksyms.ver:576:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from context.c:18:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:80:1: warning: "smp_num_cpus" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:86:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from context.c:18:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:87:1: warning: "smp_call_function" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:102:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from context.c:18:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:88:1: warning: "cpu_online_map" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from context.c:16:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:88:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs-r3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=futex -c -o futex.o futex.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs-r3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=uid16 -c -o uid16.o uid16.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs-r3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:82:1: warning: "cpu_data" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/list.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/wait.h:14,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/fs.h:12,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/binfmts.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:9,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/mm.h:4,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-xfs-r3/include/asm/processor.h:80:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:86:1: warning: "smp_num_cpus" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/mm.h:4,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:80:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:88:1: warning: "cpu_online_map" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/mm.h:4,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:88:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:102:1: warning: "smp_call_function" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:23,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/mm.h:4,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-xfs-r3/include/linux/smp.h:87:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:164,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/ksyms.ver:576:1: warning: "del_timer_sync" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/ext3_fs_sb.h:20,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/fs.h:710,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/binfmts.h:6,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/sched.h:9,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/mm.h:4,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/slab.h:14,
from ksyms.c:13:
/usr/src/linux-2.4.20-xfs-r3/include/linux/timer.h:30:1: warning: this is the location of the previous definition
In file included from ksyms.c:17:
/usr/src/linux-2.4.20-xfs-r3/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux-2.4.20-xfs-r3/include/linux/kernel_stat.h:57: `smp_num_cpus' undeclared (first use in this function)
/usr/src/linux-2.4.20-xfs-r3/include/linux/kernel_stat.h:57: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.20-xfs-r3/include/linux/kernel_stat.h:57: for each function it appears in.)
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/interrupt.h:45,
from ksyms.c:21:
/usr/src/linux-2.4.20-xfs-r3/include/asm/hardirq.h:41:1: warning: "synchronize_irq" redefined
In file included from /usr/src/linux-2.4.20-xfs-r3/include/linux/modversions.h:136,
from /usr/src/linux-2.4.20-xfs-r3/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.20-xfs-r3/include/linux/modules/i386_ksyms.ver:90:1: warning: this is the location of the previous definition
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-xfs-r3/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-xfs-r3/kernel'
make: *** [_dir_kernel] Error 2

--------------------------------------------------------------

Any ideas?

I am using the command - make dep && make clean bzImage modules modules_install

NS
 
Old 06-29-2003, 05:12 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
it looks like xfs support is gurgling out and dying, do you need xfs support? if not the easiest way to fix this is simply to take it out of the filesystems section
 
Old 06-29-2003, 06:40 PM   #3
NightShade737
LQ Newbie
 
Registered: Jun 2003
Location: Worcs, UK
Distribution: Gentoo
Posts: 29

Original Poster
Rep: Reputation: 15
Er...... the drive is XFS....... I dont think it would be the best thing in the world to remove support for it.....

NS
 
Old 06-29-2003, 06:54 PM   #4
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
have you tried a differnet set of kernel sources? i know gentoo comes wiht many try it with the vanilla kernel sources 2.4.21 from www.kernel.org
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fail to bootup after kernel upgrade Oracbase Linux - Software 5 08-23-2005 10:36 PM
vmware-RHEL3U3 install kernel 2.4.25 fail liyuefu Linux - General 1 08-03-2005 04:53 PM
Fail to upgrade linux to kernel 2.6.5 hehetnt Linux - Laptop and Netbook 1 05-06-2004 09:21 AM
fail to compile cdfs ixogn Linux - Software 1 02-26-2004 10:20 AM
Fail to boot newly upgraded Kernel 2.4.4 LenkaNguyen Linux - General 7 11-19-2001 05:16 PM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration