mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.17 build fails at network.o
@ 2001-12-22  2:43 se d
  2001-12-22  2:49 ` David S. Miller
  2001-12-22  3:54 ` [PATCH] [gcc-3.10-0.1] " Wayne Whitney
  0 siblings, 2 replies; 7+ messages in thread
From: se d @ 2001-12-22  2:43 UTC (permalink / raw)
  To: linux-kernel


I'm trying to build 2.4.17. It fails as follows:


make[1]: Leaving directory `/opt/kernel/linux-2.4.17/arch/i386/lib'
ld -m elf_i386 -T /opt/kernel/linux-2.4.17/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_tas
k.o init/main.o init/version.o \
	--start-group \
	arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o 
ipc/ipc.o \
	 drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o drivers/char
/agp/agp.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o 
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/d
river.o drivers/pnp/pnp.o drivers/video/video.o drivers/md/mddev.o \
	net/network.o \
	/opt/kernel/linux-2.4.17/arch/i386/lib/lib.a 
/opt/kernel/linux-2.4.17/lib/lib.a /opt/kernel/linux-2.4.17/arch/i386/
lib/lib.a \
	--end-group \
	-o vmlinux
net/network.o: In function `__rpc_schedule':
net/network.o(.text+0x49a0d): undefined reference to `rpciod_tcp_dispatcher'
make: *** [vmlinux] Error 1


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.4.17 build fails at network.o
@ 2001-12-22  3:19 se d
  2001-12-22  4:52 ` David S. Miller
  0 siblings, 1 reply; 7+ messages in thread
From: se d @ 2001-12-22  3:19 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel

Nope. Inserted the one line fix. Tried again. Same problem.

jay


>From: "David S. Miller" <davem@redhat.com>
>To: seandarcy@hotmail.com
>CC: linux-kernel@vger.kernel.org
>Subject: Re: 2.4.17 build fails at network.o
>Date: Fri, 21 Dec 2001 18:49:01 -0800 (PST)
>
>
>This should fix it:
>
>--- net/sunrpc/sched.c.~1~	Fri Oct 12 18:47:31 2001
>+++ net/sunrpc/sched.c	Fri Dec 21 18:48:09 2001
>@@ -21,6 +21,7 @@
>  #include <linux/spinlock.h>
>
>  #include <linux/sunrpc/clnt.h>
>+#include <linux/sunrpc/xprt.h>
>
>  #ifdef RPC_DEBUG
>  #define RPCDBG_FACILITY		RPCDBG_SCHED
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.4.17 build fails at network.o
@ 2001-12-22 13:47 se d
  0 siblings, 0 replies; 7+ messages in thread
From: se d @ 2001-12-22 13:47 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel

Yes it is. But note the "defined but not used" warning. FWIW, I'm using 
gcc-3.1-0.10.


make[3]: Entering directory `/opt/kernel/linux-2.4.17/net/sunrpc'
gcc -D__KERNEL__ -I/opt/kernel/linux-2.4.17/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686    -c -o clnt.o clnt.c
/opt/kernel/linux-2.4.17/include/linux/sunrpc/xprt.h:205: warning: 
`rpciod_tcp_dispatcher' defined but not used
gcc -D__KERNEL__ -I/opt/kernel/linux-2.4.17/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686    -c -o xprt.o xprt.c
In file included from /opt/kernel/linux-2.4.17/include/net/checksum.h:33,
                 from xprt.c:64:
/opt/kernel/linux-2.4.17/include/asm/checksum.h:72:30: warning: multi-line 
string literals are deprecated
/opt/kernel/linux-2.4.17/include/asm/checksum.h:105:17: warning: multi-line 
string literals are deprecated
/opt/kernel/linux-2.4.17/include/asm/checksum.h:121:13: warning: multi-line 
string literals are deprecated
/opt/kernel/linux-2.4.17/include/asm/checksum.h:161:17: warning: multi-line 
string literals are deprecated
/opt/kernel/linux-2.4.17/include/linux/sunrpc/xprt.h:205: warning: 
`rpciod_tcp_dispatcher' defined but not used
................

>From: "David S. Miller" <davem@redhat.com>
>To: seandarcy@hotmail.com
>CC: linux-kernel@vger.kernel.org
>Subject: Re: 2.4.17 build fails at network.o
>Date: Fri, 21 Dec 2001 20:52:14 -0800 (PST)
....................................
>
>Is it building net/sunrpc/xprt.o at all?
>-





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.4.17 build fails at network.o
@ 2001-12-22 13:51 se d
  0 siblings, 0 replies; 7+ messages in thread
From: se d @ 2001-12-22 13:51 UTC (permalink / raw)
  To: tomlins; +Cc: linux-kernel

gcc-3.1-0.10 from redhat. I'm going to try the fix from Wayne Whitney.


>From: Ed Tomlinson <tomlins@cam.org>
>Reply-To: tomlins@cam.org
>To: se d <seandarcy@hotmail.com>
>Subject: Re: 2.4.17 build fails at network.o
>Date: Sat, 22 Dec 2001 08:41:32 -0500
>
>
>What compiler?
>
>Ed Tomlinson
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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

end of thread, other threads:[~2001-12-22 13:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-22  2:43 2.4.17 build fails at network.o se d
2001-12-22  2:49 ` David S. Miller
2001-12-22  3:54 ` [PATCH] [gcc-3.10-0.1] " Wayne Whitney
2001-12-22  3:19 se d
2001-12-22  4:52 ` David S. Miller
2001-12-22 13:47 se d
2001-12-22 13:51 se d

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®