Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Thumbs up Kernel Build Error

    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[1]: *** [init/buit-in.o] Error 1.
    I haven't made any modifcation the kernel source.
    Can anyone help to rectify the error.

  2. #2
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts