Re: compiling iphonedisk source code

6 views
Skip to first unread message

Allen Porter

unread,
Jun 22, 2011, 11:31:02 AM6/22/11
to iphon...@googlegroups.com
Can you provide more detail?

When I build I get this:
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o proto/fs.pb.o -c -Werror -Wall -I. proto/fs.pb.cc
g++ -o proto/fs_service.pb.o -c -Werror -Wall -I. proto/fs_service.pb.cc
g++ -o proto/mount_service.pb.o -c -Werror -Wall -I. proto/mount_service.pb.cc
ar rc proto/libfs_proto.a proto/fs.pb.o proto/fs.pb.h
proto/fs_service.pb.o proto/fs_service.pb.h proto/mount_service.pb.o
proto/mount_service.pb.h
ranlib proto/libfs_proto.a
g++ -o fs/fs.o -c -Werror -Wall -I. -D_FILE_OFFSET_BITS=64
-D__FreeBSD__=10 -DFUSE_USE_VERSION=26 fs/fs.cc
g++ -o fs/fs_fuse.o -c -Werror -Wall -I. -D_FILE_OFFSET_BITS=64
-D__FreeBSD__=10 -DFUSE_USE_VERSION=26 fs/fs_fuse.cc
g++ -o fs/fs_proxy.o -c -Werror -Wall -I. -D_FILE_OFFSET_BITS=64
-D__FreeBSD__=10 -DFUSE_USE_VERSION=26 fs/fs_proxy.cc
ar rc fs/libfs.a fs/fs.o fs/fs_fuse.o fs/fs_proxy.o
ranlib fs/libfs.a
g++ -o mobilefs/afc_listener.o -c -Werror -Wall -I.
-F/System/Library/PrivateFrameworks mobilefs/afc_listener.cc
ar rc mobilefs/libafc.a mobilefs/afc_listener.o
ranlib mobilefs/libafc.a
g++ -o mobilefs/mobile_fs_service.o -c -Werror -Wall -I.
-F/System/Library/PrivateFrameworks mobilefs/mobile_fs_service.cc
ar rc mobilefs/libmobile_fs_service.a mobilefs/mobile_fs_service.o
ranlib mobilefs/libmobile_fs_service.a
g++ -o mobilefs/mobile_fs_util.o -c -Werror -Wall -I.
-F/System/Library/PrivateFrameworks mobilefs/mobile_fs_util.cc
g++ -o rpc/rpc.o -c -Werror -Wall -I. rpc/rpc.cc
ar rc rpc/librpc.a rpc/rpc.o
ranlib rpc/librpc.a
g++ -o mount/mount_service.o -c -Werror -Wall -I. mount/mount_service.cc
ar rc mount/libmount.a mount/mount_service.o
ranlib mount/libmount.a
g++ -o mobilefs/mobile_fs_util mobilefs/mobile_fs_util.o
proto/libfs_proto.a fs/libfs.a mobilefs/libmobile_fs_service.a
-lfuse_ino64 rpc/librpc.a -lprotobuf mobilefs/libafc.a
mount/libmount.a -F/System/Library/PrivateFrameworks -framework Carbon
-framework MobileDevice
g++ -o test/loopback_fs_service.o -c -Werror -Wall -I.
-D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26
test/loopback_fs_service.cc
ar rc test/libloopback_fs_service.a test/loopback_fs_service.o
ranlib test/libloopback_fs_service.a
g++ -o test/loopback_fs_util.o -c -Werror -Wall -I.
-D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26
test/loopback_fs_util.cc
g++ -o test/loopback_fs_util test/loopback_fs_util.o fs/libfs.a
rpc/librpc.a test/libloopback_fs_service.a proto/libfs_proto.a
-lprotobuf -lfuse_ino64
scons: done building targets.
$

On Fri, Jun 17, 2011 at 5:22 AM, RAHUL <vikas...@gmail.com> wrote:
> thanks allen for replying early,
>     i went through the BUILDING file and i did all the installation
> and build the iphonedisk-
> read-only project with scons, but it gives following error. Please can
> you suggest me on it.
>
> ./fs/fs_fuse.h:14: error: forward declaration of 'struct
> proto::FsService'
> fs/fs_fuse.cc: In function 'int fs::fs_truncate(const char*, off_t)':
> fs/fs_fuse.cc:252: error: invalid use of undefined type 'struct
> proto::FsService
>
> thanks,
> Rahul
>
> On Jun 15, 9:25 pm, Allen Porter <al...@thebends.org> wrote:
>> On Mon, Jun 13, 2011 at 11:12 PM, RAHUL <vikasit2...@gmail.com> wrote:
>> > hello everyone,
>> >                       Please can anyone suggest me how i can get the
>> > lattest source code of it and how i compile it on my mac machine
>> > becase i'm new to mac and too open source also .currently i got from
>> > svn checkouthttp://iphonedisk.googlecode.com/svn/trunk/iphonedisk-
>> > read-only. it's looks bit confusing.
>>
>> Hi Rahul,
>> Have a look at the BUILDING file to get started.
>>
>> --
>> -allen

--
-allen

Reply all
Reply to author
Forward
0 new messages