Results 1 to 2 of 2
While compilling linux-2.6.32-71.7.1 kernel available with RHEL 6.0,I m getting following error: init/mounts.o:In function 'mem_cgroup_split_hugepage_commit' (.text+0x0):multiple definition of 'mem_cgroup_split_hugepage_commit' init/main.o:main.c .text+0x0):first defined here make: *** [init/buit-in.o] Error 1. I haven't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-09-2010 #1
- Join Date
- Apr 2010
Kernel Build Error
init/mounts.o:In function 'mem_cgroup_split_hugepage_commit'
(.text+0x0):multiple definition of 'mem_cgroup_split_hugepage_commit'
init/main.o:main.c.text+0x0):first defined here
make: *** [init/buit-in.o] Error 1.
I haven't made any modifcation the kernel source.
Can anyone help to rectify the error.
- 12-10-2010 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
Sorry, but I don't have RHEL/CentOS 6 yet. However, the message is clear in that you have two implementations of a function that are conflicting. It is possible that this is due to how you reconfigured the kernel with menuconfig/xconfig.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!