1 |
Hi all, |
2 |
|
3 |
I wanted to compile synce from source, because I have windows mobile 5 |
4 |
(yeuch... but that's another story...) |
5 |
|
6 |
I decided to join up with the SynCE-WindowsMobile5 mailing list (wanting |
7 |
not to bother gentoo-users with such a specific query :) but they |
8 |
haven't replied yet :( |
9 |
|
10 |
So, please help if you can. If you can't, then sorry for the kind-of OT! |
11 |
|
12 |
Essentially, I'm following |
13 |
http://www.synce.org/index.php/Building_SynCE_with_Windows_Mobile_2005_support_from_Subversion#librapi2 |
14 |
|
15 |
libsynce compiles and installes fine. However, when I get to librapi2, |
16 |
I get some undefined messages. |
17 |
|
18 |
Also, the howto says I need: |
19 |
libtool (got it) |
20 |
libslang-dev (emerged sys-libs/slang-1.4.9-r2 ??) |
21 |
libdbus-dev (??) |
22 |
|
23 |
do I have the right libraries? |
24 |
|
25 |
So, here's the error from compiling librapi2. any help would be |
26 |
appreciated! |
27 |
|
28 |
make[3]: Entering directory `/usr/src/wm5/librapi2/tools' |
29 |
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support |
30 |
-I/usr/local/include -Wall -Wsign-compare -Wno-long-long -MT |
31 |
pcommon.o -MD -MP -MF .deps/pcommon.Tpo -c -o pcommon.o pcommon.c |
32 |
mv -f .deps/pcommon.Tpo .deps/pcommon.Po |
33 |
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/support |
34 |
-I/usr/local/include -Wall -Wsign-compare -Wno-long-long -MT pcp.o |
35 |
-MD -MP -MF .deps/pcp.Tpo -c -o pcp.o pcp.c |
36 |
mv -f .deps/pcp.Tpo .deps/pcp.Po |
37 |
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/include |
38 |
-Wall -Wsign-compare -Wno-long-long -o pcp pcommon.o |
39 |
pcp.o ../src/librapi.la |
40 |
mkdir .libs |
41 |
gcc -I/usr/local/include -Wall -Wsign-compare -Wno-long-long |
42 |
-o .libs/pcp pcommon.o pcp.o ../src/.libs/librapi.so |
43 |
pcommon.o: In function `adjust_remote_path': |
44 |
pcommon.c:(.text+0xd3): undefined reference to `wstr_append' |
45 |
pcommon.c:(.text+0xf0): undefined reference to `wstr_append' |
46 |
pcommon.c:(.text+0x101): undefined reference to `wstr_free_string' |
47 |
pcommon.c:(.text+0x12f): undefined reference to `_synce_log_wstr' |
48 |
pcommon.c:(.text+0x13d): undefined reference to `wstrdup' |
49 |
pcommon.o: In function `anyfile_remote_open': |
50 |
pcommon.c:(.text+0x2bd): undefined reference to `wstr_from_current' |
51 |
pcommon.c:(.text+0x385): undefined reference to `synce_strerror' |
52 |
pcommon.c:(.text+0x3b4): undefined reference to `_synce_log' |
53 |
pcommon.c:(.text+0x3f1): undefined reference to `wstr_free_string' |
54 |
pcp.o: In function `handle_parameters': |
55 |
pcp.c:(.text+0xa6): undefined reference to `synce_log_set_level' |
56 |
pcp.o: In function `main': |
57 |
pcp.c:(.text+0x4a3): undefined reference to `synce_strerror' |
58 |
pcp.c:(.text+0x61a): undefined reference to `wstrlen' |
59 |
pcp.c:(.text+0x64e): undefined reference to `wstr_to_current' |
60 |
pcp.c:(.text+0x6af): undefined reference to `wstr_free_string' |
61 |
../src/.libs/librapi.so: undefined reference to `synce_socket_close' |
62 |
../src/.libs/librapi.so: undefined reference to `synce_password_send' |
63 |
../src/.libs/librapi.so: undefined reference to `synce_socket_free' |
64 |
../src/.libs/librapi.so: undefined reference to `synce_info_new' |
65 |
../src/.libs/librapi.so: undefined reference to |
66 |
`synce_socket_get_descriptor' |
67 |
../src/.libs/librapi.so: undefined reference to `synce_socket_write' |
68 |
../src/.libs/librapi.so: undefined reference to |
69 |
`synce_socket_connect_proxy' |
70 |
../src/.libs/librapi.so: undefined reference to |
71 |
`synce_password_recv_reply' |
72 |
../src/.libs/librapi.so: undefined reference to `synce_socket_connect' |
73 |
../src/.libs/librapi.so: undefined reference to `synce_info_destroy' |
74 |
../src/.libs/librapi.so: undefined reference to `synce_socket_read' |
75 |
../src/.libs/librapi.so: undefined reference to |
76 |
`filetime_from_unix_time' |
77 |
../src/.libs/librapi.so: undefined reference to `synce_socket_new' |
78 |
../src/.libs/librapi.so: undefined reference to `synce_socket_wait' |
79 |
collect2: ld returned 1 exit status |
80 |
make[3]: *** [pcp] Error 1 |
81 |
make[3]: Leaving directory `/usr/src/wm5/librapi2/tools' |
82 |
make[2]: *** [all-recursive] Error 1 |
83 |
make[2]: Leaving directory `/usr/src/wm5/librapi2/tools' |
84 |
make[1]: *** [all-recursive] Error 1 |
85 |
make[1]: Leaving directory `/usr/src/wm5/librapi2' |
86 |
make: *** [all] Error 2 |
87 |
|
88 |
thanks, |
89 |
-- |
90 |
Iain Buchanan <iaindb at netspace dot net dot au> |
91 |
|
92 |
Everything you read in newspapers is absolutely true, except for that |
93 |
rare story of which you happen to have first-hand knowledge. |
94 |
-- Erwin Knoll |
95 |
|
96 |
-- |
97 |
gentoo-user@g.o mailing list |