From: "Martin J. Bligh" <Martin.Bligh@us.ibm.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Jeff Garzik <jgarzik@mandrakesoft.com>
Subject: Compile error (starfire ethernet) on 2.5.25 for crc32_le
Date: Wed, 10 Jul 2002 16:21:08 -0700 [thread overview]
Message-ID: <165080000.1026343268@flay> (raw)
I get the following compile error if I try to use the starfire
driver.
ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.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 /home/mbligh/linux-2.5.25/arch/i386/lib/lib.a lib/lib.a /home/mbligh/linux-2.5.25/arch/i386/lib/lib.a drivers/built-in.o sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `set_rx_mode':
drivers/built-in.o(.text+0x2138c): undefined reference to `crc32_le'
make: *** [vmlinux] Error 1
starfire.c calls ether_crc_le which is defined in include/linux/crc32.h as
#define ether_crc_le(length, data) crc32_le(~0, data, length)
crc32_le is defined in lib/crc32.c .... which is only compiled if CONFIG_CRC32
is set ... setting this fixes the problem ... shouldn't drivers that need this turn it
on automatically somehow?
M.
next reply other threads:[~2002-07-10 23:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-10 23:21 Martin J. Bligh [this message]
2002-07-10 23:46 ` Compile error (starfire ethernet) on 2.5.25 for crc32_le Jeff Garzik
2002-07-11 0:06 ` Martin J. Bligh
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=165080000.1026343268@flay \
--to=martin.bligh@us.ibm.com \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
/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