Hello, again! I talked to a programmer friend about the issue, and he
took a look at the source code. Line 409 of dir.c has the following
switch statement:

switch (filp->f_pos) {

He told me to change it to ((unsigned long) filp->f_pos) { with the
following brief explanation:  "If you [by this, I assume he means a
32-bit PPC user] call switch on a 64-bit long, you need libgcc.a to
figure it out. The fix I sent you is not the correct one, but it will
work as long as f_pos is never 1 + (2^32) or 2^32."

After using modprobe on omfs, I had no problems. The real test, of
course, will be mounting and using the Karma with -t omfs, which
should occur once I get a new hard disk for it.

My friend was using an AMD 64 processor, so the compile worked fine
for him. He says he's willing to send a "real" fix  to you guys if he
can come up with one, and if you're willing to accept it. If you have
any other advice or comments, please let me know!

-- 
Jon Irons

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to