[pxc] Installation problem with "make"

Alessandro Rubini rubini@gnu.org
Thu, 9 Aug 2001 18:22:16 +0200


Hello Gonzalo.

> I just got the Linux driver for the card, uncompressed, ran "make", and an
> error like this showed up:
> 
> /usr/src/linux/include/asm/pgtable.h: In function `get_pgd_slow':
> /usr/src/linux/include/asm/pgtable.h:409: `PAGE_OFFSET_RAW' undeclared
> (first use in this function)

Interesting. Looks like 2.2.16 doesn't define that symbol. While you
are always suggested to runn the latest or next-to-latest 2.2.x version,
I might add a default define for older kernels.

Hmm.... looking in the patches, it was added in 2.2.11, so you must
have it. You might try to add

	#include <asm/page.h>

in the relevant source file.

> [...] but when I run pxc_load,
> 
> Loading pxc200 device driver (pxc)...insmod: pxc: no module by that name
> found failed

did you "depmod -a" after installing the modules? Actually, you'd
better compile from sources and not rely on my badly designed .deb
packages.

Hope this helps, though somehow late
/alessandro