Skip to contentSkip to conversation

next-20080515 crypto build failure

PATCH In review Randy Dunlap 3 participants 4 messages May 15, 2008 – May 16, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

on x86_64:

crypto/built-in.o: In function `cryptd_alloc':
cryptd.c:(.text+0x9b5a): undefined reference to `crypto_ahash_type' make[1]: *** [.tmp_vmlinux1] Error 1

CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_MANAGER=y
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_CRYPTD=y
# CONFIG_CRYPTO_AUTHENC is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
CONFIG_CRYPTO_MD4=y
# CONFIG_CRYPTO_MD5 is not set
CONFIG_CRYPTO_MICHAEL_MIC=y
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
CONFIG_CRYPTO_RMD320=y
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
CONFIG_CRYPTO_SHA512=y
# CONFIG_CRYPTO_TGR192 is not set
CONFIG_CRYPTO_WP512=y

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_CAST5=y
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
CONFIG_CRYPTO_SEED=y
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
CONFIG_CRYPTO_TWOFISH_X86_64=y

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_HW is not set

---
~Randy

#1 lore raw

PATCH 1/1 crypto: fix cryptd build fix due to missing ahash

This was reported by Randy Dunlap:
|crypto/built-in.o: In function `cryptd_alloc':
|cryptd.c:(.text+0x9b5a): undefined reference to `crypto_ahash_type'

---
 crypto/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
crypto/Kconfig +1 -0
index 5963a95..ffcd467 100644
@@ -66,6 +66,7 @@ config CRYPTO_CRYPTD
 	tristate "Software async crypto daemon"
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_MANAGER
+	select CRYPTO_HASH
 	help
 	  This is a generic software asynchronous crypto daemon that
 	  converts an arbitrary synchronous software crypto algorithm
Signature · 1 line
1.5.4.3
author Acked-by on v1 1/1
#2 lore raw

Re: [PATCH] crypto: fix cryptd build fix due to missing ahash

Quoted 6 lines

This was reported by Randy Dunlap:
|crypto/built-in.o: In function `cryptd_alloc':
|cryptd.c:(.text+0x9b5a): undefined reference to `crypto_ahash_type'

Thanks.

Quoted 19 lines
---
 crypto/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
crypto/Kconfig +1 -0
index 5963a95..ffcd467 100644
@@ -66,6 +66,7 @@ config CRYPTO_CRYPTD
 	tristate "Software async crypto daemon"
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_MANAGER
+	select CRYPTO_HASH
 	help
 	  This is a generic software asynchronous crypto daemon that
 	  converts an arbitrary synchronous software crypto algorithm
Signature · 1 line
1.5.4.3
maintainer
#3 lore raw

Re: [PATCH] crypto: fix cryptd build fix due to missing ahash

Quoted 8 lines · Randy Dunlap
Quoted 6 lines

This was reported by Randy Dunlap:
|crypto/built-in.o: In function `cryptd_alloc':
|cryptd.c:(.text+0x9b5a): undefined reference to `crypto_ahash_type'

Thanks, I've merged this into the original change.

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt