[Top] [All Lists]

Re: mips build failure

To: Stephen Rothwell <>
Subject: Re: mips build failure
From: Wu Zhangjin <>
Date: Sun, 19 Apr 2009 15:32:41 +0800
Cc: Ralf Baechle <>, LKML <>,, Eduard - Gabriel Munteanu <>, Pekka Enberg <>, Ingo Molnar <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=5+iCdn7OuGlJMbHTTdiNRZ8k2KvuRvz8tNpIyfn2Kl8=; b=QnKi7HgKFGQs6lx+RfpOQRonr3f7zTeyLw5swxGMmncRfhjgLtXSOcLPUJKkwNhOkS CCOMml1jH3Oj6Tcj6FHDghdWuvq4Q+MK82Lx32t0Lqhdsfn8MBJTfhT7BYF1ulIEFtq4 nx4TZoNG0SlcDRTsZpTKHwBvYr1hJPyYACpWw=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=cB/dCl7+2AK6nwcfYyy39EHMQ/FzFYrjPB0iXD6sA6RgZCzNvAcnmv3o/7XdaGNVFv Wg/L/jrXPbDdUZLERIyXD4E1HnLBzp5H09NDPwdgGGAwv0tqo1l/4RWFNO501hREesrG INdf8CULGFOZd6xrmEEnZ2GBxfn+44DmhqugI=
In-reply-to: <>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;
References: <>
On Sun, 2009-04-19 at 17:24 +1000, Stephen Rothwell wrote:
> Hi Ralf,
> You probably already now about this, but our build (mips ip32_defconfig)
> of Linus' tree (commit aefe6475720bd5eb8aacbc881488f3aa65618562 "Merge
> branch 'upstream-linus' of
> git://") gets
> these errors (we have actually been getting these errors since 2.6.30-rc1):
> In file included from arch/mips/include/asm/compat.h:7,
>                  from include/linux/compat.h:15,
>                  from arch/mips/kernel/asm-offsets.c:12:
> include/linux/seccomp.h: In function 'prctl_get_seccomp':
> include/linux/seccomp.h:30: error: 'EINVAL' undeclared (first use in this 
> function)
> include/linux/seccomp.h:30: error: (Each undeclared identifier is reported 
> only once
> include/linux/seccomp.h:30: error: for each function it appears in.)
> include/linux/seccomp.h: In function 'prctl_set_seccomp':
> include/linux/seccomp.h:35: error: 'EINVAL' undeclared (first use in this 
> function)

perhaps you can fix it like this:


 22 #else /* CONFIG_SECCOMP */
 24 +#include <asm-generic/errno-base.h>
 26 typedef struct { } seccomp_t;

in reality, there is a previous email sent by Ralf for it:

> Bisected down to commit ac44021fccd8f1f2b267b004f23a2e8d7ef05f7b
> "kmemtrace, rcu: don't include unnecessary headers, allow kmemtrace w/
> tracepoints".

<Prev in Thread] Current Thread [Next in Thread>