Re: ADFS -> undefined reference to __cmpdi2 (2.3.51)

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Mar 11 2000 - 10:02:19 EST


On Sat, 11 Mar 2000, Russell King wrote:

> Arjan van de Ven writes:
> > The ADFS filesystem doesn't compile for me, it leaves undefined references
> > to __cmpdi2.
>
> Is your GCC environment missing something?

Yes. switch(long_long_var) is _not_ a primitive. And libgcc.a is out of
question in the kernel. Assuming that you don't have 64-bit offsets in
directories - switch((unsigned long)(long_long_var)) may be a good idea.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:19 EST