[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian-powerpc: kernel-source-2.4.1 on powerbook



I'm having problems with my powerbook clicking so I thought I would try upgrading to "testing". It didn't fix the problem (mad it worse actually) so I decided to do an "apt-get source kernel-source-2.4.1" and try to build/install a new kernel.

I can't get it to compile.  I get the following error.

gcc -D__KERNEL__ -I/home/bjsimon/Src/Debian/kernel-source-2.4.1-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -c -o pmac_pci.o pmac_pci.c
pmac_pci.c: In function `pmac_pci_enable_device_hook':
pmac_pci.c:550: `PCI_DEVICE_ID_APPLE_KL_USB' undeclared (first use in this function)
pmac_pci.c:550: (Each undeclared identifier is reported only once
pmac_pci.c:550: for each function it appears in.)
make[1]: *** [pmac_pci.o] Error 1

It seems there is no definition for PCI_DEVICE_ID_APPLE_KL_USB. I've tried doing a "grep PCI PCI__DEVICE_ID_APPLE_KL_USB `find . -iname "*.h"` but there is no output.

Does this mean this kenel is not compilable for a PowerPC machine with PCI. I couldn't see any conditionals in the pmac_pci.c file that would suggest a kernel configuration change would solve the problem. PLEASE let me know if I'm wrong.

Has anyone compiled 2.4.1 from the debian source packages and targeting a powermac/powerbook ?
Did it work and if so, can I get a copy of your .config file.

Thanks,
Brendan Simon.



Reply to: