[ale] Can't compile RedHat's kernel.
Michael D. Hirsch
mhirsch at nubridges.com
Mon Jan 6 14:21:05 EST 2003
On Monday 06 January 2003 01:55 pm, attriel wrote:
> > On Monday 06 January 2003 01:33 pm, Chris Ricker wrote:
> >> On Mon, 6 Jan 2003, Michael D. Hirsch wrote:
> >> > Anyone compiled a RedHat kernel, lately. I remember there was a
> >>
> >> time when you needed a special compiler, but I thought those days
> >> were over.
> >>
> >> > I'm trying to add the usbdnet to my kernel, but when that didn't
> >>
> >> work I've gone back to the RedHat sources and did make dep && make
> >> bzImage && make modules. In the middle of make bzImage I get crap
> >> like:
> >>
> >> you're missing a make clean. do that first, before the make dep, etc
> >
> > Well, that just introduced new errors. I should say that before my
> > error was actually in make modules, not make bzImage as I stated.
> >
> > When I did a make clean I got these errors with the redhat i686 config
> > file. I still wondering if I'm missing some devel package that would
> > make all this go away:
>
> Just as a thought, make sure that /usr/include/linux and
> /usr/include/asm are symlinks to /usr/src/linux/include/linux and
> /usr/src/linux/include/asm
>
> (or /usr/src/your-linux-directory/include/linux|asm)
>
> It's possible it decided to install set A of headers and you're
> compiling kernel B and they don't line up :o
That seems reasonable, so I tried it and now i get this. I'm getting more
confused all the time....
make[1]: Entering directory `/usr/src/linux-2.4.18-14'
kallsyms pass 1
ld -m elf_i386 -T /usr/src/linux-2.4.18-14/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o
arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o
drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o
drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o
drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o
drivers/isdn/vmlinux-obj.o net/network.o crypto/crypto.o abi/abi.o
/usr/src/linux-2.4.18-14/arch/i386/lib/lib.a
/usr/src/linux-2.4.18-14/lib/lib.a
/usr/src/linux-2.4.18-14/arch/i386/lib/lib.a --end-group -o .tmp_vmlinux1
init/main.o: In function `do_basic_setup':
init/main.o(.text.init+0x841): undefined reference to
`speakup_register_devsynth'
fs/fs.o: In function `proc_root_init':
fs/fs.o(.text.init+0xc8b): undefined reference to `proc_speakup_init'
drivers/char/char.o: In function `vc_allocate':
drivers/char/char.o(.text+0xf6cf): undefined reference to
`speakup_allocate'
drivers/char/char.o: In function `lf':
drivers/char/char.o(.text+0xfdde): undefined reference to
`speakup_con_write'
drivers/char/char.o: In function `do_con_write':
drivers/char/char.o(.text+0x12161): undefined reference to
`speakup_con_update'
drivers/char/char.o(.text+0x1254e): undefined reference to
`speakup_con_write'
drivers/char/char.o: In function `console_callback':
drivers/char/char.o(.text+0x127f3): undefined reference to
`speakup_con_update'
drivers/char/char.o: In function `vt_console_print':
drivers/char/char.o(.text+0x128b0): undefined reference to
`speakup_con_write'
drivers/char/char.o(.text+0x12a2a): undefined reference to
`speakup_con_update'
drivers/char/char.o(.text+0x12aeb): undefined reference to `speakup_bs'
drivers/char/char.o: In function `do_con_trol':
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list