Phew ... I've finally got things working!
For others that are having problems with unresolved symbols in their
modules, the bit I was missing was an optimization flag. Appearently gcc
doesn't expand inlines unless optimization is enabled.
> I'm having the same problems under 2.2.5-15 ... do you still have that
> ./z.o: unresolved symbol __put_user_X
> It's driving me nuts!
>> I found a nice Makefile that did the version stuff, this was my fault.
>>> > Hi folks,
>>> > I try to compile a module under 2.2.12 that uses the get_user() and
>>> > put_user() macros. I included asm/uaccess.h and everything else.
>>> > Compilation works very fine. But when I try to
>>> > 'insmod' the module I get the error that the __get_user_X() can't be
>>> > resolved.
>>> > I have the same problem on using memcpy()...
>>> > What's going wrong ?
>>> > Thanks a lot!