LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-11-2005, 04:57 PM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
Trying to create kernel: getting errors.


Ok, so I apt-get installed the kernel-source-2.6.9.
I copied over my debian-installer kernel config (kernel version 2.6.8) and used it for the kernel. The only thing I changed was the processor family from x386 to Athlon. When I try
Code:
make-kpkg --initrd --append-to-version=-debian kernel_image
I get this:
Code:
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
In file included from drivers/char/drm/gamma_drv.c:46:
drivers/char/drm/drm_drv.h: In function `gamma_release':
drivers/char/drm/drm_drv.h:808: warning: implicit declaration of function `gamma_ctxbitmap_free'
make[4]: *** [drivers/char/drm/gamma_drv.o] Error 1
make[3]: *** [drivers/char/drm] Error 2
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.9'
make: *** [stamp-build] Error 2
keep in mind this is only the last bit. I hope it is enough to decifer the problem. The first line :
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
is repeat a few times with the number 44 being changed starting with 40. Any help is greatly appreciated.
 
Old 01-11-2005, 05:41 PM   #2
linuxgeekery
Member
 
Registered: Jul 2004
Location: Austin, Texas!
Distribution: Gentoo
Posts: 121

Rep: Reputation: 15
You have bad kernel source code. Redownload the source and try again.
 
Old 01-11-2005, 07:51 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
I had the same error trying to compile kernel 2.6.9. The bug page for it is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282964 The driver gamma_drv is broken. If you redo "make menuconfig", you can de-select the driver. After that, "make-kpkg clean" and then "ake-kpkg --initrd --append-to-version=-debian kernel_image" It should work. Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Create your own Windows Errors :) BajaNick General 37 03-14-2005 04:58 PM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 04:24 AM
Compile errors "can't create executable"! bruno buys Conectiva 5 12-11-2003 11:21 AM
snort compile errors "C compiler cannot create executables" RKris Linux - Software 2 11-07-2003 02:08 AM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 07:54 PM

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

All times are GMT -5. The time now is 06:52 PM.

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