Build error while building Linux Kernel 3.4

Dipanjan Das mail.dipanjan.das at gmail.com
Tue Jun 3 02:08:19 EDT 2014


Hi.

I tried building Linux Kernel 3.4 from the source on Ubuntu 10.04 (Linux
LAPTOP 2.6.32-21-generic #32-Ubuntu), gcc 4.4.3 on Intel processor. Here's
the output:

make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  CC      arch/x86/kernel/signal.o
arch/x86/kernel/signal.c:260: error: ‘__NR_sigreturn’ undeclared here (not
in a function)
arch/x86/kernel/signal.c:271: error: ‘__NR_rt_sigreturn’ undeclared here
(not in a function)
arch/x86/kernel/signal.c: In function ‘do_signal’:
arch/x86/kernel/signal.c:798: error: ‘__NR_restart_syscall’ undeclared
(first use in this function)
arch/x86/kernel/signal.c:798: error: (Each undeclared identifier is
reported only once
arch/x86/kernel/signal.c:798: error: for each function it appears in.)
make[2]: *** [arch/x86/kernel/signal.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140603/3f74b97b/attachment.html 


More information about the Kernelnewbies mailing list