Messages in this thread | | | From | Russell King <> | Subject | Re: ADFS -> undefined reference to __cmpdi2 (2.3.51) | Date | Sat, 11 Mar 2000 15:04:51 +0000 (GMT) |
| |
Alexander Viro writes: > 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.
Would switch ((int)(long_long_var)) be safer for other architectures? _____ |_____| ------------------------------------------------- ---+---+- | | Russell King rmk@arm.linux.org.uk --- --- | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ ------------------------------------------------- /\\\ |
- 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/
| |