LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2004, 04:59 PM   #1
davegermiquet
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
Help with compiling kernel 2.6 compile error...


Hi, I'm trying to compile the kernel 2.6.3 from kernel.org and I'm getting this error. (I'm using the distro Yoper)

CC arch/i386/kernel/process.o
arch/i386/kernel/process.c:499: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
arch/i386/kernel/process.c:499: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2

I've looked at the code..

the definition is this in system.h
extern struct task_struct * FASTCALL(__switch_to(struct task_struct *prev, struc
t task_struct *next));

struct task_struct * __switch_to(struct task_struct *prev_p, struct task_struct
*next_p)
{

I've tried it with no patches it does the same thing..

The only thing that i can see different is the Fastcall?

What should I do?
 
Old 08-06-2004, 05:35 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi
have u checked the source
from here have u got this source
why don't u try with a new code for the kernel 2.6
latest is 2.6.7

get it from
http://www.kernel.org
 
  


Reply



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
Compile kernel 2.6.11-2 error subaruwrx Debian 2 03-10-2005 01:10 AM
Error after kernel compile Ossar Debian 0 11-19-2004 11:21 AM
error 2 trying to compile 2.4 kernel TonyJ Fedora 2 09-15-2004 07:51 PM
kernel compile error (2.6.1) Tisch Debian 1 02-06-2004 04:09 PM
kernel compile error! HELP! ReSync Linux - General 1 06-25-2002 08:21 AM

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

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