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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-20-2007, 12:22 PM
|
#1
|
Member
Registered: Feb 2007
Posts: 386
Rep:
|
compile kernel problem
I download the limux-2.6.23.1 from the kernel.org and try to compile it on my fedora 7, which has kernel "2.6.22.4-65.fc7".
I follow the step, which i am not sure i did it correctly.
First i call
1. make config
- then select all default value by just hit enter all the
way through the prompts.
2. make clean
- make[3]: warning: Clock skew detected. Your build may be incomplete.
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `/home/charoe/linux-2.6.23.1/sound/sparc/Makefile' has modification time 2.4e+06 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `/home/charoe/linux-2.6.23.1/sound/synth/Makefile' has modification time 2.4e+06 s in the future
make[3]: Warning: File `/home/charoe/linux-2.6.23.1/sound/synth/emux/Makefile' has modification time 2.4e+06 s in the future
make[3]: warning: Clock skew detected. Your build may be incomplete.
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `/home/charoe/linux-2.6.23.1/sound/usb/Makefile' has modification time 2.4e+06 s in the future
make[3]: Warning: File `/home/charoe/linux-2.6.23.1/sound/usb/caiaq/Makefile' has modification time 2.4e+06 s in the future
make[3]: warning: Clock skew detected. Your build may be incomplete.
make[3]: Warning: File `/home/charoe/linux-2.6.23.1/sound/usb/usx2y/Makefile' h
3. make dep
make: Warning: File `/home/charoe/linux-2.6.23.1/arch/i386/Makefile.cpu' has modification time 2.4e+06 s in the future
make[1]: Warning: File `/home/charoe/linux-2.6.23.1/arch/i386/Makefile.cpu' has modification time 2.4e+06 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 2.4e+06 s in the future
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 2.4e+06 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/i386/Kconfig
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File `/home/charoe/linux-2.6.23.1/arch/i386/Makefile.cpu' has modification time 2.4e+06 s in the future
The second step finish successfully, but the 3nd step never ends. It continue looping and show the same message as shown above. I am not sure what I did wrong, can anyone help?
|
|
|
10-20-2007, 12:30 PM
|
#2
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Your doing old 2.4 kernel comands.
After running make config or make xconfig or make gconfig or make menuconfig you use the ' make ' command.
You can use the config file in /boot as a reference start if using say ' make xconfig ' configuration tool.
So I do this.
make xconfig
make (this builds the kernel and modules)
make modules_install (installs the modules in /lib/modules/`uname -r`
make install (install kernel image to /boot, initrd, and install to grub boot loader)
Brian
|
|
|
10-20-2007, 12:31 PM
|
#3
|
Member
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299
Rep:
|
Think this is related to some file timestamps being in the future
Do make clean before make
oh and check your system time is correct
EDIT
Brian1 seems to have a better answer
Last edited by The_JinJ; 10-20-2007 at 12:34 PM.
|
|
|
10-20-2007, 12:40 PM
|
#4
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Missed that one erro. Looks like the time is off on the machine. When building it looks at the time on the machine and if date is from the past then it sees compiling future code on a date that is not go and past causes an error like that.
Brian
|
|
|
10-20-2007, 12:47 PM
|
#5
|
Member
Registered: Feb 2007
Posts: 386
Original Poster
Rep:
|
Thank you guys. After fixed the time, it looks much better.
This is my experimental machine so I did not care about setting the time right and did not know if it would be the cause of this problem
Thanks again
|
|
|
All times are GMT -5. The time now is 05:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|