LinuxQuestions.org
Visit Jeremy's Blog.
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 06-16-2009, 05:47 AM   #1
kripz
LQ Newbie
 
Registered: Dec 2007
Posts: 18

Rep: Reputation: 0
Trying to patch kernel + compile, compile is looping.


EDIT: Resolved, date time wasnt set.

Im trying to patch and compile 2.6.29.4 but it keeps looping around in circles, am i doing something wrong?

Code:
wget http://kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29.4-rt19.gz
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.4.tar.gz
 
tar zxf linux-2.6.29.4.tar.gz
cd linux-2.6.29.4
zcat ../patch-2.6.29.4-rt19.gz | patch -p1
 
cp -vi /boot/config-`uname -r` .config
 
make menuconfig
 
*changed some options here and there then saved and exit*
 
make && make install modules_install
 
Loops with the following:
 
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-2.6.29.4/arch/x86/Makefile_32.cpu' has modification time 4.3e+07 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-2.6.29.4/arch/x86/Makefile_32.cpu' has modification time 4.3e+07 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-2.6.29.4/arch/x86/Makefile_32.cpu' has modification time 4.3e+07 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 4.3e+07 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-2.6.29.4/arch/x86/Makefile_32.cpu' has modification time 4.3e+07 s in the future

Last edited by kripz; 06-16-2009 at 06:24 AM.
 
Old 06-16-2009, 07:51 AM   #2
spaniel
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: Fedora Core 5 x86_64
Posts: 48

Rep: Reputation: 15
I can imagine that having files in the future and not the correct time stamp would get the compiler confused.

cd into the directory source and execute:
find . -exec touch {} \;

Also do a "make clean" to remove old objects and then reconfigure/recompile the whole thing
 
  


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
base Kernel compile - how to patch for apparmor/firewall petersk Suse/Novell 7 03-05-2008 03:06 AM
No more modules after kernel compile w/ ck patch uglydot Slackware 3 11-10-2003 04:04 PM
ACPI patch and kernel compile error crisponions Linux - Laptop and Netbook 3 10-29-2003 07:52 PM
Kernel Compile error after applyin bootsplash patch h1tman Slackware 0 10-06-2003 10:05 AM


All times are GMT -5. The time now is 06:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration