OpenVZ Forum


Home » General » Support » Compiling rhel6-042stab016.1 ERROR
Compiling rhel6-042stab016.1 ERROR [message #42852] Wed, 08 June 2011 16:25 Go to next message
manius is currently offline  manius
Messages: 3
Registered: March 2011
Location: Tanzania, United Republic...
Junior Member
Hallo,
not work compile openVZ on slackware 13 rhel6-042stab016.1. Please help me, server run on slackware 13 x64.

do you know what missing in my .config?


root@server:/DISK2/src/NEW# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC kernel/rh_taint.o
kernel/rh_taint.c: In function 'mark_tech_preview':
kernel/rh_taint.c:28: error: dereferencing pointer to incomplete type
kernel/rh_taint.c:29: error: dereferencing pointer to incomplete type
kernel/rh_taint.c:36: error: dereferencing pointer to incomplete type
make[1]: *** [kernel/rh_taint.o] Error 1
make: *** [kernel] Error 2


Thank you.
Re: Compiling rhel6-042stab016.1 ERROR [message #47658 is a reply to message #42852] Wed, 22 August 2012 09:49 Go to previous message
csurgi is currently offline  csurgi
Messages: 1
Registered: August 2012
Junior Member
replace the kernel/rh_taint.c mark_tech_preview function with the following:
void mark_tech_preview(const char *msg, struct module *mod)
{
        const char *str = NULL;

        if (msg)
                str = msg;
#ifdef CONFIG_MODULES
        else if (mod && mod->name)
                str = mod->name;
#endif

        pr_warning("TECH PREVIEW: %s may not be fully supported.\n"
                   "Please review provided documentation for limitations.\n",
                   (str ? str : "kernel"));
        add_taint(TAINT_TECH_PREVIEW);
#ifdef CONFIG_MODULES
        if (mod)
                mod->taints |= (1U << TAINT_TECH_PREVIEW);
#endif
}


I've just added the #indef and #endif lines, to support monolithic kernels..
Previous Topic: Overlay filesystems in OpenVZ kernel
Next Topic: Does OpenVZ require Hyper-Threading
Goto Forum:
  


Current Time: Sat Aug 31 18:25:58 GMT 2024

Total time taken to generate the page: 0.05424 seconds