Skip to contentSkip to conversation

PROBLEM: kernel compilation

DISCUSSION Alexander Kozyrev 2 participants 2 messages Nov 12, 2005

lore
Share & tools
lore
#0 lore raw

Linux asterisk1.local 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT 2005 i686 i686 i386 GNU/Linux
After 2 hours of compilation -
<......>

  CC      lib/string.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  CC [M]  lib/crc-ccitt.o
  CC [M]  lib/libcrc32c.o
  LD      arch/i386/lib/built-in.o
  CC      arch/i386/lib/bitops.o
  AS      arch/i386/lib/checksum.o
  CC      arch/i386/lib/delay.o
  AS      arch/i386/lib/getuser.o
  CC      arch/i386/lib/memcpy.o
  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

ld: kernel/built-in.o: No such file: No such file or directory make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2

4 times with the same error.

#1 lore raw
Quoted 24 lines · Alexander Kozyrev

Linux asterisk1.local 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT 2005 i686 i686 i386 GNU/Linux
After 2 hours of compilation -
<......>

  CC      lib/string.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  CC [M]  lib/crc-ccitt.o
  CC [M]  lib/libcrc32c.o
  LD      arch/i386/lib/built-in.o
  CC      arch/i386/lib/bitops.o
  AS      arch/i386/lib/checksum.o
  CC      arch/i386/lib/delay.o
  AS      arch/i386/lib/getuser.o
  CC      arch/i386/lib/memcpy.o
  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
Quoted 5 lines

ld: kernel/built-in.o: No such file: No such file or directory make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2

4 times with the same error.

You experienced a compile error in kernel/
Try
make kernel/

to see what is causing your trouble.

When something fails to build in kernel/ then built-in.o is not made. And then the later build stages will fail.

I assume you are using make -J 2 (or higher)

PS. You do not need to do a make clean/ make mrproper - the result is the same.

Sam