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
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
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
On Thu, Nov 03, 2005 at 05:03:39PM -0500, Trond Myklebust wrote:
> 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
Thanks, I assume this got merged since clps7500 has started building
again.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core