Hi
i am running fedora 4
i am recompiling my kernel from 2.6.12 to 2.6.13.2
i have folowed the guide here
http://www.mjmwired.net/resources/mjm-kernel-fc4.html
all has gone well till i run the
make all
it gets to
CC drivers/char/drm/drm_auth.o
then chucks up an error as follows
Code:
LD drivers/char/agp/agpgart.o
CC drivers/char/agp/ali-agp.o
CC drivers/char/agp/ati-agp.o
CC drivers/char/agp/amd-k7-agp.o
CC drivers/char/agp/amd64-agp.o
CC drivers/char/agp/efficeon-agp.o
drivers/char/agp/efficeon-agp.c: In function âefficeon_create_gatt_tableâ:
drivers/char/agp/efficeon-agp.c:222: warning: passing argument 1 of âvirt_to_physâ makes pointer from integer without a cast
CC drivers/char/agp/intel-agp.o
CC drivers/char/agp/nvidia-agp.o
CC drivers/char/agp/sworks-agp.o
CC drivers/char/agp/via-agp.o
LD drivers/char/agp/built-in.o
CC drivers/char/drm/drm_auth.o
In file included from drivers/char/drm/drm_auth.c:36:
drivers/char/drm/drmP.h:165: error: static declaration of âvmalloc_to_pageâ follows non-static declaration
include/linux/mm.h:922: error: previous declaration of âvmalloc_to_pageâ was here
drivers/char/drm/drmP.h: In function âvmalloc_to_pageâ:
drivers/char/drm/drmP.h:173: warning: passing argument 1 of âpmd_offsetâ from incompatible pointer type
drivers/char/drm/drmP.h:176: warning: implicit declaration of function âkmap_atomicâ
drivers/char/drm/drmP.h:180: warning: implicit declaration of function âkunmap_atomicâ
In file included from include/linux/highmem.h:12,
from drivers/char/drm/drm_memory.h:37,
from drivers/char/drm/drmP.h:795,
from drivers/char/drm/drm_auth.c:36:
include/asm/highmem.h: At top level:
include/asm/highmem.h:71: error: conflicting types for âkmap_atomicâ
drivers/char/drm/drmP.h:176: error: previous implicit declaration of âkmap_atomicâ was here
include/asm/highmem.h:72: warning: conflicting types for âkunmap_atomicâ
drivers/char/drm/drmP.h:180: warning: previous implicit declaration of âkunmap_atomicâ was here
make[3]: *** [drivers/char/drm/drm_auth.o] Error 1
make[2]: *** [drivers/char/drm] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
You can find my config file here to look at.
config file
(right click and save)
any help or points to the problem would be grate
many thanks for help
rob