LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 10-06-2009, 03:39 PM   #1
atmurali
Member
 
Registered: Nov 2007
Location: Kerala
Posts: 42

Rep: Reputation: 15
Problem in Compiling 2.6.9 kernel (For RTL)


Hello,

I have tried to compile kernel 2.6.9 from a Fedora Core 7
(
///
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 i686 athlon i386 GNU/Linux
////
)

But there i some error as shown below (And I have compiled kernel 2.6.23)

///////
[kithen@localhost linux-2.6.9]$ make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
SPLIT include/linux/autoconf.h -> include/config/*
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from arch/i386/kernel/asm-offsets.c:7:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
CHK include/asm-i386/asm_offsets.h
UPD include/asm-i386/asm_offsets.h
CC init/main.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:18,
from include/linux/sched.h:24,
from include/linux/module.h:11,
from init/main.c:17:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from include/linux/security.h:35,
from init/main.c:37:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1017: warning: pointer targets in passing argument 2 of ‘csum_and_copy_from_user’ differ in signedness
init/main.c: In function ‘maxcpus’:
init/main.c:149: warning: pointer targets in passing argument 2 of ‘get_option’ differ in signedness
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:18,
from include/linux/sched.h:24,
from include/linux/module.h:11,
from init/version.c:11:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
CC init/do_mounts.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:18,
from include/linux/sched.h:24,
from include/linux/module.h:11,
from init/do_mounts.c:2:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from include/linux/security.h:35,
from init/do_mounts.c:9:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1017: warning: pointer targets in passing argument 2 of ‘csum_and_copy_from_user’ differ in signedness
LD init/mounts.o
CC init/initramfs.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:18,
from include/linux/topology.h:34,
from include/linux/mmzone.h:372,
from include/linux/gfp.h:5,
from include/linux/slab.h:16,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:42,
from include/linux/dcache.h:11,
from include/linux/fs.h:17,
from init/initramfs.c:3:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
init/initramfs.c: In function ‘flush_window’:
init/initramfs.c:401: warning: pointer targets in passing argument 1 of ‘flush_buffer’ differ in signedness
init/initramfs.c: In function ‘unpack_to_rootfs’:
init/initramfs.c:442: warning: pointer targets in assignment differ in signedness
LD init/built-in.o
HOSTCC usr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:18,
from include/linux/sched.h:24,
from arch/i386/kernel/process.c:18:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
arch/i386/kernel/process.c: In function ‘show_regs’:
arch/i386/kernel/process.c:252: warning: pointer targets in passing argument 2 of ‘show_trace’ differ in signedness
{standard input}: Assembler messages:
{standard input}:753: Error: suffix or operands invalid for `mov'
{standard input}:754: Error: suffix or operands invalid for `mov'
{standard input}:954: Error: suffix or operands invalid for `mov'
{standard input}:955: Error: suffix or operands invalid for `mov'
{standard input}:1031: Error: suffix or operands invalid for `mov'
{standard input}:1032: Error: suffix or operands invalid for `mov'
{standard input}:1132: Error: suffix or operands invalid for `mov'
{standard input}:1133: Error: suffix or operands invalid for `mov'
{standard input}:1197: Error: suffix or operands invalid for `mov'
{standard input}:1209: Error: suffix or operands invalid for `mov'
make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2
[kithen@localhost linux-2.6.9]$
///////////

Please help me to findout the problem.
Anoob T Murali

Last edited by atmurali; 10-06-2009 at 03:42 PM.
 
Old 10-07-2009, 12:27 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Try this thread. Looks like there are some patches that might help you out.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 11:49 AM
Problem in compiling a char device driver formerly for kernel 2.4 on kernel 2.6 payretep Linux - Newbie 6 09-24-2007 06:43 AM
Kernel 2.6.20 and RTL 8139 network card keithhilen Linux - Kernel 4 02-21-2007 06:23 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 03:29 AM
RTL 8029 problem with kernel 2.6.10 ae1 Linux - Networking 1 06-28-2006 02:56 AM


All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration