Kernel build fails with error in header file. Looks like typo.

stan gryt2 at q.com
Wed Feb 3 16:18:05 UTC 2010


Hi,
I'm building the 2.6.32.7-37 kernel from source using the method in the
Fedora wiki.  The 2.6.31 kernels have been building fine, but this one
fails with the following errors.  It looks like someone inadvertently
did an extra paste in a header file.


In file included from include/linux/tracehook.h:53,
                 from arch/x86/kernel/signal.c:18:
include/linux/utrace.h:126: error: expected identifier or '(' before
'{' token make[2]: *** [arch/x86/kernel/signal.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/x86] Error 2
make: *** Waiting for unfinished jobs....
In file included from include/linux/tracehook.h:53,
                 from kernel/fork.c:41:
include/linux/utrace.h:126: error: expected identifier or '(' before
'{' token make[1]: *** [kernel/fork.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [kernel] Error 2
make: *** wait: No child processes.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.B03kkd (%build)
    Bad exit status from /var/tmp/rpm-tmp.B03kkd (%build)


This is the offending code.

static inline void utrace_init_task(struct task_struct *child)
{
}
{
}



More information about the test mailing list