From: Armin B. <arm...@de...> - 2006-05-25 17:03:27
|
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 |