Unix Technical Forum

Re: New 2.6.0-test1 kernel - problem compiling in RH9 , OK in slack

This is a discussion on Re: New 2.6.0-test1 kernel - problem compiling in RH9 , OK in slack within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> chud wrote: > I built and booted the 2.6 kernel on RH9 a few weeks ago. I ran > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 10:31 AM
SRIKANTH NS
 
Posts: n/a
Default Re: New 2.6.0-test1 kernel - problem compiling in RH9 , OK in slack

chud wrote:
> I built and booted the 2.6 kernel on RH9 a few weeks ago. I ran
> make oldconfig first, rather than make xconfig as you did. This
> gave me a bootable kernel. At that point you have a workable
> config that you can tweak.


After I ran make oldconfig, ran make and again it failed. The following is
the output:
------------------------------
[root@localhost linux-2.6.0-test1]# make
CC scripts/empty.o
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CC [M] drivers/char/riscom8.o
In file included from drivers/char/riscom8.c:51:
drivers/char/riscom8.h:84: field `tqueue' has incomplete type
drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of
`DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in
function declaration
drivers/char/riscom8.c:135: confused by earlier errors, bailing out
make[2]: *** [drivers/char/riscom8.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
----------------------------------

Any more repair work that can be attempted?

Srikanth



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 10:31 AM
chud
 
Posts: n/a
Default Re: New 2.6.0-test1 kernel - problem compiling in RH9 , OK in slack

On Sat, 16 Aug 2003 08:13:52 +0530, SRIKANTH NS wrote:

> In file included from drivers/char/riscom8.c:51:
> drivers/char/riscom8.h:84: field `tqueue' has incomplete type
> drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type
> drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of
> `DECLARE_TASK_QUEUE'
> drivers/char/riscom8.c:84: warning: parameter names (without types) in
> function declaration
> drivers/char/riscom8.c:135: confused by earlier errors, bailing out
> make[2]: *** [drivers/char/riscom8.o] Error 1
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> ----------------------------------


Looks like the compiler doesn't like what it's seeing in some
header file(s). Maybe your kernel headers don't match the version
of the kernel you are building, or your include path is wrong, or
both. My guess is there's something wrong in your build environment.
You shouldn't be having any problem building the 2.6.0-test1 kernel
on RedHat.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com