2005-10-28 21:20:30

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Link error in ./net/sunrcp/

Hi!

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...

MfG, JBG

--
Jan-Benedict Glaw [email protected] . +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));


Attachments:
(No filename) (895.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-10-28 21:26:14

by Lever, Charles

[permalink] [raw]
Subject: RE: Link error in ./net/sunrcp/

>
> Hi!
>
> 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?

2005-10-28 22:06:03

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Re: Link error in ./net/sunrcp/

On Fri, 2005-10-28 14:26:11 -0700, Lever, Charles <[email protected]> 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 [email protected] . +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));


Attachments:
(No filename) (2.11 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-10-28 22:13:51

by Lever, Charles

[permalink] [raw]
Subject: RE: Link error in ./net/sunrcp/

noted. patch forthcoming.

> -----Original Message-----
> From: Jan-Benedict Glaw [mailto:[email protected]]
> Sent: Friday, October 28, 2005 6:06 PM
> To: Lever, Charles
> Cc: Myklebust, Trond; [email protected]
> Subject: Re: Link error in ./net/sunrcp/
>
>
> On Fri, 2005-10-28 14:26:11 -0700, Lever, Charles
> <[email protected]> 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 [email protected] .
> +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));
>