Re: Build issue current MIPS - RaQ2
Jim Gifford <[EMAIL PROTECTED]> wrote: > > I have not been able to build kernels since 2.6.9 on my RaQ2 for some > time. I have tried the linux-mips.org port and the current 2.6.11.5 > release. I keep getting the same error. > >Building modules, stage 2. >MODPOST > *** Warning: "pci_iounmap" [drivers/net/tulip/tulip.ko] undefined! > *** Warning: "pci_iomap" [drivers/net/tulip/tulip.ko] undefined! Does this fix it? --- 25/arch/mips/lib/Makefile~mips-linkage-fix 2005-03-19 22:29:34.0 -0800 +++ 25-akpm/arch/mips/lib/Makefile 2005-03-19 22:30:07.0 -0800 @@ -2,7 +2,9 @@ # Makefile for MIPS-specific library files.. # -lib-y += csum_partial_copy.o dec_and_lock.o iomap.o memcpy.o promlib.o \ +lib-y += csum_partial_copy.o dec_and_lock.o memcpy.o promlib.o \ strlen_user.o strncpy_user.o strnlen_user.o +obj-y += iomap.o + EXTRA_AFLAGS := $(CFLAGS) _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Patch for iomap on MIPS was Re: Build issue current MIPS - RaQ2
Jim Gifford wrote: I have not been able to build kernels since 2.6.9 on my RaQ2 for some time. I have tried the linux-mips.org port and the current 2.6.11.5 release. I keep getting the same error. Building modules, stage 2. MODPOST *** Warning: "pci_iounmap" [drivers/net/tulip/tulip.ko] undefined! *** Warning: "pci_iomap" [drivers/net/tulip/tulip.ko] undefined! I Finally figured it out, Here is a patch diff -Naur linux-2.6.11/arch/mips/lib/Makefile linux-mips-2.6.11/arch/mips/lib/Makefile --- linux-2.6.11/arch/mips/lib/Makefile 2005-03-01 23:37:48 -0800 +++ linux-mips-2.6.11/arch/mips/lib/Makefile2005-03-19 21:49:03 -0800 @@ -2,7 +2,10 @@ # Makefile for MIPS-specific library files.. # -lib-y += csum_partial_copy.o dec_and_lock.o iomap.o memcpy.o promlib.o \ +lib-y += csum_partial_copy.o dec_and_lock.o memcpy.o promlib.o \ strlen_user.o strncpy_user.o strnlen_user.o + +obj-y += iomap.o + EXTRA_AFLAGS := $(CFLAGS) -- Jim Gifford [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Build issue current MIPS - RaQ2
I have not been able to build kernels since 2.6.9 on my RaQ2 for some time. I have tried the linux-mips.org port and the current 2.6.11.5 release. I keep getting the same error. Building modules, stage 2. MODPOST *** Warning: "pci_iounmap" [drivers/net/tulip/tulip.ko] undefined! *** Warning: "pci_iomap" [drivers/net/tulip/tulip.ko] undefined! with Make V=1 Building modules, stage 2. make -rR -f /usr/src/linux-2.6.11.5/scripts/Makefile.modpost scripts/mod/modpost -o /usr/src/linux-2.6.11.5/Module.symvers vmlinux drivers/block/loop.o drivers/block/rd.o drivers/cdrom/cdrom.o drivers/char/rtc.o drivers/net/tulip/tulip.o drivers/scsi/scsi_mod.o drivers/scsi/scsi_transport_spi.o drivers/scsi/sd_mod.o drivers/scsi/sr_mod.o drivers/scsi/st.o drivers/scsi/sym53c8xx_2/sym53c8xx.o fs/exportfs/exportfs.o fs/isofs/isofs.o fs/lockd/lockd.o fs/nfs/nfs.o fs/nfsd/nfsd.o fs/nls/nls_ascii.o fs/nls/nls_base.o fs/nls/nls_cp437.o fs/nls/nls_iso8859-1.o fs/nls/nls_utf8.o fs/smbfs/smbfs.o lib/crc32.o lib/zlib_inflate/zlib_inflate.o net/key/af_key.o net/netlink/netlink_dev.o net/packet/af_packet.o net/sunrpc/sunrpc.o net/unix/unix.o *** Warning: "pci_iounmap" [drivers/net/tulip/tulip.ko] undefined! *** Warning: "pci_iomap" [drivers/net/tulip/tulip.ko] undefined! Now it seems to me that the Makefile.modpost would need to include arch/mips/lib/iomap.o file to correct this issue, but that doesn't seem like the correct thing to do, and I have no clue on how to do that. -- Jim Gifford [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/