ADFS -> undefined reference to __cmpdi2 (2.3.51)

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Sat Mar 11 2000 - 04:53:49 EST


Hi,

The ADFS filesystem doesn't compile for me, it leaves undefined references
to __cmpdi2.

The suspicious code is in /fs/adfs/dir.c:

        switch (filp->f_pos) {
        case 0:
                if (filldir(dirent, ".", 1, 0, inode->i_ino) < 0)
                        goto free_out;
                filp->f_pos += 1;

        case 1:
                if (filldir(dirent, "..", 2, 1, dir.parent_id) < 0)
                        goto free_out;
                filp->f_pos += 1;

        default:
                break;
        }

I think that converting the switch to an if-construct would solve the
compile-problem, but I don't know if the original author omitted the
"break;" at the end of the first case on purpose..

Greetings,
   Arjan van de Ven

-
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