lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectProblems in the sk98lin driver (2.5.43)
I get the following when I attempt to build it as a module (gcc-3.0.4):

make -f arch/i386/lib/Makefile modules_install
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /var/tmp/kernel-2.5.43-root -r 2.5.43-1sb; fi
depmod: *** Unresolved symbols in /var/tmp/kernel-2.5.43-root/lib/modules/2.5.43-1sb/kernel/drivers/net/sk98lin/sk98lin.o
depmod: __udivdi3

This is coming from line 1481 in drivers/net/sk98lin/skgepnmi.c(SkPnmiInit):
pAC->Pnmi.StartUpTime = SK_PNMI_HUNDREDS_SEC(SkOsGetTime(pAC));

SkOsGetTime is defined to return an unsigned 64 bit integer, and
SK_PNMI_HUNDREDS_SEC is a macro which does (arg * 100) / 1000. The
1000 is coming from HZ and this macro does not get defined when HZ is
exactly a 100.

When scanning this file, I found another potential problem. The Vpd()
function consumes 2851 bytes on the stack in auto variables.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.056 / U:5.580 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site