rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Compiling ArchFS demands -D_FILE_OFFSET_BITS=64


From: Gavin
Subject: Re: [rdiff-backup-users] Compiling ArchFS demands -D_FILE_OFFSET_BITS=64
Date: Wed, 17 Sep 2008 15:15:52 +1000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.14eol) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.13~pre080323b-0etch3)

Hi,

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

| Where should I put this flag?

There will be a line in the Makefile starting with CFLAGS, this is how the compiler command:

| gcc -DHAVE_CONFIG_H -I. -I..; -Wall -O3 -D_GNU_SOURCE -MT core.o -MD
| -MP -MF .deps/core.Tpo -c -o core.o core.c

is generated, -D passes a project wide #define.

Cheers
Gavin

SanskritFritz wrote:
Hi there. This is not exactly about rdiff-backup, but this tool is closely 
related to it: ArchFS (userspace filesystem based on rdiff-backup repository 
data). I try to compile this tool on KUbuntu 32 bit. Here is the detailed 
description, sadly I got no anwer there so far:

http://code.google.com/p/archfs/issues/detail?id=11

./configure

make

address@hidden:~/Programs/ArchFS/Stable$ make
make  all-recursive
make[1]: Entering directory `/home/frank/Programs/ArchFS/Stable'
Making all in layout
make[2]: Entering directory 
`/home/frank/Programs/ArchFS/Stable/layout'
gcc -DHAVE_CONFIG_H -I. -I..     -Wall -O3  -D_GNU_SOURCE 
-MT core.o -MD
-MP -MF .deps/core.Tpo -c -o core.o core.c
In file included from /usr/include/fuse/fuse.h:26,
                 from 
/usr/include/fuse.h:9,
                 from 
../headers.h:21,
                 from core.h:4,
                 from 
core.c:1:
/usr/include/fuse/fuse_common.h:32:2: error: #error Please add
-D_FILE_OFFSET_BITS=64 to your compile flags!
make[2]: *** [core.o] Error 1
make[2]: Leaving directory 
`/home/frank/Programs/ArchFS/Stable/layout'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frank/Programs/ArchFS/Stable'
make: *** [all] Error 2

Kubuntu Hardy 32bit, with dual core processor.

Where should I put this flag? What is the reason i cannot compile?

Any help will be appreciated! Thanks in advance.

+----------------------------------------------------------------------
|This was sent by address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------




_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki





reply via email to

[Prev in Thread] Current Thread [Next in Thread]