From: Armin B. <arm...@de...> - 2006-05-24 15:54:53
Attachments:
signature.asc
|
Hi everyone, I just merged the dev branches of libsyncml into the trunk. I now need your feedback about the current trunk version of libsyncml/the syncml plugin to fix any remaining bugs and prepare a new release. So, if you want to help, check out the code from the libsyncml trunk and the syncml plugin and test it. Some of the changes: - allowLateStatus and noPendingReplies options have been removed. they are now always enabled (should work for all phones) - support for devices which dont support NumberOfChanges or large object handling (like the 6230s) - support for requesting and reading the devinf - support for arbitrary mimetypes the syncml-* tools also have a new option: --dumpinfo which can be used to request the device information and display infos about the connected device. the command line for using a nokia 6680 now looks like this (notice the mimetypes. and see the --help output for details): =2E/syncml-obex-client -u 0 --identifier "PC Suite" --wbxml --recvLimit 10000 --maxObjSize 734000 --sync "text/x-vcard" Contacts --add "text/x-vcard" vcard.vcf in the syncml plugin config itself, nothing has changed. Best Regards, Armin Bauer |
From: Stefan W. <wo...@fs...> - 2006-05-24 17:54:31
|
Hi, compilation of the syncml-plugin fails: =20 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/opensync-1.0 -I/usr/include= /glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I/usr/i= nclude/libxml2 -Wall -Werror -I/usr/include/opensync-1.0 -I/usr/include/gli= b-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I/usr/inclu= de/libxml2 -g -O2 -MT=20 syncml_plugin.lo -MD -MP -MF .deps/syncml_plugin.Tpo -c=20 syncml_plugin.c -fPIC -DPIC -o .libs/syncml_plugin.o syncml_plugin.c:38: error: syntax error before "_format_to_contenttype" syncml_plugin.c:39: warning: return type defaults to `int' syncml_plugin.c: In function `_format_to_contenttype': syncml_plugin.c:41: error: `SML_CONTENT_TYPE_VCARD' undeclared (first use i= n=20 this function) syncml_plugin.c:41: error: (Each undeclared identifier is reported only once syncml_plugin.c:41: error: for each function it appears in.) syncml_plugin.c:44: error: `SML_CONTENT_TYPE_VCAL' undeclared (first use in= =20 this function) (Just the first error....) Any Ideas? =2D-=20 Stefan Wolf <wo...@fs...> |
From: Armin B. <arm...@de...> - 2006-05-24 20:37:42
Attachments:
signature.asc
|
Stefan Wolf wrote: > Hi, >=20 > compilation of the syncml-plugin fails: > =20 > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/opensync-1.0 -I/usr/inc= lude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I= /usr/include/libxml2 -Wall -Werror -I/usr/include/opensync-1.0 -I/usr/inc= lude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I= /usr/include/libxml2 -g -O2 -MT=20 > syncml_plugin.lo -MD -MP -MF .deps/syncml_plugin.Tpo -c=20 > syncml_plugin.c -fPIC -DPIC -o .libs/syncml_plugin.o > syncml_plugin.c:38: error: syntax error before "_format_to_contenttype"= > syncml_plugin.c:39: warning: return type defaults to `int' > syncml_plugin.c: In function `_format_to_contenttype': > syncml_plugin.c:41: error: `SML_CONTENT_TYPE_VCARD' undeclared (first u= se in=20 > this function) > syncml_plugin.c:41: error: (Each undeclared identifier is reported only= once > syncml_plugin.c:41: error: for each function it appears in.) > syncml_plugin.c:44: error: `SML_CONTENT_TYPE_VCAL' undeclared (first us= e in=20 > this function) > (Just the first error....) >=20 > Any Ideas? very strange. the merge didnt complete correctly. it missed some changes in the dev branch. i remerged the branches and now it compiles correctly (should have tested this before, sorry. but on the other hand, i never saw a broken merge before). Armin |
From: Stefan W. <wo...@fs...> - 2006-05-24 21:00:51
|
Hi again, Seems like you forgot to include the old bugfixes... I get again the following error: Synchronizing group "syncmlfile" Member 2 of type file-sync just connected I/O error : Attempt to load network entity=20 http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd Member 1 of type syncml-obex-client had an error while connecting: wrong=20 initial node: MaxObjSize Member 2 of type file-sync just disconnected All clients have disconnected The sync failed: Unable to connect one of the members Error synchronizing: Unable to connect one of the members Regards, =2D-=20 Stefan Wolf <wo...@fs...> |
From: Armin B. <arm...@de...> - 2006-05-24 22:13:44
Attachments:
signature.asc
|
Stefan Wolf wrote: > Hi again, >=20 > Seems like you forgot to include the old bugfixes... > I get again the following error: >=20 > Synchronizing group "syncmlfile" > Member 2 of type file-sync just connected > I/O error : Attempt to load network entity=20 > http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > Member 1 of type syncml-obex-client had an error while connecting: wron= g=20 > initial node: MaxObjSize > Member 2 of type file-sync just disconnected > All clients have disconnected > The sync failed: Unable to connect one of the members > Error synchronizing: Unable to connect one of the members >=20 > Regards, these changes were made to the trunk, i just merged another branch into the trunk, so the changes _should_ have been kept. anyways... i will redo these changes tomorrow. Armin |
From: Armin B. <arm...@de...> - 2006-05-25 12:30:17
Attachments:
signature.asc
|
Hi, i now uploaded the patch again. can you please see, if the trunk now works for you? Armin Stefan Wolf wrote: > Hi again, >=20 > Seems like you forgot to include the old bugfixes... > I get again the following error: >=20 > Synchronizing group "syncmlfile" > Member 2 of type file-sync just connected > I/O error : Attempt to load network entity=20 > http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > Member 1 of type syncml-obex-client had an error while connecting: wron= g=20 > initial node: MaxObjSize > Member 2 of type file-sync just disconnected > All clients have disconnected > The sync failed: Unable to connect one of the members > Error synchronizing: Unable to connect one of the members >=20 > Regards, |
From: Anders S. H. <an...@gi...> - 2006-05-25 13:08:47
|
Hi Armin, Sorry for my time away. I should now be able to help testing again. Armin Bauer wrote: > I just merged the dev branches of libsyncml into the trunk. I now need > your feedback about the current trunk version of libsyncml/the syncml > plugin to fix any remaining bugs and prepare a new release. > > So, if you want to help, check out the code from the libsyncml trunk and > the syncml plugin and test it. I did the following: $ svn co http://svn.opensync.org/libsyncml/trunk libsyncml-svn $ cd libsyncml-svn/ $ autoreconf -sfi $ ./configure --prefix=$HOME/synctest And then I tried to run make. But it failed with the following error. $ make make all-recursive make[1]: Entering directory `/home/anders/synctest/src/libsyncml-svn' Making all in libsyncml make[2]: Entering directory `/home/anders/synctest/src/libsyncml-svn/libsyncml' Making all in parser make[3]: Entering directory `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall -Werror -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" -c -o libsyncml_xml_la-sml_xml_parse.lo `test -f 'sml_xml_parse.c' || echo './'`sml_xml_parse.c; \ then mv -f ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" ".deps/libsyncml_xml_la-sml_xml_parse.Plo"; else rm -f ".deps/libsyncml_xml_la-sml_xml_parse.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall -Werror -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF .deps/libsyncml_xml_la-sml_xml_parse.Tpo -c sml_xml_parse.c -fPIC -DPIC -o .libs/libsyncml_xml_la-sml_xml_parse.o cc1: warnings being treated as errors sml_xml_parse.c: In function '_smlItemParse': sml_xml_parse.c:553: warning: pointer targets in passing argument 6 of '_smlCommandMetaParse' differ in signedness sml_xml_parse.c: In function '_smlCommandSyncParse': sml_xml_parse.c:986: warning: pointer targets in passing argument 6 of '_smlCommandMetaParse' differ in signedness sml_xml_parse.c:996: warning: pointer targets in passing argument 2 of '_smlXmlParserGetID' differ in signedness make[3]: *** [libsyncml_xml_la-sml_xml_parse.lo] Error 1 make[3]: Leaving directory `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/anders/synctest/src/libsyncml-svn/libsyncml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/anders/synctest/src/libsyncml-svn' make: *** [all] Error 2 Anders |
From: Anders S. H. <an...@gi...> - 2006-05-25 14:18:48
|
Anders Semb Hermansen wrote: > And then I tried to run make. But it failed with the following error. > $ make > make all-recursive > make[1]: Entering directory `/home/anders/synctest/src/libsyncml-svn' > Making all in libsyncml > make[2]: Entering directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml' > Making all in parser > make[3]: Entering directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' > if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I../.. -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall > -Werror -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF > ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" -c -o > libsyncml_xml_la-sml_xml_parse.lo `test -f 'sml_xml_parse.c' || echo > './'`sml_xml_parse.c; \ > then mv -f ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" > ".deps/libsyncml_xml_la-sml_xml_parse.Plo"; else rm -f > ".deps/libsyncml_xml_la-sml_xml_parse.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall -Werror > -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF > .deps/libsyncml_xml_la-sml_xml_parse.Tpo -c sml_xml_parse.c -fPIC -DPIC > -o .libs/libsyncml_xml_la-sml_xml_parse.o > cc1: warnings being treated as errors > sml_xml_parse.c: In function '_smlItemParse': > sml_xml_parse.c:553: warning: pointer targets in passing argument 6 of > '_smlCommandMetaParse' differ in signedness > sml_xml_parse.c: In function '_smlCommandSyncParse': > sml_xml_parse.c:986: warning: pointer targets in passing argument 6 of > '_smlCommandMetaParse' differ in signedness > sml_xml_parse.c:996: warning: pointer targets in passing argument 2 of > '_smlXmlParserGetID' differ in signedness > make[3]: *** [libsyncml_xml_la-sml_xml_parse.lo] Error 1 > make[3]: Leaving directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/anders/synctest/src/libsyncml-svn' > make: *** [all] Error 2 I removed the -Werror from the Makefile to make it compile with warnings. I then compiled the syncml-plugin. I then configured a group which consisted of a file-sync with config: <config><path>/home/anders/synctest/mobtest</path><recursive>FALSE</recursive></config> And a syncml-obex-client with config: <config><bluetooth_address></bluetooth_address><bluetooth_channel></bluetooth_channel><interface>0</interface><identifier>PC Suite</identifier><version>1</version><wbxml>1</wbxml><username></username><password></password><type>5</type><usestringtable>1</usestringtable><onlyreplace>0</onlyreplace><recvLimit>1000</recvLimit><maxObjSize>734000</maxObjSize><contact_db>Contacts</contact_db><calendar_db>Calendar</calendar_db><note_db>Notes</note_db></config> This worked, and my /home/anders/synctest/mobtest was filled with files which contained calendar items and contacts. Thanks for the good work! Anders |
From: Anders S. H. <an...@gi...> - 2006-05-25 14:24:56
|
Anders Semb Hermansen wrote: > I then configured a group which consisted of a file-sync with config: > <config><path>/home/anders/synctest/mobtest</path><recursive>FALSE</recursive></config> > > And a syncml-obex-client with config: > <config><bluetooth_address></bluetooth_address><bluetooth_channel></bluetooth_channel><interface>0</interface><identifier>PC > Suite</identifier><version>1</version><wbxml>1</wbxml><username></username><password></password><type>5</type><usestringtable>1</usestringtable><onlyreplace>0</onlyreplace><recvLimit>1000</recvLimit><maxObjSize>734000</maxObjSize><contact_db>Contacts</contact_db><calendar_db>Calendar</calendar_db><note_db>Notes</note_db></config> > > This worked, and my /home/anders/synctest/mobtest was filled with files > which contained calendar items and contacts. This is with my Nokia 6680. I also tried to use bluetooth with success. The config I used was: <config><bluetooth_address>00:12:62:A9:18:E0</bluetooth_address><bluetooth_channel>11</bluetooth_channel><interface>0</interface><identifier>PC Suite</identifier><version>1</version><wbxml>1</wbxml><username></username><password></password><type>2</type><usestringtable>1</usestringtable><onlyreplace>0</onlyreplace><recvLimit>1000</recvLimit><maxObjSize>734000</maxObjSize><contact_db>Contacts</contact_db><calendar_db>Calendar</calendar_db><note_db>Notes</note_db></config> Anders |
From: Armin B. <arm...@de...> - 2006-05-25 17:03:27
Attachments:
signature.asc
|
Thanks for the report. i uploaded a fix now to svn. Armin Anders Semb Hermansen wrote: > Anders Semb Hermansen wrote: >> And then I tried to run make. But it failed with the following error. >> $ make >> make all-recursive >> make[1]: Entering directory `/home/anders/synctest/src/libsyncml-svn' >> Making all in libsyncml >> make[2]: Entering directory >> `/home/anders/synctest/src/libsyncml-svn/libsyncml' >> Making all in parser >> make[3]: Entering directory >> `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' >> if /bin/sh ../../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG= _H -I. >> -I. -I../.. -pthread -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall >> -Werror -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF >> ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" -c -o >> libsyncml_xml_la-sml_xml_parse.lo `test -f 'sml_xml_parse.c' || echo >> './'`sml_xml_parse.c; \ >> then mv -f ".deps/libsyncml_xml_la-sml_xml_parse.Tpo" >> ".deps/libsyncml_xml_la-sml_xml_parse.Plo"; else rm -f >> ".deps/libsyncml_xml_la-sml_xml_parse.Tpo"; exit 1; fi >> mkdir .libs >> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall -Werr= or >> -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF >> .deps/libsyncml_xml_la-sml_xml_parse.Tpo -c sml_xml_parse.c -fPIC -DP= IC >> -o .libs/libsyncml_xml_la-sml_xml_parse.o >> cc1: warnings being treated as errors >> sml_xml_parse.c: In function '_smlItemParse': >> sml_xml_parse.c:553: warning: pointer targets in passing argument 6 of= >> '_smlCommandMetaParse' differ in signedness >> sml_xml_parse.c: In function '_smlCommandSyncParse': >> sml_xml_parse.c:986: warning: pointer targets in passing argument 6 of= >> '_smlCommandMetaParse' differ in signedness >> sml_xml_parse.c:996: warning: pointer targets in passing argument 2 of= >> '_smlXmlParserGetID' differ in signedness >> make[3]: *** [libsyncml_xml_la-sml_xml_parse.lo] Error 1 >> make[3]: Leaving directory >> `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/anders/synctest/src/libsyncml-svn/libsyncml' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/anders/synctest/src/libsyncml-svn' >> make: *** [all] Error 2 >=20 > I removed the -Werror from the Makefile to make it compile with > warnings. I then compiled the syncml-plugin. >=20 > I then configured a group which consisted of a file-sync with config: > <config><path>/home/anders/synctest/mobtest</path><recursive>FALSE</rec= ursive></config> >=20 > And a syncml-obex-client with config: > <config><bluetooth_address></bluetooth_address><bluetooth_channel></blu= etooth_channel><interface>0</interface><identifier>PC > Suite</identifier><version>1</version><wbxml>1</wbxml><username></usern= ame><password></password><type>5</type><usestringtable>1</usestringtable>= <onlyreplace>0</onlyreplace><recvLimit>1000</recvLimit><maxObjSize>734000= </maxObjSize><contact_db>Contacts</contact_db><calendar_db>Calendar</cale= ndar_db><note_db>Notes</note_db></config> >=20 > This worked, and my /home/anders/synctest/mobtest was filled with files= > which contained calendar items and contacts. >=20 > Thanks for the good work! >=20 >=20 > Anders >=20 |
From: Anders S. H. <an...@gi...> - 2006-05-26 07:21:16
|
Armin Bauer wrote: > Thanks for the report. i uploaded a fix now to svn. I tested with the new svn revision. It works as expected now. Anders |
From: Daniel G. <dg...@su...> - 2006-05-25 14:52:53
Attachments:
libsyncml-gcc-warnings.diff
|
On Thursday 25 May 2006 15:08, Anders Semb Hermansen wrote: > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../.. -Wall -Werror > -g -O2 -MT libsyncml_xml_la-sml_xml_parse.lo -MD -MP -MF > .deps/libsyncml_xml_la-sml_xml_parse.Tpo -c sml_xml_parse.c -fPIC -DPIC > -o .libs/libsyncml_xml_la-sml_xml_parse.o > cc1: warnings being treated as errors > sml_xml_parse.c: In function '_smlItemParse': > sml_xml_parse.c:553: warning: pointer targets in passing argument 6 of > '_smlCommandMetaParse' differ in signedness > sml_xml_parse.c: In function '_smlCommandSyncParse': > sml_xml_parse.c:986: warning: pointer targets in passing argument 6 of > '_smlCommandMetaParse' differ in signedness > sml_xml_parse.c:996: warning: pointer targets in passing argument 2 of > '_smlXmlParserGetID' differ in signedness > make[3]: *** [libsyncml_xml_la-sml_xml_parse.lo] Error 1 > make[3]: Leaving directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml/parser' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/anders/synctest/src/libsyncml-svn/libsyncml' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/anders/synctest/src/libsyncml-svn' > make: *** [all] Error 2 I wrote a patch (attachted) to fix the gcc warning. Armin, should i commit it? best regards, Daniel |