From: Pavel Machek <pavel@ucw.cz>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: kernel list <linux-kernel@vger.kernel.org>, tadeusz.struk@intel.com
Subject: Re: 4.2-rc0: akcipher breaks compilation
Date: Wed, 1 Jul 2015 10:54:29 +0200 [thread overview]
Message-ID: <20150701085429.GA16602@amd> (raw)
In-Reply-To: <20150630134826.GC24245@gondor.apana.org.au>
On Tue 2015-06-30 22:48:26, Herbert Xu wrote:
> On Tue, Jun 30, 2015 at 11:27:50AM +0200, Pavel Machek wrote:
> > Hi!
> >
> > CC crypto/akcipher.o
> > CC block/bio.o
> > crypto/akcipher.c: In function ‘crypto_akcipher_report’:
> > crypto/akcipher.c:30:32: error: storage size of ‘rakcipher’ isn’t
> > known
> > struct crypto_report_akcipher rakcipher;
> > ^
> > crypto/akcipher.c:34:19: error:
> > ‘CRYPTOCFGA_REPORT_AKCIPHER’ undeclared (first use in this
> > function)
> > if (nla_put(skb, CRYPTOCFGA_REPORT_AKCIPHER,
> > ^
> > crypto/akcipher.c:34:19: note: each
> > undeclared identifier is reported only once for each function it
> > appears in
> > crypto/akcipher.c:35:14: error: invalid application of ‘sizeof’ to
> > incomplete type ‘struct crypto_report_akcipher’
> > sizeof(struct crypto_report_akcipher), &rakcipher))
> > ^
> > crypto/akcipher.c:30:32: warning: unused
> > variable ‘rakcipher’ [-Wunused-variable]
> > struct crypto_report_akcipher rakcipher;
> > ^
> > scripts/Makefile.build:258:
> > recipe for target 'crypto/akcipher.o' failed
> > make[1]: *** [crypto/akcipher.o] Error 1
> > Makefile:945: recipe for target 'crypto' failed
> > make: *** [crypto] Error 2
> > make: *** Waiting for unfinished jobs....
>
> That's weird. both symbols are meant to be defined in
> include/uapi/linux/cryptouser.h. Do you have that file and is
> it up-to-date? Do you happen to have an obsolete
> include/linux/cryptouser.h file in your tree?
I had the file, but probably had other copy of cryptouser.h somewhere.
git --work-tree=/data/l/linux-64 clean -df
helped. Thanks and sorry for the noise,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2015-07-01 8:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 9:27 4.2-rc0: akcipher breaks compilation Pavel Machek
2015-06-30 13:48 ` Herbert Xu
2015-07-01 8:54 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150701085429.GA16602@amd \
--to=pavel@ucw.cz \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=tadeusz.struk@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox