kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* kernel build error
@ 2013-03-17 15:28 Kumar amit mehta
  2013-03-18  4:21 ` Mulyadi Santosa
  0 siblings, 1 reply; 19+ messages in thread
From: Kumar amit mehta @ 2013-03-17 15:28 UTC (permalink / raw)
  To: kernelnewbies

I'm facing a kernel build issue with the latest kernel on my machine. It seem
like a configuration issue, and I haven't been able to resolve it for sometime,
hence need your help. The error message is as below:

<error snip>
ERROR: "copy_from_user_overflow" [net/core/pktgen.ko] undefined!
ERROR: "copy_from_user_overflow" [fs/binfmt_misc.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/staging/cxt1e1/cxt1e1.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/isdn/icn/icn.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/isdn/hardware/avm/b1.ko] undefined!
<error snip>

The subroutine "copy_from_user_overflow" is defined in lib/usercopy.c, and the
'Makefile' in the lib directory looks something like this:
<snip from lib/Makefile>
lib-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o
<snip from lib/Makefile>

I think that this config option should be a built-in ('y') and I see that this 
config option is indeed set to 'y' in the .config file.
<snip from .config>
amit at ubuntu:~/linux-next/linux-next$ grep
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS .config
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
<snip from .config>

So what am I missing here ?

Some information about my git tree:
amit at ubuntu:~/linux-next/linux-next$ git remote show origin
* remote origin
  Fetch URL: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

amit at ubuntu:~/linux-next/linux-next$ git tag -l next-*|tail -n 1
next-20130314 <--- latest tag

amit@ubuntu:~/linux-next/linux-next$ git branch
* 15-March <--- --  branch based on the latest tag
  22-Feb-13

-Amit

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-04-02 13:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 15:28 kernel build error Kumar amit mehta
2013-03-18  4:21 ` Mulyadi Santosa
2013-03-19  5:28   ` Kumar amit mehta
2013-03-19 14:43     ` Mulyadi Santosa
2013-03-20  6:56       ` Kumar amit mehta
2013-03-20  7:07         ` Kumar amit mehta
2013-03-20  9:48           ` Ben Wu
2013-03-20  9:49           ` wake_lock in linux kernel Ben Wu
2013-03-21  4:34             ` Yuva Raj
2013-03-20 17:32           ` kernel build error Valdis.Kletnieks at vt.edu
2013-03-21  6:16           ` Kumar amit mehta
2013-03-22  3:41             ` Mulyadi Santosa
2013-03-22 10:17               ` Kumar amit mehta
2013-03-24  5:49                 ` Mulyadi Santosa
2013-03-25  5:04                   ` Kumar amit mehta
2013-03-25  7:36                     ` Mulyadi Santosa
     [not found]                   ` <20130331044544.GA3291@gmail.com>
2013-04-02  3:04                     ` Mulyadi Santosa
2013-04-02  6:19                       ` Kumar amit mehta
2013-04-02 13:40                         ` Mulyadi Santosa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).