Re: Kernel build crapped out


Subject: Re: Kernel build crapped out
From: Eric Reischer (emr@engr.de.psu.edu)
Date: Tue Oct 31 2000 - 22:06:16 MST


Is this something that should be submitted to the Linux Kernel mailing list
to be fixed by the next kernel prerelease?

Eric

At 06:49 PM 10/31/00 , Martin Costabel wrote:
>Eric Reischer wrote:
> >
> > Sorry about that.....I'm compiling a 2.4test9 kernel. And when I did the
> > config, I issued the command:
> > make CROSS_COMPILE=powerpc-unknown-linux-gnu- ARCH=ppc config
> > which automatically put the CONFIG_PPC entry in the autoconf.h file.
>[]
> > > > drivers/input/inputdrv.o: In function 'keybdev_event':
> > > > drivers/input/inputdrv.o(.text+0x16bc): undefined reference to
> > > 'emulate_raw'
>
>OK, since what you are describing is impossible with the version of
>drivers/input/keybdev.c I have (from the bitkeeper linuxppc tree), I had
>a look at the version supplied with the "official" 2.4.0test9.
>
>That's a really weird one, and the word "crap" you used seems justified:
>The function emulate_raw is used without any ifs, but its definition
>some lines earlier is enclosed in either
>#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) ||
>defined(__mips__)
>or
>#elif defined(CONFIG_ADB_KEYBOARD)
>
>So in your case you would need to put CONFIG_ADB_KEYBOARD=y into your
>.config file. Or change these weird #ifs.
>
>The bitkeeper version of the file is somewhat better in that it uses
>only one set of conditionals,
>#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) ||
>defined (__mips__) || defined(CONFIG_PPC)
>but the function is still used without any condition.
>
>--
>Martin



This archive was generated by hypermail 2a24 : Tue Oct 31 2000 - 23:14:14 MST