* SIS900 driver unresolved dependency crc32_be in 2.5.3
@ 2002-02-07 15:05 Florin Iucha
0 siblings, 0 replies; 2+ messages in thread
From: Florin Iucha @ 2002-02-07 15:05 UTC (permalink / raw)
To: Matt_Domsch; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
I have a K7S5A with onboard LAN.
I am compiling the driver (SIS900) as module and I have crc32 lib built
in the kernel. When I run "make modules_install" or "modprobe sis900"
afterwards I get
bear:~# modprobe sis900
/lib/modules/2.5.3-xfs-k7/kernel/drivers/net/sis900.o: unresolved symbol
crc32_be
/lib/modules/2.5.3-xfs-k7/kernel/drivers/net/sis900.o: insmod
/lib/modules/2.5.3-xfs-k7/kernel/drivers/net/sis900.o failed
/lib/modules/2.5.3-xfs-k7/kernel/drivers/net/sis900.o: insmod sis900
failed
Relevant portions of .config:
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
CONFIG_SIS900=m
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
#
# Library routines
#
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=m
# CONFIG_ZLIB_DEFLATE is not set
florin
--
"If it's not broken, let's fix it till it is."
41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: SIS900 driver unresolved dependency crc32_be in 2.5.3
@ 2002-02-07 19:32 Matt_Domsch
0 siblings, 0 replies; 2+ messages in thread
From: Matt_Domsch @ 2002-02-07 19:32 UTC (permalink / raw)
To: florin; +Cc: linux-kernel
> /lib/modules/2.5.3-xfs-k7/kernel/drivers/net/sis900.o:
> unresolved symbol crc32_be
Ahh, yes. I see it now.
CONFIG_SIS900=m
CONFIG_CRC32=y
The makefile rules took the most stringent of =m and =y and made it =y.
But, nothing CONFIG_XXX=y in vmlinux needs the crc32 functions, so the
linker threw the code away.
Partial solution: CONFIG_CRC32=m
Is there a better way to handle this type of situation? Personally, I like
leaving CONFIG_CRC32=m set always (assuming you've got modules), and let the
makefile rules set it to =y if something else =y needs it.
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
#1 US Linux Server provider with 24.5% (IDC Dec 2001)
#2 Worldwide Linux Server provider with 18.2% (IDC Dec 2001)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-07 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07 15:05 SIS900 driver unresolved dependency crc32_be in 2.5.3 Florin Iucha
-- strict thread matches above, loose matches on Subject: below --
2002-02-07 19:32 Matt_Domsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox