problem building 2.3.47: no macintosh.a file

Brad Parker brad at parker.boston.ma.us
Wed Mar 1 03:08:58 EST 2000



I've gotten 2.3.47 from kernel.org to build, doing pretty much what
Lou did (below).  To get rid of the link errors you need to edit
arch/ppc/kernel/ppc_ksyms.c and comment out the line with "strspn" in
it.

It boots on my imac.  I don't have a lot of milage yet, but usb works :-)

fyi - I plan to switch to an rsync from Paul's tree...

-brad

Lou Langholtz wrote:
>
>Lou Langholtz wrote:
>
>> Hollis R Blanchard wrote:
>>
>> > . . .
>> > I would recommend not using kernel.org sources for a while. Paul's tree se
>ems
>> > to be the favorite for Macs right now.
>> >
>> > -Hollis
>>
>> Thanks for responding so quickly. I feel so close now to actually getting th
>e
>> 2.3.47 sources to fully link. I'm down to just a multiple definitions error.
> Do
>> you suspect I'll still have lots of trouble with the 2.3.47 sources if I get
>> them to build on my PowerMac 7500? . . .
>
>Argh! I've gotten now to the point that 2.3.47 builds all the way then the lin
>ker
>barfs with two "multiple definition of" errors. In part in frustration, I thou
>ght
>I'd do the smart thing and try patching to 2.3.48 to see if that'll compile
>better. Quite the opposite. 2.3.48's build doesn't get nearly as far for me so
> I'm
>hoping now to get rid of these last two linker errors for 2.3.47. Unfortunatel
>y I
>did a recursive grep for these symbols which didn't find either of them and no
>w
>I'm at a loss of where to check next in getting rid of these last errors. Here
>'s
>what I see:
>
>ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o
>init/main.o init/version.o \
> --start-group \
> arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o
>mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
> drivers/block/block.a drivers/char/char.o drivers/misc/misc.o drivers/net/net
>.o
>drivers/parport/parport.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
>drivers/sound/sounddrivers.o drivers/pci/pci.a drivers/macintosh/macintosh.a
>drivers/video/video.o \
> net/network.a \
> /usr/src/linux/lib/lib.a \
> --end-group \
> -o vmlinux
>kernel/kernel.o(.kstrtab+0x1f44): multiple definition of `__kstrtab_strspn'
>arch/ppc/kernel/kernel.o(.kstrtab+0x4a4): first defined here
>kernel/kernel.o(__ksymtab+0x9e0): multiple definition of `__ksymtab_strspn'
>arch/ppc/kernel/kernel.o(__ksymtab+0x178): first defined here
>make: *** [vmlinux] Error 1
>
>Can anyone help me with these definition errors?
>
>I feel so close with kernel.org's 2.3.47 kernel. Should I just byte the bullet
> and
>use Paul's tree as Hollis suggests? Biggest problem with using another tree is
>that I've got a very slow network pipe (a 28.8 modem and I already have
>kernel.org's 2.3.47 + 2.3.48 sources). I also don't actually know anymore wher
>e to
>get Paul's source tree. So in the end, kernel.org's 2.3.47 kernel still feels
>closest to working for me.
>
>Thanks!!!
>
>
>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list