mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Link error in ./net/sunrcp/
@ 2005-10-28 21:20 Jan-Benedict Glaw
  0 siblings, 0 replies; 4+ messages in thread
From: Jan-Benedict Glaw @ 2005-10-28 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Chuck Lever, Trond Myklebust

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

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       jbglaw@lug-owl.de    . +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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Link error in ./net/sunrcp/
@ 2005-10-28 22:13 Lever, Charles
  0 siblings, 0 replies; 4+ messages in thread
From: Lever, Charles @ 2005-10-28 22:13 UTC (permalink / raw)
  To: Jan-Benedict Glaw; +Cc: Myklebust, Trond, linux-kernel

noted.  patch forthcoming.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Link error in ./net/sunrcp/
  2005-10-28 21:26 Lever, Charles
@ 2005-10-28 22:05 ` Jan-Benedict Glaw
  0 siblings, 0 replies; 4+ messages in thread
From: Jan-Benedict Glaw @ 2005-10-28 22:05 UTC (permalink / raw)
  To: Lever, Charles; +Cc: Myklebust, Trond, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2210 bytes --]

On Fri, 2005-10-28 14:26:11 -0700, Lever, Charles <Charles.Lever@netapp.com> 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@lug-owl.de    . +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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Link error in ./net/sunrcp/
@ 2005-10-28 21:26 Lever, Charles
  2005-10-28 22:05 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 4+ messages in thread
From: Lever, Charles @ 2005-10-28 21:26 UTC (permalink / raw)
  To: Jan-Benedict Glaw; +Cc: Myklebust, Trond, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-28 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28 21:20 Link error in ./net/sunrcp/ Jan-Benedict Glaw
2005-10-28 21:26 Lever, Charles
2005-10-28 22:05 ` Jan-Benedict Glaw
2005-10-28 22:13 Lever, Charles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®