LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2009, 03:17 AM   #1
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
how to fix error in function "timespec_add_ns" for kernel compilation


hi all,

my current kernel-version is 2.6.28.11.

now i am doing kernel modification. i am trying to compile kernel-2.6.24.7.

when i am using "make" command am getting these error:

kernel/built-in.o: In function `timespec_add_ns':
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__umoddi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__udivdi3'
kernel/built-in.o: In function `timespec_add_ns':
/usr/src/linux-2.6.24.7/kernel/time/timekeeping.c:127: undefined reference to `__udivdi3'
/usr/src/linux-2.6.24.7/kernel/time/timekeeping.c:127: undefined reference to `__umoddi3'
kernel/built-in.o: In function `timespec_add_ns':
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__umoddi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__udivdi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__umoddi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__udivdi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__umoddi3'
/usr/src/linux-2.6.24.7/include/linux/time.h:177: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1


my gcc-version is gcc-4.3

so plz any body tell me how to remove these errors.
is it due to gcc-4.3?
is kernel-2.6.24.7 don't support gcc-4.3?
what to do to fix these ?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compilation error : in "make modules_install" b0nd Linux - Newbie 6 05-27-2015 02:53 PM
Error "'qla2x00_callback': function not considered for" while installing kernel 2.6.9 angelshines Linux - Kernel 1 04-06-2008 01:41 PM
kernel compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 10:16 AM
Kernel compilation "make dep" error lord_clarence Red Hat 3 10-17-2003 10:41 AM
"Function not imlemented" error in call to "sem_open()" Krishnendu8 Linux - Networking 0 06-07-2003 03:19 AM


All times are GMT -5. The time now is 06:27 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration