[pxc] Installation problem with "make"
Gonzalo Gonzalez Rodriguez
loureiro@talgo.uvigo.es
Mon, 13 Aug 2001 18:36:54 +0200 (CEST)
Hi!
I've been following your advices:
>
> 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.
That asm/page.h is included in your "main.c". The definition for
PAGE_OFFSET_RAW is found in .../asm/page_offset.h, which was not included.
Then, I added to "main.c" an #include <asm/page_offset.h>, but I've got
the same error again.
This file is quite simple, three defines in a conditional statement:
#include <linux/config.h>
#ifdef CONFIG_1GB
#define PAGE_OFFSET_RAW 0xC0000000
#elif defined(CONFIG_2GB)
#define PAGE_OFFSET_RAW 0x80000000
#elif defined(CONFIG_3GB)
#define PAGE_OFFSET_RAW 0x40000000
#endif
I don't want to mess up the code, by starting to add #defines and
#includes which I don't really know much about. Maybe this is simpler.
What do you think?
Thanks for your support. I guess we are close to the solution :)
--
Gonzalo González Rodríguez
loureiro@talgo.uvigo.es