Hi all, I wanted to compile synce from source, because I have windows mobile 5 (yeuch... but that's another story...)
I decided to join up with the SynCE-WindowsMobile5 mailing list (wanting not to bother gentoo-users with such a specific query :) but they haven't replied yet :( So, please help if you can. If you can't, then sorry for the kind-of OT! Essentially, I'm following http://www.synce.org/index.php/Building_SynCE_with_Windows_Mobile_2005_support_from_Subversion#librapi2 libsynce compiles and installes fine. However, when I get to librapi2, I get some undefined messages. Also, the howto says I need: libtool (got it) libslang-dev (emerged sys-libs/slang-1.4.9-r2 ??) libdbus-dev (??) do I have the right libraries? So, here's the error from compiling librapi2. any help would be appreciated! make[3]: Entering directory `/usr/src/wm5/librapi2/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support -I/usr/local/include -Wall -Wsign-compare -Wno-long-long -MT pcommon.o -MD -MP -MF .deps/pcommon.Tpo -c -o pcommon.o pcommon.c mv -f .deps/pcommon.Tpo .deps/pcommon.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support -I/usr/local/include -Wall -Wsign-compare -Wno-long-long -MT pcp.o -MD -MP -MF .deps/pcp.Tpo -c -o pcp.o pcp.c mv -f .deps/pcp.Tpo .deps/pcp.Po /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/include -Wall -Wsign-compare -Wno-long-long -o pcp pcommon.o pcp.o ../src/librapi.la mkdir .libs gcc -I/usr/local/include -Wall -Wsign-compare -Wno-long-long -o .libs/pcp pcommon.o pcp.o ../src/.libs/librapi.so pcommon.o: In function `adjust_remote_path': pcommon.c:(.text+0xd3): undefined reference to `wstr_append' pcommon.c:(.text+0xf0): undefined reference to `wstr_append' pcommon.c:(.text+0x101): undefined reference to `wstr_free_string' pcommon.c:(.text+0x12f): undefined reference to `_synce_log_wstr' pcommon.c:(.text+0x13d): undefined reference to `wstrdup' pcommon.o: In function `anyfile_remote_open': pcommon.c:(.text+0x2bd): undefined reference to `wstr_from_current' pcommon.c:(.text+0x385): undefined reference to `synce_strerror' pcommon.c:(.text+0x3b4): undefined reference to `_synce_log' pcommon.c:(.text+0x3f1): undefined reference to `wstr_free_string' pcp.o: In function `handle_parameters': pcp.c:(.text+0xa6): undefined reference to `synce_log_set_level' pcp.o: In function `main': pcp.c:(.text+0x4a3): undefined reference to `synce_strerror' pcp.c:(.text+0x61a): undefined reference to `wstrlen' pcp.c:(.text+0x64e): undefined reference to `wstr_to_current' pcp.c:(.text+0x6af): undefined reference to `wstr_free_string' ../src/.libs/librapi.so: undefined reference to `synce_socket_close' ../src/.libs/librapi.so: undefined reference to `synce_password_send' ../src/.libs/librapi.so: undefined reference to `synce_socket_free' ../src/.libs/librapi.so: undefined reference to `synce_info_new' ../src/.libs/librapi.so: undefined reference to `synce_socket_get_descriptor' ../src/.libs/librapi.so: undefined reference to `synce_socket_write' ../src/.libs/librapi.so: undefined reference to `synce_socket_connect_proxy' ../src/.libs/librapi.so: undefined reference to `synce_password_recv_reply' ../src/.libs/librapi.so: undefined reference to `synce_socket_connect' ../src/.libs/librapi.so: undefined reference to `synce_info_destroy' ../src/.libs/librapi.so: undefined reference to `synce_socket_read' ../src/.libs/librapi.so: undefined reference to `filetime_from_unix_time' ../src/.libs/librapi.so: undefined reference to `synce_socket_new' ../src/.libs/librapi.so: undefined reference to `synce_socket_wait' collect2: ld returned 1 exit status make[3]: *** [pcp] Error 1 make[3]: Leaving directory `/usr/src/wm5/librapi2/tools' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/wm5/librapi2/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/wm5/librapi2' make: *** [all] Error 2 thanks, -- Iain Buchanan <iaindb at netspace dot net dot au> Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge. -- Erwin Knoll -- gentoo-user@gentoo.org mailing list