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) { } { }
stan wrote:
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.
That definitely looks like a bug to me. It's been there at least since 2.6.32.4 (oldest I have installed at the moment). It was fixed[1] in the .33 branch.
I'd file a bug with bugzilla.redhat.com. It's a Red Hat feature and looks like they are pushing[2] for inclusion into either .33 or .34.
[1] http://git.kernel.org/?p=linux/kernel/git/frob/linux-2.6-utrace.git;a=commit... [2] http://lkml.org/lkml/2010/1/19/384
On Wed, 03 Feb 2010 10:40:52 -0600 Michael Cronenworth mike@cchtml.com wrote:
stan wrote:
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.
That definitely looks like a bug to me. It's been there at least since 2.6.32.4 (oldest I have installed at the moment). It was fixed[1] in the .33 branch.
I'd file a bug with bugzilla.redhat.com. It's a Red Hat feature and looks like they are pushing[2] for inclusion into either .33 or .34.
[1] http://git.kernel.org/?p=linux/kernel/git/frob/linux-2.6-utrace.git;a=commit... [2] http://lkml.org/lkml/2010/1/19/384