On Sunday 27 May 2007, Chris Frey wrote: > On Sun, May 27, 2007 at 07:43:34PM +0100, Jacek Nykis wrote: > > barry_sync.cc:28:39: error: opensync/opensync-context.h: No such file or > > directory > > It appears you're compiling the CVS tree. If so, you need to use > the latest SVN sources from the OpenSync project. > > Also, the CVS tree is in the middle of being ported to the latest > OpenSync SVN, which will become 0.30. This port is not yet complete. > > If you are experimenting with the latest Barry tarball release, you > need OpenSync 0.2x, which you can also download in tarball form > from their website. > > - Chris
Hi! Thanks for answer. I have just tried with SVN version of opensync and I get: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/opensync-1.0 -Wall -Werror -g -O2 -MT barry_sync.lo -MD -MP -MF .deps/barry_sync.Tpo -c barry_sync.cc -fPIC -DPIC -o .libs/barry_sync.o barry_sync.cc: In function 'void GetChanges(OSyncContext*, BarryEnvironment*, std::map<unsigned int, bool, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, bool> > >&, const char*, const char*, char* (*)(BarryEnvironment*, unsigned int, unsigned int))': barry_sync.cc:132: error: cannot convert 'char*' to 'OSyncData*' for argument '2' to 'void osync_change_set_data(OSyncChange*, OSyncData*)' barry_sync.cc:134: error: 'struct BarryEnvironment' has no member named 'objformat' barry_sync.cc:134: error: 'osync_data_new' was not declared in this scope barry_sync.cc:142: error: 'sink' was not declared in this scope barry_sync.cc:142: error: 'osync_data_set_objtype' was not declared in this scope barry_sync.cc:169: error: 'FIXME' was not declared in this scope barry_sync.cc:169: error: invalid use of 'this' in non-member function barry_sync.cc:169: error: expected `;' before 'needs' barry_sync.cc:171: error: 'change' was not declared in this scope barry_sync.cc:172: error: 'struct BarryEnvironment' has no member named 'member' barry_sync.cc:172: error: 'osync_change_set_member' was not declared in this scope barry_sync.cc:173: error: 'osync_change_set_objformat_string' was not declared in this scope barry_sync.cc: In function 'void* initialize(OSyncPlugin*, OSyncPluginInfo*, OSyncError**)': barry_sync.cc:591: error: 'struct BarryEnvironment' has no member named 'objformat' barry_sync.cc:591: error: 'osync_format_env_find_objformat' was not declared in this scope make[2]: *** [barry_sync.lo] Error 1 Any ideas? I also tried to compile opensync-plugin from tarball with success. Unfortunately only CVS version of btool works on my system, so I had to use cvs btool and tarball plugin. I configured msynctool and I get: Member 2 of type kdepim-sync just connected Member 1 of type barry-sync just connected All clients connected or error Member 1 of type barry-sync just sent all changes Received an entry 0mtl5cJfj9 with data of size 4 from member 2. Changetype ADDED Received an entry 17WlyngmP8 with data of size 4 from member 2. Changetype ADDED ....... Received an entry y1nLRG5yve with data of size 4 from member 2. Changetype ADDED Member 2 of type kdepim-sync just sent all changes All clients sent changes or error All conflicts have been reported Pipe closed! Exiting. Pipe closed! Exiting. Which looks fine, but nothing is stored on my blackberry. It can by connected with another problem. After I try multisync synchronization I cannot list blackberry databases: [EMAIL PROTECTED]:/home/jack# btool -t Blackberry devices found: Device ID: 0xxxxxxxx. PIN: xxxxxxxx Bad packet size. Packet: 26. DataSize(): 26. Required size: 44 00000000: 00 00 1a 00 09 ff 00 06 52 49 4d 20 44 65 73 6b ........RIM Desk 00000010: 74 6f 70 00 00 00 00 00 02 00 top....... Barry::Error caught: Bad packet size. Packet: 26. DataSize(): 26. Required size: 44 Any ideas? -- Regards Jacek Nykis ------------------------------------------------------------------------- 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/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel