Re: Kernel compiling


Subject: Re: Kernel compiling
From: Stefan Jeglinski (jeglin@4pi.com)
Date: Thu Jul 05 2001 - 12:28:39 MDT


>I just downloaded the newest kernel source (2.4.6)
>i unpacked it and compiled it as i normally do with my 2.2* kernels
>But now i get a pmac_pic.o error.
>I have no idea, other than that its propably something to do with
>pci, what it means.
>
>What do i do wrong?
>Is there anyone else that has this problem?

See Kyle Wheeler's post today on linuxppc-user. It may be too new to
archive, so here it is:

>When I tried to compile 2.4.6, I got an error when compiling
>arch/ppc/kernel/pmac_pci.c - it complained that PCI_VENDOR_ID_APPLE_BANDIT
>wasn't defined. I found in include/linux/pci_ids.h a variable that looked
>similar - PCI_DEVICE_ID_APPLE_BANDIT - but nothing identical. So, I
>changed arch/ppc/kernel/pmac_pci.c to use PCI_DEVICE_ID_APPLE_BANDIT
>instead of the other one, and the compile continued like it was supposed
>to - and like I said, it's been stable and fast ever since.

I also sent this message to linuxppc-user this morning:

>there appears
>to be a slight typo in imsttfb.c: there is an undeclared integer "i"
>at line 1277. I solved this by declaring a "long i" but I'm not sure
>if there is a more proper fix.

Finally, I am getting

drivers/ide/idedriver.o: In function `pci_init_sl82c105':
drivers/ide/idedriver.o(.text+0x9a08): undefined reference to
`ide_special_settings'
drivers/ide/idedriver.o(.text+0x9a08): relocation truncated to fit:
R_PPC_REL24 ide_special_settings
make: *** [vmlinux] Error 1

And still cannot build it. Haven't fixed this one yet.

Stefan Jeglinski



This archive was generated by hypermail 2a24 : Thu Jul 05 2001 - 11:34:15 MDT