Red Hat Kernel - Re: kernel building error: inputdrv ....

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > January 2004 > Re: kernel building error: inputdrv ....





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: kernel building error: inputdrv ....
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:26 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:26 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:26 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
J.O. Aho

2004-01-23, 7:26 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

J.O. Aho

2004-01-23, 7:26 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

J.O. Aho

2004-01-23, 7:26 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:26 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:26 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
J.O. Aho

2004-01-23, 7:26 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

Alexander Dalloz

2004-01-23, 7:27 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:27 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:27 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
J.O. Aho

2004-01-23, 7:27 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

Alexander Dalloz

2004-01-23, 7:28 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

> Building a kernel (2.4.22) does not work:
>
> I get the following message:
>
> driver/input/inputdrv.o(.text+0x845): In function 'emulate_raw':
> :undefined reference to 'handle_scancode'
>
> and a few more like them.
>
> also:
>
> driver/input/inputdrv.o(.text+0x845): In function 'keybdev_event':
> :undefined reference to 'keyboard_tasklet'
>
> I feel it must have something to do with my coices in 'make
> menuconfig', because earlier I succeeded in running the 'make' to a
> proper end...
>
>
> but which setting in menuconfig ?
>
> and:
>
> how could I protect myself against these wrong (combination of)
> choices ?
>
>
> frgr
> Erik



Before starting anything in building your own kernel, directly after
unpacking the source, run a:

make mrproper

This is highly needed.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
e展k

2004-01-23, 7:28 pm

quote:

>
>Before starting anything in building your own kernel, directly after
>unpacking the source, run a:
>
>make mrproper
>
>This is highly needed.
>
>Alexander




but I did !! I really really did....

:-(


and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
produced the same result.
No strange things happened in make dep...

It must be two incompatible settings or so...

What I did was:
run make menuconfig on the 2.4.22 kernel and save the settings as
erik_config.
then exiting make menuconfig while saving (as .config , no doubt).

then make dep and make bzImage

then copy erik_config to the 2.4.20 directory as .config.
run make dep and make bzImage on the 2.4.20 kernel.


frgr
Erik
Alexander Dalloz

2004-01-23, 7:28 pm

e展k <et57__DELETE__THIS__@hotmail.com> wrote:
quote:

>
>
>
> but I did !! I really really did....
>
> :-(
>
>
> and another thing: using my 2.4.22 .config on 2.4.20 (original RH)
> produced the same result.
> No strange things happened in make dep...
>
> It must be two incompatible settings or so...
>
> What I did was:
> run make menuconfig on the 2.4.22 kernel and save the settings as
> erik_config.
> then exiting make menuconfig while saving (as .config , no doubt).
>
> then make dep and make bzImage
>
> then copy erik_config to the 2.4.20 directory as .config.
> run make dep and make bzImage on the 2.4.20 kernel.
>
>
> frgr
> Erik



This can't work! Or just in a few configuration cases. Don't do such
funny things, no wonder for the errors. Go and run a correct menuconfig
on the older kernel and not by using a .config file from a newer one.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
J.O. Aho

2004-01-23, 7:28 pm

Alexander Dalloz wrote:
quote:

> e展k <et57__DELETE__THIS__@hotmail.com> wrote:


quote:

[QUOTE][color=darkred]
> This can't work! Or just in a few configuration cases. Don't do such
> funny things, no wonder for the errors. Go and run a correct menuconfig
> on the older kernel and not by using a .config file from a newer one.



I think you can use "make oldconfig" if you are using old configurations from
earlier or later kernels, should remove entries that aren't allowed.

//Aho

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com