On Sat, May 12, 2007 at 06:50:46PM +0200, Christian T. Steigies wrote: > Its already fixed in svn, I needed to add type: plain in m68k/defines. No > idea why or what it does, but compilation starts now. The amiga image fails > however here: > > cp vmlinux vmlinux.tmp > m68k-linux-gnu-strip vmlinux.tmp > gzip -9c vmlinux.tmp >vmlinux.gz > rm vmlinux.tmp > Building modules, stage 2. > MODPOST 402 modules > WARNING: sound/oss/dmasound/dmasound_paula.o - Section mismatch: reference > to .init.text: from .data after 'machAmiga' (at offset 0x54) > WARNING: sound/oss/dmasound/dmasound_paula.o - Section mismatch: reference > to .init.text:AmiMixerInit from .data after 'machAmiga' (at offset 0x80)
I've never looked at dmasound_paula.c before, but I do see that the function AmiMixerInit is marked __init, but is only referenced in a structure of callbacks. It would appear that the correct thing to do is to remove the __init attribute from that function. > WARNING: "pci_map_sg" [drivers/scsi/aic7xxx_old.ko] undefined! > WARNING: "pci_free_consistent" [drivers/scsi/aic7xxx_old.ko] undefined! > WARNING: "pci_map_single" [drivers/scsi/aic7xxx_old.ko] undefined! > WARNING: "pci_unmap_sg" [drivers/scsi/aic7xxx_old.ko] undefined! > WARNING: "pci_unmap_single" [drivers/scsi/aic7xxx_old.ko] undefined! > WARNING: "pci_alloc_consistent" [drivers/scsi/aic7xxx_old.ko] undefined! > make[4]: *** [__modpost] Error 1 This looks like we need to #include <asm-generic/pci-dma-compat.h> in the header asm-m68k/pci.h to get these functions. I'm not sure my tree is 100% up to date, but that's the first thing I noticed by comparing the m68k pci support to other platforms. I suspect that this driver isn't even built in the other configurations, since it requires ISA || EISA || PCI. > And I don't know if that is a l-m68k problem or a l-image problem. If the > atari or mac images build, I guess it is an m68k problem. I will see that in > a while, my little epia is not incredibly fast... These both sound like l-m68k issues. Brad Boyer [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]