From: <bu...@gm...> - 2006-02-27 18:28:49
Attachments:
error_libsycml
|
Hi all, I'd like to test libsyncml-threaded (syncml-obex) with my phone, but I have problems compiling it (error attached). Svn version 97. I have libsoup and libwbxml patched as for the trunk version of libsyncml (it compiled fine when I did some testing few weeks ago, my phone connected to prove it was syncml 1.1), I compiled openobex 1.1 to meet all the requirements. They are all in the same location. However, it seems that something is wrong or, more probably, I'm doing something wrong. (Libsoup seems not be found). So, can you give more detailed information on dependencies? Which libraries and with which patches? Cheers, Rafał Próchniak |
From: Armin B. <arm...@de...> - 2006-02-27 22:07:08
Attachments:
signature.asc
|
Rafa=C5=82 Pr=C3=B3chniak wrote: > Hi all, >=20 > I'd like to test libsyncml-threaded (syncml-obex) with my phone, but I > have problems compiling it (error attached). Svn version 97.=20 >=20 > I have libsoup and libwbxml patched as for the trunk version of > libsyncml (it compiled fine when I did some testing few weeks ago, my > phone connected to prove it was syncml 1.1), I compiled openobex 1.1 to= > meet all the requirements. They are all in the same location. >=20 > However, it seems that something is wrong or, more probably, I'm doing > something wrong. (Libsoup seems not be found). Did you use a non-standard prefix for your installation? lets say you have installed libsoup in /home/user/installdir. Then you would have to do "export PKG_CONFIG_PATH=3D/home/user/installdir/lib/pkgconfig" and the= run configure again. Hope that helps. Best Regards, Armin >=20 > So, can you give more detailed information on dependencies? Which > libraries and with which patches?=20 >=20 > Cheers, > Rafa=C5=82 Pr=C3=B3chniak >=20 >=20 > -----------------------------------------------------------------------= - >=20 > make all-recursive > make[1]: Wej=C4=B9=EF=BF=BDcie do katalogu `/home/burlap/efemerydy/sync= /libsyncml_obex/libsyncml' > Making all in libsyncml > make[2]: Wej=C4=B9=EF=BF=BDcie do katalogu `/home/burlap/efemerydy/sync= /libsyncml_obex/libsyncml/libsyncml' > Making all in parser > make[3]: Wej=C4=B9=EF=BF=BDcie do katalogu `/home/burlap/efemerydy/sync= /libsyncml_obex/libsyncml/libsyncml/parser' > make[3]: Nie ma nic do roboty w `all'. > make[3]: Opuszczenie katalogu `/home/burlap/efemerydy/sync/libsyncml_ob= ex/libsyncml/libsyncml/parser' > Making all in transports > make[3]: Wej=C4=B9=EF=BF=BDcie do katalogu `/home/burlap/efemerydy/sync= /libsyncml_obex/libsyncml/libsyncml/transports' > if /bin/sh ../../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -= I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I../.. -Wall -Werror -g -O2 -MT libhttp_client_la-http_client.lo -MD -MP= -MF ".deps/libhttp_client_la-http_client.Tpo" -c -o libhttp_client_la-ht= tp_client.lo `test -f 'http_client.c' || echo './'`http_client.c; \ > then mv -f ".deps/libhttp_client_la-http_client.Tpo" ".deps/libhttp_cli= ent_la-http_client.Plo"; else rm -f ".deps/libhttp_client_la-http_client.= Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/incl= ude/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -Wall -Werror -g -O2 -MT= libhttp_client_la-http_client.lo -MD -MP -MF .deps/libhttp_client_la-htt= p_client.Tpo -c http_client.c -fPIC -DPIC -o .libs/libhttp_client_la-htt= p_client.o > In file included from http_client.c:27: > http_client_internals.h:24:40: error: libsoup/soup-session-async.h: No = such file or directory > http_client_internals.h:25:30: error: libsoup/soup-uri.h: No such file = or directory > In file included from http_client.c:27: > http_client_internals.h:28: error: syntax error before 'SoupSession' > cc1: warnings being treated as errors > http_client_internals.h:28: warning: no semicolon at end of struct or u= nion > http_client_internals.h:33: error: syntax error before '}' token > http_client_internals.h:33: warning: type defaults to 'int' in declarat= ion of 'SmlTransportHttpClientEnv' > http_client_internals.h:33: warning: data definition has no type or sto= rage class > http_client.c:38: error: syntax error before '*' token > http_client.c: In function '_msgReceived': > http_client.c:40: error: 'msg' undeclared (first use in this function) > http_client.c:40: error: (Each undeclared identifier is reported only o= nce > http_client.c:40: error: for each function it appears in.) > http_client.c:40: error: 'userdata' undeclared (first use in this funct= ion) > http_client.c:41: error: 'env' undeclared (first use in this function) > http_client.c:47: warning: implicit declaration of function 'SOUP_STATU= S_IS_SUCCESSFUL' > http_client.c:53: warning: implicit declaration of function 'soup_messa= ge_get_header' > http_client.c:53: warning: initialization makes pointer from integer wi= thout a cast > http_client.c: In function 'smlTransportHttpClientInit': > http_client.c:110: warning: implicit declaration of function 'g_type_in= it' > http_client.c:112: error: 'env' undeclared (first use in this function)= > http_client.c:137: warning: implicit declaration of function 'soup_sess= ion_async_new_with_options' > http_client.c:137: error: 'SOUP_SESSION_ASYNC_CONTEXT' undeclared (firs= t use in this function) > http_client.c:137: error: 'SOUP_SESSION_PROXY_URI' undeclared (first us= e in this function) > http_client.c: In function 'smlTransportHttpClientFinalize': > http_client.c:156: error: 'env' undeclared (first use in this function)= > http_client.c: In function 'smlTransportHttpClientSend': > http_client.c:173: error: 'env' undeclared (first use in this function)= > http_client.c:181: error: 'SoupMessage' undeclared (first use in this f= unction) > http_client.c:181: error: 'msg' undeclared (first use in this function)= > http_client.c:181: warning: implicit declaration of function 'soup_mess= age_new' > http_client.c:181: error: 'SOUP_METHOD_POST' undeclared (first use in t= his function) > http_client.c:189: warning: implicit declaration of function 'soup_mess= age_add_header' > http_client.c:203: error: 'SOUP_BUFFER_USER_OWNED' undeclared (first us= e in this function) > http_client.c:204: warning: implicit declaration of function 'soup_sess= ion_queue_message' > http_client.c:210: warning: implicit declaration of function 'g_object_= unref' > make[3]: *** [libhttp_client_la-http_client.lo] B=C4=B9=EF=BF=BD=C3=84=EF= =BF=BDd 1 > make[3]: Opuszczenie katalogu `/home/burlap/efemerydy/sync/libsyncml_ob= ex/libsyncml/libsyncml/transports' > make[2]: *** [all-recursive] B=C4=B9=EF=BF=BD=C3=84=EF=BF=BDd 1 > make[2]: Opuszczenie katalogu `/home/burlap/efemerydy/sync/libsyncml_ob= ex/libsyncml/libsyncml' > make[1]: *** [all-recursive] B=C4=B9=EF=BF=BD=C3=84=EF=BF=BDd 1 > make[1]: Opuszczenie katalogu `/home/burlap/efemerydy/sync/libsyncml_ob= ex/libsyncml' > make: *** [all] B=C4=B9=EF=BF=BD=C3=84=EF=BF=BDd 2 |
From: <bu...@gm...> - 2006-02-27 23:20:49
|
Dnia 27-02-2006, pon o godzinie 23:07 +0100, Armin Bauer napisał(a): > > Did you use a non-standard prefix for your installation? lets say you > have installed libsoup in /home/user/installdir. Then you would have to > do "export PKG_CONFIG_PATH=/home/user/installdir/lib/pkgconfig" and the > run configure again. Hope that helps. I did. But looking for problems one more time, I noticed that libsoup cvs was now required while patched 2.2.7 was not enough. And this is the information that was missing. With cvs libsoup it compiled ok. Maybe this information should be more apparent on opensync site (also in obex guide) or at least visible in configure output? BTW: I have USB-serial cable and "syncml-obex-client -u" finds no devices... Cheers, Rafał |
From: Manuel B. <ma...@ma...> - 2006-02-27 23:35:51
|
Hi, Am Dienstag, den 28.02.2006, 00:20 +0100 schrieb Rafa=C5=82 Pr=C3=B3chniak: > BTW: I have USB-serial cable and "syncml-obex-client -u" finds no > devices...=20 I'm in the same situation with my P800. We (Armin and I) did a bit of testing and research. First we played with AT commands to the phone, to see if there is a possibility to turn over the "modem-channel" to an obex-session, which is not supported by my phone. The way to go here is to establish a ppp-link between phone and pc and over that connection use the syncml-http-server and fire up the sync-application on the phone (it is a symbian-os based phone). But, could be a lot different with your phone... Cheers, Manuel --=20 ma...@ma... http://www.malteser-berlin.de http://www.matronix.de - http://www.elektronik-kompendium.de/public/borcher= s |
From: Armin B. <arm...@de...> - 2006-02-27 23:47:33
Attachments:
signature.asc
|
Rafa=B3 Pr=F3chniak wrote: > Dnia 27-02-2006, pon o godzinie 23:07 +0100, Armin Bauer napisa=B3(a): >=20 >=20 >>Did you use a non-standard prefix for your installation? lets say you >>have installed libsoup in /home/user/installdir. Then you would have to= >>do "export PKG_CONFIG_PATH=3D/home/user/installdir/lib/pkgconfig" and t= he >>run configure again. Hope that helps. >=20 >=20 > I did.=20 >=20 > But looking for problems one more time, I noticed that libsoup cvs was > now required while patched 2.2.7 was not enough.=20 >=20 > And this is the information that was missing.=20 >=20 > With cvs libsoup it compiled ok. Maybe this information should be more > apparent on opensync site (also in obex guide) or at least visible in > configure output? ok. i will add this info to the obex guide as well >=20 > BTW: I have USB-serial cable and "syncml-obex-client -u" finds no > devices...=20 >=20 does lsusb show the device correctly? are you running this command as root? do you maybe use a device that uses a serial to usb converter as a driver= ? Armin > Cheers, > Rafa=B3 >=20 |
From: <bu...@gm...> - 2006-02-28 00:09:20
|
Dnia 28-02-2006, wto o godzinie 00:47 +0100, Armin Bauer napisał(a): > ok. i will add this info to the obex guide as well Great, thanks. > > does lsusb show the device correctly? Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port > do you maybe use a device that uses a serial to usb converter as a driver? As above, meaning yes, I suppose. I could try with non-serial USB cable (they are available for Siemens phones), but I don't have one (yet?)... Maybe other list users? Cheers, Rafał |