Re: Changes to interface from 2.0 to 2.2

Krzysztof G. Baranowski (kgb@manjak.knm.org.pl)
Thu, 11 Feb 1999 19:47:14 +0100 (EET)


On Thu, 11 Feb 1999, Sean M Hollingsworth wrote:
> Now if I compile this and insmod it on a machine running a 2.0.x kernel
> it does what it is supposed to do. If I insmod it on a machine running
> 2.2.1, I get an "unresolved symbol printk" error.

1. You forgot to include <linux/kernel.h> - for printk() et all.

2. Perhaps the 2.2.1 machine has kernel with CONFIG_MODVERSIONS=y.
In that case you have to compile your module with -DMODVERSIONS
switch.

Kris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/