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 |