* Build issue current MIPS - RaQ2
@ 2005-03-19 19:17 Jim Gifford
2005-03-20 6:27 ` Patch for iomap on MIPS was " Jim Gifford
2005-03-20 6:30 ` Andrew Morton
0 siblings, 2 replies; 3+ messages in thread
From: Jim Gifford @ 2005-03-19 19:17 UTC (permalink / raw)
To: LKML
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
maillist@jg555.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Patch for iomap on MIPS was Re: Build issue current MIPS - RaQ2
2005-03-19 19:17 Build issue current MIPS - RaQ2 Jim Gifford
@ 2005-03-20 6:27 ` Jim Gifford
2005-03-20 6:30 ` Andrew Morton
1 sibling, 0 replies; 3+ messages in thread
From: Jim Gifford @ 2005-03-20 6:27 UTC (permalink / raw)
To: Jim Gifford; +Cc: LKML
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/Makefile 2005-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
maillist@jg555.com
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Build issue current MIPS - RaQ2
2005-03-19 19:17 Build issue current MIPS - RaQ2 Jim Gifford
2005-03-20 6:27 ` Patch for iomap on MIPS was " Jim Gifford
@ 2005-03-20 6:30 ` Andrew Morton
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2005-03-20 6:30 UTC (permalink / raw)
To: Jim Gifford; +Cc: linux-kernel
Jim Gifford <maillist@jg555.com> 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.000000000 -0800
+++ 25-akpm/arch/mips/lib/Makefile 2005-03-19 22:30:07.000000000 -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)
_
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-20 6:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 19:17 Build issue current MIPS - RaQ2 Jim Gifford
2005-03-20 6:27 ` Patch for iomap on MIPS was " Jim Gifford
2005-03-20 6:30 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox