Friends,

I tried to compile Linux latest stable kernel 3.0.4 (downloaded last night from kernel.org).

  1. Extracted - in a windows 7 box.
  2. Mounted the folder in vmware 8.0 hosting Fedora 15 (running kernel version 2.6.40)
  3. Created .config by doing "make defconfig" for i386.
  4. Ran "make"

make started running with all enthusiasm for an hour but got tired soon and stated several reasons before stopping, which I pasted below. Similar errors occurred in my previous attempt when I took existing configuration from 2.6.40 and copied it in 3.0.4 directory by hand. Am I missing anything ? Or its to be done differently on vmware ? Also I see some clock skew errors, though my PC clock appears to be normal. Are these warnings okay and can be neglected ?

I have stopped going to college since last 12 years. So please don't take it to be a class assignment - it is just my "high" level of intelligence that stops me from finishing it on my own. Didn't get much help from google.

=======================================================

  CC      arch/x86/lib/delay.o
  AS      arch/x86/lib/getuser.o
  CC      arch/x86/lib/inat.o
  CC      arch/x86/lib/insn.o
  CC      arch/x86/lib/memcpy_32.o
  AS      arch/x86/lib/putuser.o
  AS      arch/x86/lib/semaphore_32.o
  CC      arch/x86/lib/string_32.o
  CC      arch/x86/lib/strstr_32.o
  AS      arch/x86/lib/thunk_32.o
  CC      arch/x86/lib/usercopy_32.o
  AR      arch/x86/lib/lib.a
make: Warning: File `arch/x86/lib/lib.a' has modification time 11 s in the future
  LD      vmlinux.o
make[1]: Warning: File `vmlinux.o' has modification time 10 s in the future
  MODPOST vmlinux.o
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
net/built-in.o: In function `tcpmss_mt':
/mnt/hgfs/linkernel/linux-3.0.4/net/netfilter/xt_tcpmss.c:29: undefined reference to `mcount'
/mnt/hgfs/linkernel/linux-3.0.4/net/netfilter/xt_tcpmss.c:78: undefined reference to `__stack_chk_fail'
net/built-in.o:(.data..read_mostly+0x275c): undefined reference to `__this_module'
net/built-in.o:(.data..read_mostly+0x27a4): undefined reference to `__this_module'
make: *** [.tmp_vmlinux1] Error 1
link|improve this question
feedback

migrated from stackoverflow.com Oct 18 '11 at 9:10

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown