Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1174407 > unrolled thread
| Started by | Pavel Machek <pavel@ucw.cz> |
|---|---|
| First post | 2015-06-30 11:30 +0200 |
| Last post | 2015-07-01 11:00 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
4.2-rc0: akcipher breaks compilation Pavel Machek <pavel@ucw.cz> - 2015-06-30 11:30 +0200
Re: 4.2-rc0: akcipher breaks compilation Pavel Machek <pavel@ucw.cz> - 2015-07-01 11:00 +0200
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2015-06-30 11:30 +0200 |
| Subject | 4.2-rc0: akcipher breaks compilation |
| Message-ID | <pH01C-670-53@gated-at.bofh.it> |
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....
Plus... it is not easy to disable akcipher due to "interesting"
Kconfig with select maze...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2015-07-01 11:00 +0200 |
| Message-ID | <pHm27-2Wc-15@gated-at.bofh.it> |
| In reply to | #1174407 |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web