Re: insmod segfault in pci_find_subsys()
From: Toralf Lund
Date: Wed Apr 13 2005 - 06:50:43 EST
Arjan van de Ven wrote:
Yes. You are right. I actually mentioned this on a different thread: I
eventually found out that the kernel was compiled with -mregparam=3, and
the module was not. This option seems to have been added to the default
config and/or Red Hat's build setup sometime before the current kernel
release, but after the start of the 2.6 series...
that means your makefile indeed is utterly bust. A correct makefile for
an external module correctly and automatically inherits all the CFLAGs
used by the kernel.
Yes. As I've (also) already said elsewhere, I knew that, really. The
current build setup fails to do this partly for historical reasons,
partly because the driver also supports different OSes. (And is still
expected to build correctly with Linux 2.4, not just 2.6.)
Care to point to a full URL of your module so that we can help you by
sending patches?
Official (info page) URL is http://itifg.sourceforge.net/
The most recent source is probably
ftp://ftp.gom.com/pub/ITI-FG/itifg-8.2.1-11.tar.gz.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/