Skip to contentSkip to conversation

ARM: pxa: fix NFS build issue

PATCH New Haojian Zhuang 3 participants 3 messages Sep 14, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: pxa: fix NFS build issue

fs/built-in.o: In function `nfs_callback_authenticate':
compr_lzo.c:(.text+0x81380): undefined reference to `svc_gss_principal'
make: *** [.tmp_vmlinux1] Error 1

Cc Eric Miao <[email protected]>
Cc Vincent Sanders <[email protected]>
---
 arch/arm/configs/pxa3xx_defconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/configs/pxa3xx_defconfig +4 -0
index 1677a06..6d30baf 100644
@@ -118,6 +118,10 @@ CONFIG_NFS_V3=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
 CONFIG_ROOT_NFS=y
+CONFIG_SUNRPC=y
+CONFIG_SUNRPC_GSS=y
+CONFIG_RPCSEC_GSS_KRB5=y
+CONFIG_RPCSEC_GSS_SPKM3=y
 CONFIG_NLS=y
 CONFIG_PRINTK_TIME=y
 CONFIG_MAGIC_SYSRQ=y
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 ARM: pxa: fix NFS build issue

Quoted 5 lines · Haojian Zhuang

fs/built-in.o: In function `nfs_callback_authenticate':
compr_lzo.c:(.text+0x81380): undefined reference to `svc_gss_principal'
make: *** [.tmp_vmlinux1] Error 1

Cannot remember the exact link, but this should have been solved by adding the correct constraint to the Kconfig.

Uwe, do you have the link and what's the status of that patch being upstreamed?

Quoted 25 lines
Cc Eric Miao <[email protected]>
Cc Vincent Sanders <[email protected]>

---
?arch/arm/configs/pxa3xx_defconfig | ? ?4 ++++
?1 files changed, 4 insertions(+), 0 deletions(-)

arch/arm/configs/pxa3xx_defconfig +0 -0
index 1677a06..6d30baf 100644
@@ -118,6 +118,10 @@ CONFIG_NFS_V3=y

?CONFIG_NFS_V3_ACL=y
?CONFIG_NFS_V4=y
?CONFIG_ROOT_NFS=y

arch/arm/configs/pxa3xx_defconfig +4 -0
+CONFIG_SUNRPC=y
+CONFIG_SUNRPC_GSS=y
+CONFIG_RPCSEC_GSS_KRB5=y
+CONFIG_RPCSEC_GSS_SPKM3=y

?CONFIG_NLS=y
?CONFIG_PRINTK_TIME=y
?CONFIG_MAGIC_SYSRQ=y
--
1.5.6.5

#2 lore raw

PATCH 1/1 ARM: pxa: fix NFS build issue

Hello Eric,

Quoted 6 lines · Eric Miao
Quoted 4 lines · Haojian Zhuang

fs/built-in.o: In function `nfs_callback_authenticate':
compr_lzo.c:(.text+0x81380): undefined reference to `svc_gss_principal'
make: *** [.tmp_vmlinux1] Error 1

Quoted 7 lines
Quoted 1 line

Cannot remember the exact link, but this should have been solved by adding the correct constraint to the Kconfig.

Uwe, do you have the link and what's the status of that patch being upstreamed?

The current status is here:

	http://thread.gmane.org/gmane.linux.kernel/1027380/focus=1033847

Changing the defconfig is a workaround only and IMHO the wrong way to address the problem.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |