public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Trivial compile fix
@ 2002-03-11 18:08 Denis Vlasenko
  2002-03-11 20:31 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Vlasenko @ 2002-03-11 18:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, trivial

ld -m elf_i386 -T /.share/usr/src/linux-2.5.6-pre2/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.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 \
	/.share/usr/src/linux-2.5.6-pre2/arch/i386/lib/lib.a /.share/usr/src/linux-2.5.6-pre2/lib/lib.a /.share/usr/src/linux-2.5.6-pre2/arch/i386/lib/lib.a \
	 drivers/base/base.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
	net/network.o \
	--end-group \
	-o vmlinux
drivers/net/net.o: In function `__cp_set_rx_mode':
drivers/net/net.o(.text+0x15162): undefined reference to `ether_crc'
make: *** [vmlinux] Error 1


--- linux-2.5.6-pre2/drivers/net/8139cp.c.orig	Mon Mar 11 13:17:59 2002
+++ linux-2.5.6-pre2/drivers/net/8139cp.c	Mon Mar 11 15:44:48 2002
@@ -47,7 +47,6 @@
 #define DRV_VERSION		"0.0.7"
 #define DRV_RELDATE		"Feb 27, 2002"
 
-
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
@@ -59,6 +58,7 @@
 #include <linux/mii.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
+#include <linux/crc32.h>
 
 /* These identify the driver base version and may not be removed. */
 static char version[] __devinitdata =

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

* Re: [PATCH] Trivial compile fix
  2002-03-11 18:08 [PATCH] Trivial compile fix Denis Vlasenko
@ 2002-03-11 20:31 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2002-03-11 20:31 UTC (permalink / raw)
  To: vda; +Cc: Linus Torvalds, linux-kernel, trivial

Denis Vlasenko wrote:

>--- linux-2.5.6-pre2/drivers/net/8139cp.c.orig	Mon Mar 11 13:17:59 2002
>+++ linux-2.5.6-pre2/drivers/net/8139cp.c	Mon Mar 11 15:44:48 2002
>@@ -47,7 +47,6 @@
> #define DRV_VERSION		"0.0.7"
> #define DRV_RELDATE		"Feb 27, 2002"
> 
>-
> #include <linux/module.h>
> #include <linux/kernel.h>
> #include <linux/netdevice.h>
>@@ -59,6 +58,7 @@
> #include <linux/mii.h>
> #include <asm/io.h>
> #include <asm/uaccess.h>
>+#include <linux/crc32.h>
>
Please CC the maintainer (me) on such patches.  Also, don't remove blank 
lines I put in there to make the code look nice... :)

    Jeff





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

end of thread, other threads:[~2002-03-11 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-11 18:08 [PATCH] Trivial compile fix Denis Vlasenko
2002-03-11 20:31 ` Jeff Garzik

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