Subject: linux-2.5.73 at alpha compile error


arch/alpha/kernel/built-in.o(.data+0x2260): undefined reference to
`sys_socket'

at LD vmlinux ;/

Config at attachment. Thanks for reply.

--
.mailto p r z e m y s l a w at k n y c z dot n e t.
| Przemys?aw "djrzulf" Knycz, [email protected] |
| Net/Sys Administrator, PLD Developer, RLU: 213344 |
`- To see tomorrow's PC, look at today's Macintosh -'


Attachments:
kernel-alpha.config (14.23 kB)

2003-06-24 15:06:56

by Ivan Kokshaysky

[permalink] [raw]
Subject: Re: linux-2.5.73 at alpha compile error

On Tue, Jun 24, 2003 at 04:04:35PM +0200, Przemyslaw Stanis?aw Knycz wrote:
> arch/alpha/kernel/built-in.o(.data+0x2260): undefined reference to
> `sys_socket'

Same problem with CONFIG_NET=n on sparc32/64, mips32/64, parisc and ia64.
sys_socket should be a cond_syscall.

Ivan.

--- 2.5/kernel/sys.c Tue Jun 17 08:19:40 2003
+++ linux/kernel/sys.c Tue Jun 24 18:24:58 2003
@@ -220,6 +220,7 @@ cond_syscall(sys_sendto)
cond_syscall(sys_send)
cond_syscall(sys_recvfrom)
cond_syscall(sys_recv)
+cond_syscall(sys_socket)
cond_syscall(sys_setsockopt)
cond_syscall(sys_getsockopt)
cond_syscall(sys_shutdown)

2003-06-25 00:15:29

by David Miller

[permalink] [raw]
Subject: Re: linux-2.5.73 at alpha compile error

From: Ivan Kokshaysky <[email protected]>
Date: Tue, 24 Jun 2003 19:20:25 +0400

On Tue, Jun 24, 2003 at 04:04:35PM +0200, Przemyslaw Stanis?aw Knycz wrote:
> arch/alpha/kernel/built-in.o(.data+0x2260): undefined reference to
> `sys_socket'

Same problem with CONFIG_NET=n on sparc32/64, mips32/64, parisc and ia64.
sys_socket should be a cond_syscall.

Applied, thanks Ivan.