public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.14-rc2-rt6 build problems
@ 2005-09-28 15:59 Mark Knecht
  2005-09-28 20:13 ` Mark Knecht
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2005-09-28 15:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]

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

[-- Attachment #2: knecht-2.6.14-rc2-rt6.config.bz2 --]
[-- Type: application/x-bzip2, Size: 6881 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-rc2-rt6 build problems
  2005-09-28 15:59 2.6.14-rc2-rt6 build problems Mark Knecht
@ 2005-09-28 20:13 ` Mark Knecht
  2005-09-28 20:30   ` Daniel Walker
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2005-09-28 20:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar

On 9/28/05, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>    I'm new to the list and not a developer. Please take mercy.
>
<SNIP>
>
> 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 declaration
arch/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 once
arch/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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-rc2-rt6 build problems
  2005-09-28 20:13 ` Mark Knecht
@ 2005-09-28 20:30   ` Daniel Walker
  2005-09-28 20:37     ` Mark Knecht
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Walker @ 2005-09-28 20:30 UTC (permalink / raw)
  To: Mark Knecht; +Cc: linux-kernel, Ingo Molnar

On Wed, 2005-09-28 at 13:13 -0700, Mark Knecht wrote:

> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-rc2-rt6 build problems
  2005-09-28 20:30   ` Daniel Walker
@ 2005-09-28 20:37     ` Mark Knecht
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2005-09-28 20:37 UTC (permalink / raw)
  To: dwalker; +Cc: linux-kernel, Ingo Molnar

On 9/28/05, Daniel Walker <dwalker@mvista.com> wrote:
> On Wed, 2005-09-28 at 13:13 -0700, Mark Knecht wrote:
>
> > 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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 15:59 2.6.14-rc2-rt6 build problems Mark Knecht
2005-09-28 20:13 ` Mark Knecht
2005-09-28 20:30   ` Daniel Walker
2005-09-28 20:37     ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox