From: Armin B. <arm...@de...> - 2006-02-27 22:07:08
|
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 |