LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2003, 09:08 AM   #1
amir_h
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat-9.0
Posts: 26

Rep: Reputation: 15
Unhappy i have Problem when compiling the kernel


I am Using Redhat-9.0
When Compiling Kernel-muodule i get some strange messages.
I know that i am doing right according to manual(i had done it with older versions)
Also I have used different Kernel(2.4.18-14, 2.4.20-3, 2.6.0test0)
I had a simillar error message.

Does the gcc-3 make this problem.

How can I solve it.:
 
Old 08-19-2003, 09:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
solve what? you have provided no useful information about the problem you are actually having. we can't help useless to actually tell us something useful!
 
Old 08-19-2003, 09:35 AM   #3
amir_h
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat-9.0
Posts: 26

Original Poster
Rep: Reputation: 15
This is the problem

[root@acm-client02 linux-2.6.0-test1]# make modules
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
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: In function `rc_mark_event':
drivers/char/riscom8.c:344: warning: implicit declaration of function `queue_task'
drivers/char/riscom8.c:344: `tq_riscom' undeclared (first use in this function)
drivers/char/riscom8.c:344: (Each undeclared identifier is reported only once
drivers/char/riscom8.c:344: for each function it appears in.)
drivers/char/riscom8.c:345: warning: implicit declaration of function `mark_bh'
drivers/char/riscom8.c:345: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_receive_exc':
drivers/char/riscom8.c:428: structure has no member named `tqueue'
drivers/char/riscom8.c:428: `tq_timer' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_receive':
drivers/char/riscom8.c:459: structure has no member named `tqueue'
drivers/char/riscom8.c:459: `tq_timer' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_check_modem':
drivers/char/riscom8.c:547: warning: implicit declaration of function `schedule_task'
drivers/char/riscom8.c: In function `rc_open':
drivers/char/riscom8.c:1050: warning: unused variable `flags'
drivers/char/riscom8.c: In function `do_riscom_bh':
drivers/char/riscom8.c:1662: warning: implicit declaration of function `run_task_queue'
drivers/char/riscom8.c:1662: `tq_riscom' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_init_drivers':
drivers/char/riscom8.c:1713: warning: implicit declaration of function `init_bh'
drivers/char/riscom8.c:1713: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_release_drivers':
drivers/char/riscom8.c:1756: warning: implicit declaration of function `remove_bh'
drivers/char/riscom8.c:1756: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: At top level:
drivers/char/riscom8.c:84: warning: `DECLARE_TASK_QUEUE' declared `static' but never defined
make[2]: *** [drivers/char/riscom8.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
 
Old 08-19-2003, 09:46 AM   #4
amir_h
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat-9.0
Posts: 26

Original Poster
Rep: Reputation: 15
This is a sample error.
Some my frinds have the same problem.
If anyones answers this we all will be thankfull
 
Old 08-21-2003, 12:23 PM   #5
amir_h
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat-9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Angry


Doesn't anybody answer my question???
I think this has happend to anyone trying to compile the kernel under Redhat-8.0 or 9.0
I send the error, I recived

Tell me at least if you have compiled Linux kernel with gcc-3.x or not and if so HOW DID YOU DO IT?

Last edited by amir_h; 08-21-2003 at 12:25 PM.
 
Old 08-21-2003, 02:45 PM   #6
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
wrong forum, many question answerers do not view the general forum. maybe you can ask a mod to move it to a more suitable location.
 
Old 08-25-2003, 04:21 AM   #7
amir_h
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat-9.0
Posts: 26

Original Poster
Rep: Reputation: 15
No Body else had the same problem??
At least tell me if you have ever compiled the kernel using
gcc-3.x or not.
if yes what did you do
 
  


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
kernel compiling problem. Jakalx Debian 5 08-20-2005 11:42 AM
problem compiling kernel. Rarrum Debian 3 03-21-2005 08:57 PM
problem compiling kernel :( djh Slackware 13 11-14-2004 08:45 PM
problem for compiling kernel bush Linux - General 3 05-16-2003 08:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration