2003-07-21 23:09:48

by Eyal Lebedinsky

[permalink] [raw]
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin

Andrea Arcangeli wrote:
>
> URL:
>
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1.bz2
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1/
>

depmod: *** Unresolved symbols in
/lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
depmod: __udivdi3

Using Debian stable (woody) - gcc 2.95.4.

--
Eyal Lebedinsky ([email protected]) <http://samba.org/eyal/>


2003-09-01 23:45:25

by Andrea Arcangeli

[permalink] [raw]
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin

Hi,

On Tue, Jul 22, 2003 at 09:24:46AM +1000, Eyal Lebedinsky wrote:
> Andrea Arcangeli wrote:
> >
> > URL:
> >
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1.bz2
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1/
> >
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> depmod: __udivdi3

There are several functions triggering this problem, and it's a mainline
2.4 problem (I don't see anything specific to my tree).

I'm CCing the authors of the driver, is there a new version or are we the
first triggering it? I can fix it myself but I'd prefer to avoid any
duplication since it's not a one liner.

Thanks,

Andrea

/*
* If you refuse to depend on closed software for a critical
* part of your business, these links may be useful:
*
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.5/
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.4/
* http://www.cobite.com/cvsps/
*
* svn://svn.kernel.org/linux-2.6/trunk
* svn://svn.kernel.org/linux-2.4/trunk
*/

2003-09-02 07:23:11

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin

On Tuesday 02 September 2003 01:46, Andrea Arcangeli wrote:

Hi Andrea,

> > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> > depmod: __udivdi3
> There are several functions triggering this problem, and it's a mainline
> 2.4 problem (I don't see anything specific to my tree).
> I'm CCing the authors of the driver, is there a new version or are we the
> first triggering it? I can fix it myself but I'd prefer to avoid any
> duplication since it's not a one liner.

the problem is _was_ the sk98lin driver, but this problem is gone for a very
long time now. 2.4.23-pre* will get an update in the next days with sk98lin
v6.17 (current 6.02 is in mainline) and the problem is gone with it.

Or at least, I don't get the unresolved symbols problem with it ;)

ciao, Marc

2003-09-02 15:26:24

by Martin Schlemmer

[permalink] [raw]
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin

On Tue, 2003-09-02 at 09:20, Marc-Christian Petersen wrote:
> On Tuesday 02 September 2003 01:46, Andrea Arcangeli wrote:
>
> Hi Andrea,
>
> > > depmod: *** Unresolved symbols in
> > > /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> > > depmod: __udivdi3
> > There are several functions triggering this problem, and it's a mainline
> > 2.4 problem (I don't see anything specific to my tree).
> > I'm CCing the authors of the driver, is there a new version or are we the
> > first triggering it? I can fix it myself but I'd prefer to avoid any
> > duplication since it's not a one liner.
>
> the problem is _was_ the sk98lin driver, but this problem is gone for a very
> long time now. 2.4.23-pre* will get an update in the next days with sk98lin
> v6.17 (current 6.02 is in mainline) and the problem is gone with it.
>
> Or at least, I don't get the unresolved symbols problem with it ;)
>

Below is the patch that was used for 2.5 - might be the same
thing. I don't know who posted it originally though, Andrew
might be able to help out with that as he posted it when I
tried to port the drivers back then ...

--------------------------
diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix
drivers/net/sk98lin/h/skgepnm2.h
--- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix Thu Mar 6
16:18:07 2003
+++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h Thu Mar 6 16:18:07 2003
@@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
#if SK_TICKS_PER_SEC == 100
#define SK_PNMI_HUNDREDS_SEC(t) (t)
#else
-#define SK_PNMI_HUNDREDS_SEC(t) (((t) * 100) /
(SK_TICKS_PER_SEC))
+#define SK_PNMI_HUNDREDS_SEC(t) ((((long)t) * 100) /
(SK_TICKS_PER_SEC))
#endif

/*


--
Martin Schlemmer


2003-09-02 15:30:01

by Andrea Arcangeli

[permalink] [raw]
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin

On Tue, Sep 02, 2003 at 05:09:36PM +0200, Martin Schlemmer wrote:
> On Tue, 2003-09-02 at 09:20, Marc-Christian Petersen wrote:
> > On Tuesday 02 September 2003 01:46, Andrea Arcangeli wrote:
> >
> > Hi Andrea,
> >
> > > > depmod: *** Unresolved symbols in
> > > > /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> > > > depmod: __udivdi3
> > > There are several functions triggering this problem, and it's a mainline
> > > 2.4 problem (I don't see anything specific to my tree).
> > > I'm CCing the authors of the driver, is there a new version or are we the
> > > first triggering it? I can fix it myself but I'd prefer to avoid any
> > > duplication since it's not a one liner.
> >
> > the problem is _was_ the sk98lin driver, but this problem is gone for a very
> > long time now. 2.4.23-pre* will get an update in the next days with sk98lin
> > v6.17 (current 6.02 is in mainline) and the problem is gone with it.
> >
> > Or at least, I don't get the unresolved symbols problem with it ;)
> >
>
> Below is the patch that was used for 2.5 - might be the same
> thing. I don't know who posted it originally though, Andrew
> might be able to help out with that as he posted it when I
> tried to port the drivers back then ...
>
> --------------------------
> diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix
> drivers/net/sk98lin/h/skgepnm2.h
> --- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix Thu Mar 6
> 16:18:07 2003
> +++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h Thu Mar 6 16:18:07 2003
> @@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
> #if SK_TICKS_PER_SEC == 100
> #define SK_PNMI_HUNDREDS_SEC(t) (t)
> #else
> -#define SK_PNMI_HUNDREDS_SEC(t) (((t) * 100) /
> (SK_TICKS_PER_SEC))
> +#define SK_PNMI_HUNDREDS_SEC(t) ((((long)t) * 100) /
> (SK_TICKS_PER_SEC))
> #endif

thanks for the info. at the moment I merged v6.17 and it didn't show
compilation failures yet.

Andrea

/*
* If you refuse to depend on closed software for a critical
* part of your business, these links may be useful:
*
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.5/
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.4/
* http://www.cobite.com/cvsps/
*
* svn://svn.kernel.org/linux-2.6/trunk
* svn://svn.kernel.org/linux-2.4/trunk
*/