linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [PATCH] Trivial compile fix
Date: Mon, 11 Mar 2002 16:08:01 -0200	[thread overview]
Message-ID: <200203111408.g2BE8pq05486@Port.imtp.ilyichevsk.odessa.ua> (raw)

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 =

             reply	other threads:[~2002-03-11 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-11 18:08 Denis Vlasenko [this message]
2002-03-11 20:31 ` [PATCH] Trivial compile fix Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200203111408.g2BE8pq05486@Port.imtp.ilyichevsk.odessa.ua \
    --to=vda@port.imtp.ilyichevsk.odessa.ua \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).