Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-17-2008, 10:52 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Compiler Fedora9 Kernel issue

Dear All:
I compiler Kernel in the Fedora9 O.S,but I got undefined reference to `__umoddi3'
,this error message

and I search google,I edit Makefile file as below:

CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common

change to:

CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \

and then I recompiler kernel again,It is working,

So anybody can tell me why???,it is recompiler working

thanks a lot
Old 11-18-2008, 05:39 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
As the archives say, in this case gcc changed a loop into a division (original: loop with substraction), while the code that makes the actual division wasn't delivered. With the added option, the compiler is forces to use a loop.

Not a very elegant solution, but works until it if fixed in either gcc or the kernel.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PIC issue on RHEL4 platform gcc 3.3.6 compiler dayalan_cse Programming 0 11-05-2008 08:35 AM
pthread error - compiler issue? crowl Linux - Software 2 01-14-2008 03:46 AM
Compiler issue c99 sgriffiths Linux - Software 9 11-29-2006 04:23 AM
openxchange java compiler issue TheNorwegian Fedora 1 11-08-2004 11:11 AM
First time kernel compiler, please help isoaga Linux - Newbie 6 10-19-2002 11:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration