On Sun, May 23, 2004 at 10:00:29AM +0800, Song Sam wrote: > > Song Sam <samlinuxppc at yahoo.com.cn> wrote > > > A error happened when I compiled a module.Could any warmhearted person > > figure it out for me? > > OK,I did it by myself.:-) > It turned out to be the fact that I enabled > CONFIG_MODVERSIONS=y in kernel configuration > and MODVERSIONS option in my module like > #if defined(CONFIG_MODVERSIONS) > #define MODVERSIONS > #include <linux/modversions.h> > #endif > at the same time.They conflicted against each other.Is > that so?A newbie error on module...
Looks wrong. When compiling an external module use: for 2.4: make -C $ERNELSRC SUBDIRS=$PWD modules for 2.6: (2.6.6 onwards) make -C $KERNELSRC M=$PWD Sam ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/