List Info

Thread: Compiling FUSE for 32 bit system.




Compiling FUSE for 32 bit system.
country flaguser name
United States
2008-03-26 02:56:59
Hi All,

I am working with a system where uClibc is not compiled
with
__UCLIBC_HAS_LFS__ option.
When I am compiling fuse I am getting the following error:

#error It appears you have defined _FILE_OFFSET_BITS=64. 
Unfortunately,
uClibc was built without large file support enabled.

Then I changed the Makefile of fuse and build it again
without
-D_FILE_OFFSET_BITS=64 option. This time I got the following
error:

#error Please add -D_FILE_OFFSET_BITS=64 to your compile
flags!

Then I went through the code a little and found the
following code in
include/fuse_common.h:

#if _FILE_OFFSET_BITS != 64
#error Please add -D_FILE_OFFSET_BITS=64 to your compile
flags!
#endif

Then I commented that portion of code and tried to compile
it again. This
time it was compiled successfully. But when i tried to run
it in the system
it was crashing because of segmentation fault.

I am using fuse-2.5.3. It seems that it is not possible to
use fuse without
_FILE_OFFSET_BITS = 64 option set. But I have to use a
uClibc that is not
compiled with large file support. Is there any version of
FUSE that does not
require large file support ?

Thanks in advance.

Thanks & regards,
Rakhahari Bhunia
-- 
View this message in context: http://www.nabble.com/Compiling-
FUSE-for-32-bit-system.-tp16297085p16297085.html
Sent from the Fuse - Dev mailing list archive at
Nabble.com.


------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Compiling FUSE for 32 bit system.
country flaguser name
Hungary
2008-03-28 11:08:58
> I am working with a system where uClibc is not compiled
with
> __UCLIBC_HAS_LFS__ option.
> When I am compiling fuse I am getting the following
error:
> 
> #error It appears you have defined
_FILE_OFFSET_BITS=64.  Unfortunately,
> uClibc was built without large file support enabled.
> 
> Then I changed the Makefile of fuse and build it again
without
> -D_FILE_OFFSET_BITS=64 option. This time I got the
following error:
> 
> #error Please add -D_FILE_OFFSET_BITS=64 to your
compile flags!
> 
> Then I went through the code a little and found the
following code in
> include/fuse_common.h:
> 
> #if _FILE_OFFSET_BITS != 64
> #error Please add -D_FILE_OFFSET_BITS=64 to your
compile flags!
> #endif
> 
> Then I commented that portion of code and tried to
compile it again. This
> time it was compiled successfully. But when i tried to
run it in the system
> it was crashing because of segmentation fault.
> 
> I am using fuse-2.5.3. It seems that it is not possible
to use fuse without
> _FILE_OFFSET_BITS = 64 option set. But I have to use a
uClibc that is not
> compiled with large file support. Is there any version
of FUSE that does not
> require large file support ?

It should work without largefile support, as long as the
filesystem
using the library is _also_ compiled without largefile.  Is
that the
case?

Miklos

------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )