Hi!
I just started to use barry and there seems to be quite a few errors when 
compiling the opensync plugin (everything else compiles and seems to work 
just fine).

The listing below shows where a compilation stopped and it seems to be that 
there are a lot of declarations that are missing. However, all the header 
files for opensync seem to be where they should. I am trying to compile 
against opensync 0.36.

Thanks a lot in advance,

make[2]: Entering directory 
`/data/Softstore/Blackberry/barry-0.12/opensync-plugin/src'
if /bin/sh ../libtool --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/data/Softstore/Blackberry/barry-0.12 
-I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
  -I/usr/local/include     -Wall -Werror -g -O2 -MT 
barry_sync.lo -MD -MP -MF ".deps/barry_sync.Tpo" -c -o barry_sync.lo 
barry_sync.cc; \
        then mv -f ".deps/barry_sync.Tpo" ".deps/barry_sync.Plo"; else 
rm -f ".deps/barry_sync.Tpo"; exit 1; fi
 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/data/Softstore/Blackberry/barry-0.12 
-I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/local/include -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:44: error: variable or field `get_info' declared void
barry_sync.cc:44: error: `OSyncEnv' was not declared in this scope
barry_sync.cc:44: error: `env' was not declared in this scope
barry_sync.cc: In function `void GetChanges(OSyncContext*, BarryEnvironment*, 
DatabaseSyncState*, const char*, const char*, const char*, char*(*)
(BarryEnvironment*, unsigned int, unsigned int))':
barry_sync.cc:73: error: `osync_member_get_slow_sync' was not declared in this 
scope
barry_sync.cc:73: warning: unused variable 'osync_member_get_slow_sync'
barry_sync.cc:102: error: `osync_change_new' was not declared in this scope
barry_sync.cc:103: error: `CHANGE_ADDED' was not declared in this scope
barry_sync.cc:103: error: `osync_change_set_changetype' was not declared in 
this scope
barry_sync.cc:102: warning: unused variable 'osync_change_new'
barry_sync.cc:103: warning: unused variable 'CHANGE_ADDED'
barry_sync.cc:103: warning: unused variable 'osync_change_set_changetype'
barry_sync.cc:110: error: `osync_change_new' was not declared in this scope
barry_sync.cc:111: error: `CHANGE_MODIFIED' was not declared in this scope
barry_sync.cc:111: error: `osync_change_set_changetype' was not declared in 
this scope
barry_sync.cc:110: warning: unused variable 'osync_change_new'
barry_sync.cc:111: warning: unused variable 'CHANGE_MODIFIED'
barry_sync.cc:111: warning: unused variable 'osync_change_set_changetype'
barry_sync.cc:120: error: `osync_change_set_member' was not declared in this 
scope
barry_sync.cc:121: error: `osync_change_set_objformat_string' was not declared 
in this scope
barry_sync.cc:123: error: `osync_change_set_uid' was not declared in this 
scope
barry_sync.cc:130: error: `osync_change_set_data' was not declared in this 
scope
barry_sync.cc:133: error: `osync_context_report_change' was not declared in 
this scope
barry_sync.cc:120: warning: unused variable 'osync_change_set_member'
barry_sync.cc:121: warning: unused 
variable 'osync_change_set_objformat_string'
barry_sync.cc:123: warning: unused variable 'osync_change_set_uid'
barry_sync.cc:130: warning: unused variable 'osync_change_set_data'
barry_sync.cc:133: warning: unused variable 'osync_context_report_change'
barry_sync.cc:163: error: `osync_change_new' was not declared in this scope
barry_sync.cc:164: error: `CHANGE_DELETED' was not declared in this scope
barry_sync.cc:164: error: `osync_change_set_changetype' was not declared in 
this scope
barry_sync.cc:165: error: `osync_change_set_member' was not declared in this 
scope
barry_sync.cc:166: error: `osync_change_set_objformat_string' was not declared 
in this scope
barry_sync.cc:168: error: `osync_change_set_uid' was not declared in this 
scope
barry_sync.cc:172: error: `osync_context_report_change' was not declared in 
this scope
barry_sync.cc:163: warning: unused variable 'osync_change_new'
barry_sync.cc:164: warning: unused variable 'CHANGE_DELETED'
barry_sync.cc:164: warning: unused variable 'osync_change_set_changetype'
barry_sync.cc:165: warning: unused variable 'osync_change_set_member'
barry_sync.cc:166: warning: unused 
variable 'osync_change_set_objformat_string'
barry_sync.cc:168: warning: unused variable 'osync_change_set_uid'
barry_sync.cc:172: warning: unused variable 'osync_context_report_change'
barry_sync.cc: In function `bool (* GetCommitFunction(OSyncChange*))
(BarryEnvironment*, unsigned int, unsigned int, uint32_t, const char*, bool, 
std::string&)':
barry_sync.cc:191: error: `OSyncObjType' was not declared in this scope
barry_sync.cc:191: error: `type' was not declared in this scope
barry_sync.cc:191: error: `osync_change_get_objtype' was not declared in this 
scope
barry_sync.cc:192: error: `osync_objtype_get_name' was not declared in this 
scope
barry_sync.cc:191: warning: unused variable 'OSyncObjType'
barry_sync.cc:191: warning: unused variable 'osync_change_get_objtype'
barry_sync.cc:192: warning: unused variable 'osync_objtype_get_name'
barry_sync.cc: In function `bool FinishSync(OSyncContext*, BarryEnvironment*, 
DatabaseSyncState*)':
barry_sync.cc:222: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:222: warning: unused variable 'osync_context_report_error'
barry_sync.cc:230: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:230: warning: unused variable 'osync_context_report_error'
barry_sync.cc: In function `void* initialize(OSyncMember*, OSyncError**)':
barry_sync.cc:259: error: `osync_member_get_config' was not declared in this 
scope
barry_sync.cc:261: error: `osync_error_update' was not declared in this scope
barry_sync.cc:261: warning: unused variable 'osync_error_update'
barry_sync.cc:259: warning: unused variable 'osync_member_get_config'
barry_sync.cc:291: error: `osync_error_update' was not declared in this scope
barry_sync.cc:291: warning: unused variable 'osync_error_update'
barry_sync.cc:296: error: `osync_error_update' was not declared in this scope
barry_sync.cc:296: warning: unused variable 'osync_error_update'
barry_sync.cc: In function `void connect(OSyncContext*)':
barry_sync.cc:311: error: `osync_context_get_plugin_data' was not declared in 
this scope
barry_sync.cc:317: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:317: warning: unused variable 'osync_context_report_error'
barry_sync.cc:325: error: `osync_context_report_success' was not declared in 
this scope
barry_sync.cc:311: warning: unused variable 'osync_context_get_plugin_data'
barry_sync.cc:325: warning: unused variable 'osync_context_report_success'
barry_sync.cc:331: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:331: warning: unused variable 'osync_context_report_error'
barry_sync.cc:335: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:335: warning: unused variable 'osync_context_report_error'
barry_sync.cc: In function `void get_changeinfo(OSyncContext*)':
barry_sync.cc:345: error: `osync_context_get_plugin_data' was not declared in 
this scope
barry_sync.cc:360: error: `osync_context_report_success' was not declared in 
this scope
barry_sync.cc:345: warning: unused variable 'osync_context_get_plugin_data'
barry_sync.cc:360: warning: unused variable 'osync_context_report_success'
barry_sync.cc:364: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:364: warning: unused variable 'osync_context_report_error'
barry_sync.cc: In function `osync_bool commit_change(OSyncContext*, 
OSyncChange*)':
barry_sync.cc:377: error: `osync_context_get_plugin_data' was not declared in 
this scope
barry_sync.cc:383: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:383: warning: unused variable 'osync_context_report_error'
barry_sync.cc:391: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:391: warning: unused variable 'osync_context_report_error'
barry_sync.cc:398: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:398: warning: unused variable 'osync_context_report_error'
barry_sync.cc:412: error: `osync_change_get_uid' was not declared in this 
scope
barry_sync.cc:416: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:416: warning: unused variable 'osync_context_report_error'
barry_sync.cc:424: error: `osync_change_get_changetype' was not declared in 
this scope
barry_sync.cc:424: error: `CHANGE_ADDED' was not declared in this scope
barry_sync.cc:428: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:428: warning: unused variable 'osync_context_report_error'
barry_sync.cc:424: warning: unused variable 'osync_change_get_changetype'
barry_sync.cc:424: warning: unused variable 'CHANGE_ADDED'
barry_sync.cc:436: error: `osync_change_get_changetype' was not declared in 
this scope
barry_sync.cc:438: error: `CHANGE_DELETED' was not declared in this scope
barry_sync.cc:444: error: `CHANGE_ADDED' was not declared in this scope
barry_sync.cc:446: error: `osync_change_get_data' was not declared in this 
scope
barry_sync.cc:449: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:449: warning: unused variable 'osync_context_report_error'
barry_sync.cc:456: error: `CHANGE_MODIFIED' was not declared in this scope
barry_sync.cc:461: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:461: warning: unused variable 'osync_context_report_error'
barry_sync.cc:469: error: `osync_debug' was not declared in this scope
barry_sync.cc:438: warning: unused variable 'CHANGE_DELETED'
barry_sync.cc:444: warning: unused variable 'CHANGE_ADDED'
barry_sync.cc:456: warning: unused variable 'CHANGE_MODIFIED'
barry_sync.cc:469: warning: unused variable 'osync_debug'
barry_sync.cc:436: warning: unused variable 'osync_change_get_changetype'
barry_sync.cc:474: error: `osync_context_report_success' was not declared in 
this scope
barry_sync.cc:377: warning: unused variable 'osync_context_get_plugin_data'
barry_sync.cc:412: warning: unused variable 'osync_change_get_uid'
barry_sync.cc:474: warning: unused variable 'osync_context_report_success'
barry_sync.cc:480: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:480: warning: unused variable 'osync_context_report_error'
barry_sync.cc: In function `void sync_done(OSyncContext*)':
barry_sync.cc:501: error: `osync_context_get_plugin_data' was not declared in 
this scope
barry_sync.cc:513: error: `osync_context_report_success' was not declared in 
this scope
barry_sync.cc:513: warning: unused variable 'osync_context_report_success'
barry_sync.cc:501: warning: unused variable 'osync_context_get_plugin_data'
barry_sync.cc:518: error: `osync_context_report_error' was not declared in 
this scope
barry_sync.cc:518: warning: unused variable 'osync_context_report_error'
barry_sync.cc: In function `void disconnect(OSyncContext*)':
barry_sync.cc:527: error: `osync_context_get_plugin_data' was not declared in 
this scope
barry_sync.cc:531: error: `osync_context_report_success' was not declared in 
this scope
barry_sync.cc:527: warning: unused variable 'osync_context_get_plugin_data'
barry_sync.cc:531: warning: unused variable 'osync_context_report_success'
barry_sync.cc: At global scope:
barry_sync.cc:542: error: variable or field `get_info' declared void
barry_sync.cc:542: error: redefinition of `int get_info'
barry_sync.cc:44: error: `int get_info' previously defined here
barry_sync.cc:542: error: `OSyncEnv' was not declared in this scope
barry_sync.cc:542: error: `env' was not declared in this scope


-- 
Sergei O. Naumov, PhD
Mobicom-Kavkaz, CJSC
136 Krasnoarmeiskaya st.
Rostov-on-Don
Russia, 344002
tel: +7(863)270-4295
fax: +7(863)270-4240


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to