LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2010, 08:56 AM   #1
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Rep: Reputation: 22
Kernel


hello.
when I want complie kernel show me under error:
i want compile linux-2.6.34 kernel on fedora 10:

In file included from include/linux/security.h:34,
from include/net/sock.h:54,
from net/decnet/dn_nsp_out.c:55:
include/linux/sched.h:200: error: lvalue required as unary ‘&’ operand
include/linux/sched.h:200: error: stray ‘\10’ in program
include/linux/sched.h:200: error: called object ‘512’ is not a function
In file included from include/linux/security.h:34,
from include/net/sock.h:54,
from net/decnet/dn_nsp_out.c:55:
include/linux/sched.h:200:275: warning: null character(s) ignored
include/linux/sched.h:200:307: warning: null character(s) ignored
include/linux/sched.h:200: error: expected ‘)’ before ‘:’ token
include/linux/sched.h:200: error: expected ‘:’ before ‘)’ token
make[2]: *** [net/decnet/dn_nsp_out.o] Error 1
make[1]: *** [net/decnet] Error 2
make: *** [net] Error 2
 
Old 07-30-2010, 04:18 PM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
It seems that your include/linux/sched.h file is damaged. Get a fresh copy of the kernel source and try it again.
 
  


Reply

Tags
kernel



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interacting with (the mailing list) linux-kernel@vger.kernel.org - some basics? GrapefruiTgirl Linux - Kernel 4 04-03-2009 12:56 PM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 07:53 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:33 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