[lkml]   [2000]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectADFS -> undefined reference to __cmpdi2 (2.3.51)

    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;


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

    Arjan van de Ven

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:57    [W:0.017 / U:12.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site