lkml.org 
[lkml]   [2000]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectADFS -> undefined reference to __cmpdi2 (2.3.51)
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.235 / U:0.024 seconds]
©2003-2011 Jasper Spaans. Advertise on this site