LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-28-2006, 02:29 PM   #1
rem1986
LQ Newbie
 
Registered: Apr 2004
Location: Cuba
Distribution: Debian Sarge 3.1
Posts: 23

Rep: Reputation: 15
problem compiling kernel 2.6.9


I'm using Debian SID. I downloaded the source file for the 2.6.9 kernel from kernel.org. I patched it with an rtlinux-3.1 patch for that specific kernel. I run the menuconfig option and configured it to my needs, later when i try to compile the kernel with the command:

Quote:
make-kpkg --append-to-version=.2606 --initrd kernel_image
Note: The number 2606 has no relevance

I get the following error, anybody know why?

Quote:
arch/i386/kernel/process.c: In function 'show_regs':
arch/i386/kernel/process.c:265: warning: pointer targets in passing argument 2 of 'show_trace' differ in signedness
{standard input}: Assembler messages:
{standard input}:662: Error: suffix or operands invalid for `mov'
{standard input}:663: Error: suffix or operands invalid for `mov'
{standard input}:871: Error: suffix or operands invalid for `mov'
{standard input}:872: Error: suffix or operands invalid for `mov'
{standard input}:951: Error: suffix or operands invalid for `mov'
{standard input}:952: Error: suffix or operands invalid for `mov'
{standard input}:1022: Error: suffix or operands invalid for `mov'
{standard input}:1023: Error: suffix or operands invalid for `mov'
{standard input}:1105: Error: suffix or operands invalid for `mov'
{standard input}:1117: Error: suffix or operands invalid for `mov'
make[2]: *** [arch/i386/kernel/process.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [debian/stamp-build-kernel] Error 2
Thanks
 
Old 09-19-2006, 09:27 PM   #2
rem1986
LQ Newbie
 
Registered: Apr 2004
Location: Cuba
Distribution: Debian Sarge 3.1
Posts: 23

Original Poster
Rep: Reputation: 15
solution ...

Great, I recently found the solution. I think it might work for quite a few people since I saw this post received a little over 120 views. Ok, the problem is that the package binutils recently made a change in it's assembler. The original change allowed it to make 32bit jumps and ...... Well the original article was a bit complex. Still the solution is simple. All users up-to-date on the package that wish to compile a kernel previous of 2.6.11 must apply the seg.5 patch for 2.6 kernels or the seg.4 patch for 2.4 kernels, that's it, it worked

Thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 02:29 AM
kernel compiling problem. Jakalx Debian 5 08-20-2005 10:42 AM
problem compiling kernel 2.6.6 rexhack Linux - Software 2 05-25-2004 03:38 AM
problem for compiling kernel bush Linux - General 3 05-16-2003 07:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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