Re: [pmac_pci.o] Error 1 compiling 2.4.1 on 7200/120


Subject: Re: [pmac_pci.o] Error 1 compiling 2.4.1 on 7200/120
From: Paul Schinder (schinder@pobox.com)
Date: Mon Feb 12 2001 - 20:08:33 MST


At 7:21 PM -0500 2/12/01, Paul Barrette wrote:
>Hi,
>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.

>
>Machine:
>7200/120
>48 rAM
>1.2G
>
>make error:
>
>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.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
>make[1]: Leaving directory `/home/linux/arch/ppc/kernel'
>make: *** [_dir_arch/ppc/kernel] Error 2
>
>real 125m26.850s
>user 60m36.510s
>sys 3m11.740s
>
>
>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
>stuff.
>
>thanks.
>
>
>--
>---------------------------------
>Paul Barrette, MA, Ph.D cand.
>Programmer, Linux/Unix specialist
>Network Verification, Nortel Networks

-- 
--
Paul Schinder
schinder@pobox.com



This archive was generated by hypermail 2a24 : Mon Feb 12 2001 - 20:09:05 MST