LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Trying to create kernel: getting errors. (https://www.linuxquestions.org/questions/debian-26/trying-to-create-kernel-getting-errors-276672/)

Royle 01-11-2005 04:57 PM

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.

linuxgeekery 01-11-2005 05:41 PM

You have bad kernel source code. Redownload the source and try again.

m_yates 01-11-2005 07:51 PM

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!


All times are GMT -5. The time now is 12:45 PM.