2.6.14-rc2-rt6 build problems
Hi,
I'm new to the list and not a developer. Please take mercy.
I'm attempting to build 2.6.14-rc2-rt6 for a new AMD64/NForce4
system but it's failing. I want to double check my build process. I've downloaded the 2.6.13 kernel source tree (not 2.6.13.2) and patched against that. Is that correct? The patches seemed to go cleanly as far as I could tell.
cd /usr/src/linux/linux-2.6.13
patch -p1 <~mark/patch-2.6.14-rc2
patch -p1 <~mark/patch-2.6.14-rc2-rt6
First, the build gives this warning over and over:
include/linux/time.h: In function `div_sign_safe_ns':include/linux/time.h:127: warning: implicit declaration of function `div_long_long_rem'
and finally the build fails as follows:
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o(.text+0x9b49): In function `do_getitimer':
: undefined reference to div_long_long_rem' kernel/built-in.o(.text+0x9b9f): In function do_getitimer':
: undefined reference to div_long_long_rem' kernel/built-in.o(.text+0x9c26): In function do_getitimer':
: undefined reference to div_long_long_rem' kernel/built-in.o(.text+0x9c80): In function do_getitimer':
: undefined reference to div_long_long_rem' kernel/built-in.o(.text+0x9f96): In function do_setitimer':
: undefined reference to div_long_long_rem' kernel/built-in.o(.text+0x9fef): more undefined references to div_long_long_rem' follow
make: *** [.tmp_vmlinux1] Error 1
lightning linux #
I am attaching my kernel .config file in zipped format.
Thanks,
Mark
Quoted 3 lines · Mark Knecht
Hi,
I'm new to the list and not a developer. Please take mercy.
<SNIP>
Quoted 5 lines
cd
/usr/src/linux/linux-2.6.13
patch -p1 <~mark/patch-2.6.14-rc2
patch -p1 <~mark/patch-2.6.14-rc2-rt6
<SNIP>
Following up I reread Ingo's offline message to me and realized I was supposed to try rt5 instead of tr6.
1) I downloaded 2.6.13 and built this correctly.
2) I applied the 2.6.14-rc2 patch. This built correctly also.
3) I applied the 2.6.14-rc2-rt5 patch. It failed as foloows:
include/linux/time.h: In function `div_sign_safe_ns':include/linux/time.h:127: warning: implicit declaration of function `div_long_lo ng_rem'
In file included from include/linux/mm.h:15,
from include/asm/tlbflush.h:5,
from arch/x86_64/kernel/reboot.c:15:include/linux/fs.h: In function `lock_super':include/linux/fs.h:847: warning: implicit declaration of function down' include/linux/fs.h: In function unlock_super':include/linux/fs.h:853: warning: implicit declaration of function `up'
LD arch/x86_64/kernel/quirks.o
LD arch/x86_64/kernel/i8237.o
CC arch/x86_64/kernel/mce.o
In file included from include/linux/timex.h:58,
from include/linux/sched.h:11,
from arch/x86_64/kernel/mce.c:11:include/linux/time.h: In function `div_sign_safe_ns':include/linux/time.h:127: warning: implicit declaration of function `div_long_lo ng_rem'
In file included from arch/x86_64/kernel/mce.c:17:include/linux/fs.h: In function `lock_super':include/linux/fs.h:847: warning: implicit declaration of function down' include/linux/fs.h: In function unlock_super':include/linux/fs.h:853: warning: implicit declaration of function up' arch/x86_64/kernel/mce.c: In function mce_read':arch/x86_64/kernel/mce.c:392: warning: type defaults to int' in declaration of DECLARE_MUTEX'arch/x86_64/kernel/mce.c:392: warning: parameter names (without types) in functi on declarationarch/x86_64/kernel/mce.c:401: error: `mce_read_sem' undeclared (first use in thi s function)arch/x86_64/kernel/mce.c:401: error: (Each undeclared identifier is reported onl y oncearch/x86_64/kernel/mce.c:401: error: for each function it appears in.) make[1]: *** [arch/x86_64/kernel/mce.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
lightning linux-2.6.13 #
I'll supply more info, config files, etc., if requested.
Thanks in advance,
Mark
Quoted 5 lines · Mark Knecht
1) I downloaded 2.6.13 and built this correctly.
2) I applied the 2.6.14-rc2 patch. This built correctly also.
3) I applied the 2.6.14-rc2-rt5 patch. It failed as foloows:
You had "Complete Preemption (Real-Time)" selected in the first config you sent, did you have that selected during this compile also ?
Daniel
Quoted 4 lines · Daniel Walker
Quoted 2 lines · Mark Knecht
1) I downloaded 2.6.13 and built this correctly.
Quoted 8 lines
Quoted 3 lines
2) I applied the 2.6.14-rc2 patch. This built correctly also.
3) I applied the 2.6.14-rc2-rt5 patch. It failed as foloows:
You had "Complete Preemption (Real-Time)" selected in the first config you sent, did you have that selected during this compile also ?
Daniel
No, in this one I tried making as few changes as possible to the default configuration. This pass was
Preemption Mode (No Forced Preemption (Server))
I would prefer to finally get to Complete Preemption as I'm doing audio recording, etc., but I thought I'd take it in steps.
- Mark