LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 08-10-2006, 03:33 AM   #1
dolreich_c
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
error while patching Rtlinux 3.1 kernel using kernel linux-2.4.29


hi i tried patching rtlinux 3.1 kernel with linux-2.4.29 on FC5 system with AMD Athlon(tm) 64 Processor 3000+

i get the following error
gcc -D__KERNEL__ -I/usr/src/rtlinux-3.1/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/kernel.h:15,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/wait.h:13, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/fs.h:12,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/capability.h:17,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/binfmts.h:5,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:9, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/rtlinux-3.1/linux-2.4.29/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/byteorder/little_endian.h:11,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/asm/byteorder.h:65,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/kernel.h:15,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/wait.h:13, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/fs.h:12,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/capability.h:17,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/binfmts.h:5,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:9, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/prefetch.h:13,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/list.h:6,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/wait.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/fs.h:12,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/capability.h:17,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/binfmts.h:5,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:9, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/asm/processor.h:75: error: array type has incomplete element type
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/fs.h:322,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/capability.h:17,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/binfmts.h:5,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:9, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp_fs_i.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp_fs_i.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8[5u]’
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp_mount.h:12,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp_fs_sb.h:12,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/fs.h:732,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/capability.h:17,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/binfmts.h:5,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:9, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:24: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:25: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:28: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:29: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:37: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:38: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:39: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:40: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:41: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:42: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:43: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:137: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:138: warning: ‘packed’ attribute ignored for field of type ‘__u8[255u]’
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/ncp.h:174: warning: ‘packed’ attribute ignored for field of type ‘__u8’
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/smp.h:14,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:23,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/asm/smp.h:14:25: error: asm/rtlinux.h: No such file or directory
In file included from /usr/src/rtlinux-3.1/linux-2.4.29/include/asm/smp.h:18,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/smp.h:14,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/sched.h:23,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/mm.h:4,
from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/slab.h:14, from /usr/src/rtlinux-3.1/linux-2.4.29/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/rtlinux-3.1/linux-2.4.29/include/asm/mpspec.h:87: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[5u]’
In file included from init/main.c:20:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/delay.h: In function ‘msleep’:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/delay.h:59: warning: value computed is not used
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/delay.h: In function ‘ssleep’:
/usr/src/rtlinux-3.1/linux-2.4.29/include/linux/delay.h:65: warning: value computed is not used
make: *** [init/main.o] Error 1
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
patching linux kernel-2.4.20-8 with kdb enthusiast_abdul Programming 1 11-08-2005 09:11 AM
Kernel patching error jacobselvin Linux - Newbie 5 06-03-2005 10:16 PM
rtlinux on kernel 2.6.9-1.667 felnlily Linux - Software 1 03-05-2005 03:14 PM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 04:18 AM
HELP on GFS - patching linux kernel antonioxcom Linux - General 1 07-06-2004 01:20 PM


All times are GMT -5. The time now is 11:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration