Hi all, I'm trying to figure out an error compiling librapi... I have the correct version of automake and autoconf, and I can run ./configure correctly. (libsynce also compiles and installs ok).
Any help would be greatly appreciated. This seems to compile fine for most people, but I've found one other user who has the same trouble. I'm following the wiki, and I checked out from svn version 2716. This is the output from `make` in librapi2: ... /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_socket_take_descriptor' ../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 Many thanks for any tips you can give me! -- Iain Buchanan <iaindb at netspace dot net dot au> [Sir Stafford Cripps] has all the virtues I dislike and none of the vices I admire. -- Winston Churchill ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Synce-devel mailing list Synce-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel