Re: sparc64 modpost failure - insw/outsw undefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 16, 2009 at 11:16:06AM +0200, Meelis Roos wrote:
> Trying todays 2.6.29-rc1+git on a sparc64, config below:
> 
>   MODPOST 499 modules
> ERROR: "insw" [drivers/scsi/fdomain.ko] undefined!
> ERROR: "outsw" [drivers/scsi/fdomain.ko] undefined!
> ERROR: "insl" [drivers/net/ne2k-pci.ko] undefined!
> ERROR: "outsl" [drivers/net/ne2k-pci.ko] undefined!
> ERROR: "outsw" [drivers/net/ne2k-pci.ko] undefined!
> ERROR: "insw" [drivers/net/ne2k-pci.ko] undefined!
> ERROR: "outsl" [drivers/net/3c59x.ko] undefined!
> ERROR: "insl" [drivers/net/3c59x.ko] undefined!
> ERROR: "insw" [drivers/ata/pata_it821x.ko] undefined!
> ERROR: "insw" [drivers/ata/libata.ko] undefined!
> ERROR: "outsl" [drivers/ata/libata.ko] undefined!
> ERROR: "outsw" [drivers/ata/libata.ko] undefined!
> ERROR: "insl" [drivers/ata/libata.ko] undefined!

My fault....
I moved the EXPORT_SYMBOL() from sparc64_ksyms.c to PeeCeeI.c.

But I overlooked a small detail in the Makefile:

lib-$(CONFIG_SPARC64) += PeeCeeI.o


PeeCeeI is a lib- thing so it only get pulled in when needed.

Changing the above to:
obj-$(CONFIG_SPARC64) += PeeCeeI.o

should fix it.

This is not the right fix - I need to dig a little.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux