LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-26-2005, 06:10 PM   #1
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
kernel Compile problem


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
 
Old 09-30-2005, 07:39 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
looks like errors in drm_auth.c

How come you are not upgrading the kernel with yum?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel (2.6.10) compile problem Rarrum Linux - Software 2 01-20-2005 04:31 PM
Problem with Kernel 2.6.2 Compile sirphoenix Linux - Newbie 2 02-17-2004 01:51 PM
Kernel Compile problem sam00 Linux From Scratch 3 01-25-2004 10:59 AM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
kernel compile problem Syncrm Linux - Software 3 01-23-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration