linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
@ 2007-06-19 19:02 Olaf Hering
  2007-06-19 20:10 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2007-06-19 19:02 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev


What happend to __ucmpdi2 from David Woodhouse?
google has a few hits about stuff like this on 32bit powerpc with gcc 4.1.2:

ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!

using the drivers/net/s2io* files from 2.6.21 with 2.6.22-rc5 fixes the
compile.

25805dcf9d83098cf5492117ad2669cd14cc9b24 adds two u64 >>= 48 followed by
a switch statement (line 2889 and 6816).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
  2007-06-19 19:02 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! Olaf Hering
@ 2007-06-19 20:10 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2007-06-19 20:10 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: netdev, linux-kernel

On Tue, 19 Jun 2007 21:02:53 +0200
Olaf Hering <olaf@aepfle.de> wrote:

> 
> What happend to __ucmpdi2 from David Woodhouse?
> google has a few hits about stuff like this on 32bit powerpc with gcc 4.1.2:
> 
> ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
> 
> using the drivers/net/s2io* files from 2.6.21 with 2.6.22-rc5 fixes the
> compile.
> 
> 25805dcf9d83098cf5492117ad2669cd14cc9b24 adds two u64 >>= 48 followed by
> a switch statement (line 2889 and 6816).

Probably the "switch(err) {" needs a cast to a smaller type (like u8).
-- 
Stephen Hemminger <shemminger@linux-foundation.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-19 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 19:02 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! Olaf Hering
2007-06-19 20:10 ` Stephen Hemminger

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).