RE: Link error in ./net/sunrcp/

From: Lever, Charles
Date: Fri Oct 28 2005 - 17:13:53 EST


noted. patch forthcoming.

> -----Original Message-----
> From: Jan-Benedict Glaw [mailto:jbglaw@xxxxxxxxxx]
> Sent: Friday, October 28, 2005 6:06 PM
> To: Lever, Charles
> Cc: Myklebust, Trond; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: Link error in ./net/sunrcp/
>
>
> On Fri, 2005-10-28 14:26:11 -0700, Lever, Charles
> <Charles.Lever@xxxxxxxxxx> wrote:
> > > I get this link error:
> > >
> > > net/built-in.o: In function
> > > `xs_bindresvport':xprtsock.c:(.text+0x46970): undefined
> > > reference to `xprt_min_resvport'
> > > :xprtsock.c:(.text+0x46978): undefined reference to
> > > `xprt_max_resvport'
> > > net/built-in.o: In function `xs_setup_udp': undefined
> > > reference to `xprt_udp_slot_table_entries'
> > > net/built-in.o: In function `xs_setup_tcp': undefined
> > > reference to `xprt_tcp_slot_table_entries'
> > > make: *** [.tmp_vmlinux1] Error 1
> > >
> > > in case of CONFIG_SYSCTL not being enabled. This is on
> the VAX port,
> > > but I guess it'll show up on any target...
> >
> > i thought that you couldn't actually get a .config that would build
> > the sunrpc stuff if CONFIG_SYSCTL was disabled. thus the
> macro logic
> > in net/sunrpc doesn't check for it.
> >
> > was i wrong about that?
>
> I just configured for i386, NFS support compiled in, but "Sysctl
> support" (in "General setup") being switched off:
>
> LD .tmp_vmlinux1
> net/built-in.o: In function `xs_bindresvport':
> : undefined reference to `xprt_max_resvport'
> net/built-in.o: In function `xs_bindresvport':
> : undefined reference to `xprt_min_resvport'
> net/built-in.o: In function `xs_setup_udp':
> : undefined reference to `xprt_udp_slot_table_entries'
> net/built-in.o: In function `xs_setup_udp':
> : undefined reference to `xprt_max_resvport'
> net/built-in.o: In function `xs_setup_tcp':
> : undefined reference to `xprt_tcp_slot_table_entries'
> net/built-in.o: In function `xs_setup_tcp':
> : undefined reference to `xprt_max_resvport'
> net/built-in.o:(__ksymtab+0xfb0): undefined reference to
> `xprt_udp_slot_table_entries'
> net/built-in.o:(__ksymtab+0xfb8): undefined reference to
> `xprt_tcp_slot_table_entries'
> make: *** [.tmp_vmlinux1] Error 1
>
> MfG, JBG
>
> --
> Jan-Benedict Glaw jbglaw@xxxxxxxxxx .
> +49-172-7608481 _ O _
> "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur |
> Gegen Krieg _ _ O
> für einen Freien Staat voll Freier Bürger" | im Internet! |
> im Irak! O O O
> ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW |
> DRM | TCPA));
>
-
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/