[Owncloud] Can no longer build mirall 1.3 (non-master) branch

shadowq shadowq at gmail.com
Sat Aug 3 06:50:14 UTC 2013


I'm having trouble building the 1.3 branch of mirall. I don't want to build
the master (beta) version, so I checkout the 1.3 branch (git checkout 1.3)
and build that. It used to work, but when trying it now, I get the following
error:

/root/test/mirall/src/mirall/csyncthread.cpp: In member function 'void
Mirall::CSyncThread::startSync()':
/root/test/mirall/src/mirall/csyncthread.cpp:322:55: error: invalid
conversion from 'void (*)(const char*, csync_notify_type_e, long long int,
long long int, void*)' to 'csync_progress_callback {aka void
(*)(csync_progress_s*, void*)}' [-fpermissive]
     csync_set_progress_callback( _csync_ctx, progress );
                                                       ^
In file included from /root/test/mirall/src/mirall/csyncthread.h:26:0,
                 from /root/test/mirall/src/mirall/csyncthread.cpp:16:
/root/test/ocsync/src/csync.h:561:5: error:   initializing argument 2 of
'int csync_set_progress_callback(CSYNC*, csync_progress_callback)'
[-fpermissive]
 int csync_set_progress_callback( CSYNC *ctx, csync_progress_callback cb);
     ^
make[2]: *** [src/CMakeFiles/owncloudsync.dir/mirall/csyncthread.cpp.obj]
Error 1
make[1]: *** [src/CMakeFiles/owncloudsync.dir/all] Error 2
make: *** [all] Error 2

I've tried this on virtual machines, physical machines, fresh installs, etc.
All have the same error. I'd be happy to use 1.3.8 (master), but I'm getting
some funny-things happening (folders not being removed when permissions
change, etc). I tried to look through the git change history, but couldn't
see anything relevant. Any ideas would be muchly appreciated!

Thanks,
Jarrod.



--
View this message in context: http://owncloud.10557.n7.nabble.com/Can-no-longer-build-mirall-1-3-non-master-branch-tp10290.html
Sent from the ownCloud mailing list archive at Nabble.com.



More information about the Owncloud mailing list