Re: Failure: ARM clps7500

From: Trond Myklebust
Date: Thu Nov 03 2005 - 17:03:41 EST


On Thu, 2005-11-03 at 09:58 +0000, Russell King wrote:
> 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 ?

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/