Messages in this thread | | | Subject | Re: insmod segfault in pci_find_subsys() | From | Arjan van de Ven <> | Date | Wed, 13 Apr 2005 13:13:38 +0200 |
| |
> 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.
Care to point to a full URL of your module so that we can help you by sending patches?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |