Skip to contentSkip to conversation

Failure: ARM clps7500

DISCUSSION Russell King 2 participants 3 messages Nov 3, 2005 – Nov 6, 2005

lore
Share & tools
lore
#0 lore raw

This default configuration (arch/arm/configs/clps7500_defconfig) fails to build:

LD .tmp_vmlinux1
net/built-in.o: In function `xs_bindresvport':
stats.c:(.text+0x54654): undefined reference to xprt_min_resvport' stats.c:(.text+0x54658): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_tcp':
stats.c:(.text+0x54bcc): undefined reference to xprt_tcp_slot_table_entries' stats.c:(.text+0x54bd0): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_udp':
stats.c:(.text+0x54d34): undefined reference to xprt_udp_slot_table_entries' stats.c:(.text+0x54d38): undefined reference to xprt_max_resvport'
make: *** [.tmp_vmlinux1] Error 1

Maybe related to CONFIG_SYSCTL=n ?

Complete build log:

http://armlinux.simtec.co.uk/kautobuild/2.6.14-git5/clps7500_defconfig/zimage.log

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
#1 lore raw
Quoted 15 lines · Russell King

This default configuration (arch/arm/configs/clps7500_defconfig) fails to build:

LD .tmp_vmlinux1
net/built-in.o: In function `xs_bindresvport':
stats.c:(.text+0x54654): undefined reference to xprt_min_resvport' stats.c:(.text+0x54658): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_tcp':
stats.c:(.text+0x54bcc): undefined reference to xprt_tcp_slot_table_entries' stats.c:(.text+0x54bd0): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_udp':
stats.c:(.text+0x54d34): undefined reference to xprt_udp_slot_table_entries' stats.c:(.text+0x54d38): undefined reference to xprt_max_resvport'
make: *** [.tmp_vmlinux1] Error 1

Quoted 1 line

Maybe related to CONFIG_SYSCTL=n ?

The following patch should fix it:

http://client.linux-nfs.org/Linux-2.6.x/2.6.14/linux-2.6.14-96-fix_rpc_nosysctl.dif

and this one ought to get rid of all those "unused variable" warnings:

http://client.linux-nfs.org/Linux-2.6.x/2.6.14/linux-2.6.14-97-fix_printk_nosysctl.dif

Cheers,
Trond

#2 lore raw
Quoted 16 lines · Trond Myklebust
Quoted 15 lines · Russell King

This default configuration (arch/arm/configs/clps7500_defconfig) fails to build:

LD .tmp_vmlinux1
net/built-in.o: In function `xs_bindresvport':
stats.c:(.text+0x54654): undefined reference to xprt_min_resvport' stats.c:(.text+0x54658): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_tcp':
stats.c:(.text+0x54bcc): undefined reference to xprt_tcp_slot_table_entries' stats.c:(.text+0x54bd0): undefined reference to xprt_max_resvport' net/built-in.o: In function `xs_setup_udp':
stats.c:(.text+0x54d34): undefined reference to xprt_udp_slot_table_entries' stats.c:(.text+0x54d38): undefined reference to xprt_max_resvport'
make: *** [.tmp_vmlinux1] Error 1

Quoted 5 lines
Quoted 1 line

Maybe related to CONFIG_SYSCTL=n ?

The following patch should fix it:

http://client.linux-nfs.org/Linux-2.6.x/2.6.14/linux-2.6.14-96-fix_rpc_nosysctl.dif

Thanks, I assume this got merged since clps7500 has started building again.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core