Re: Link error in ./net/sunrcp/
From: Jan-Benedict Glaw
Date: Fri Oct 28 2005 - 17:06:38 EST
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));
Attachment:
signature.asc
Description: Digital signature