Problems with cpia-0.2.3

Nick Holloway Nick.Holloway@alfie.demon.co.uk
23 Oct 1999 08:50:58 +0100


Peter.Pregler@risc.uni-linz.ac.at (Peter Pregler) writes:
> On 21-Oct-99 Bas Rijniersce wrote:
> > No problems with the compile. But insmod'ing ppcuscpia.o gives a whole
> > list off unresolved symbol's:
> > ppcuscpia.o: unresolved symbol schedule_timeout
> > ..
> > ppcuscpia.o: unresolved symbol printk
> > ppcuscpia.o: unresolved symbol __generic_copy_to_user
> 
> That's strange. I have no idea why all those standard kernel functions are
> not found. Are you sure that the include-path for the kernel-headers does
> match the current running kernel?

I believe this is because the kernel has been compiled with
CONFIG_MODVERSIONS.

Add the following to DEFINES in the module Makefile:

    -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/
-----------------------------------------------------------------------------
To unsubscribe from this mailinglist, send the line "unsubscribe vision-webcam" in the
body of a message to "majordomo@errors.no".