Subject: Re: [pmac_pci.o] Error 1 compiling 2.4.1 on 7200/120
From: Paul Schinder (email@example.com)
Date: Mon Feb 12 2001 - 20:08:33 MST
At 7:21 PM -0500 2/12/01, Paul Barrette wrote:
>I've been trying to compile 2.4.1 kernel on a fresh 1.2.1 ydl installation
>for some time now, with little luck. The latest error is pmac_pci.o error.
>Has anyone had any luck with this kernel? I got it from kernel.org, should I
>be getting it from a different src?
Yes, you absolutely should be getting it from a different source.
See http://kernel.xorsis.com. I generally get my sources from Paul
Mackerras's rsync server or the Bitkeeper rsync server:
rsync -avz --delete ppc.samba.org::linux-pmac-devel .
rsync -avz --delete bitkeeper.fsmlabs.com::linuxppc_2_4 .
where of course you should create and cd into an appropriate
directory before running these. I've never had trouble with the
Mackerras kernel sources, while the Bitkeeper ones sometimes won't
build because of missing files. Both trees are now 2.4.2-prex.
I've been running 2.4.1 on a beige G3 and Performa 6400 for the past week.
>gcc -D__KERNEL__ -I/home/linux/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.c: In function `pmac_pci_enable_device_hook':
>pmac_pci.c:550: `PCI_DEVICE_ID_APPLE_KL_USB' undeclared (first use in this
>pmac_pci.c:550: (Each undeclared identifier is reported only once
>pmac_pci.c:550: for each function it appears in.)
>make: *** [pmac_pci.o] Error 1
>make: Leaving directory `/home/linux/arch/ppc/kernel'
>make: *** [_dir_arch/ppc/kernel] Error 2
>As you can see it does take some time to compile, that is why I welcome any
>information you(pl) can offer. Thanks.
>Btw, I use this box as my firewall and would love to run the latest netfilter
>Paul Barrette, MA, Ph.D cand.
>Programmer, Linux/Unix specialist
>Network Verification, Nortel Networks
-- -- Paul Schinder firstname.lastname@example.org
This archive was generated by hypermail 2a24 : Mon Feb 12 2001 - 20:09:05 MST