|
From: deloptes <del...@ya...> - 2011-02-01 22:19:02
|
Michael Bell wrote:
> On 01/31/11 15:31, Emanoil Kotsev wrote:
>> I hoped you'll see what the real error was. The problem is that some
>> things defined in the internals.h are not ported and thus definitions
>> can not be found. The wbxml.h location is not a big deal.This is
>> because of the reduction of the API. If you need assistance let me
>> know.
>
> Nice to know. I activated the new header locations again. This requires
> that libsyncml must have the new directory of the wbxml header files in
> its default search path.
>
> CFLAGS="-I/usr/local/include/libwbxml-1.0/wbxml" cmake .
> -B/tmp/build/libsyncml
>
> Best regards
>
> Michael
Thanks. I've just tried it and I could make following observation.
- After uninstall few symlinks are left over [1].
- The problem with the internals.h seem to be libsyncml poblem, as it
doesn't matter what I export or configure as CXX it did not find the
wbxml.h file, so I've placed wbxml/ infront of wbxml.h and the problem was
solved. Might be that I have mistyped something too - need to check twice.
- I'm still getting this unknown event 225 and before this some kind of
assertion error. after this only slow sync is possible. I guess libsyncml
should be debugged a bit, but this is to come. If you could spend some time
on it it would be great [2]. It seems that there is a duplicate of the code
(ds libsyncml in ../libsyncml/sml_command.c, where this piece is not
updated and does not understand 225 like the ds code). However this is the
best I can do for today.
- Calendar sync is failing at ds tool with "Not a node" error [2]
- this is not a syncml issue, but I would like to know why isn't it merging
the contacts as there is irrelevant difference?! What should be done to
make it work - it's very annoying. [3]
regards
-------------------- [1] ----------------------------
/usr/bin/cmake -P /opt/software/opensync/libwbxml/trunk/build/cmake_uninstall.cmake
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/AUTHORS"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/BUGS"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/ChangeLog"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/COPYING"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/GNU-LGPL"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/INSTALL"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/NEWS"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/README"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/References"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/THANKS"
-- Uninstalling "/opt/custom/opensync/share/doc/libwbxml/TODO"
-- Uninstalling "/opt/custom/opensync/lib/pkgconfig/libwbxml2.pc"
-- Uninstalling "/opt/custom/opensync/lib/libwbxml2.so.1.0.1"
-- Uninstalling "/opt/custom/opensync/lib/libwbxml2.so.1"
-- File "/opt/custom/opensync/lib/libwbxml2.so.1" does not exist.
-- Uninstalling "/opt/custom/opensync/lib/libwbxml2.so"
-- File "/opt/custom/opensync/lib/libwbxml2.so" does not exist.
-- Uninstalling "/opt/custom/opensync/include/wbxml.h"
-- Uninstalling "/opt/custom/opensync/include/wbxml_config.h"
-- Uninstalling "/opt/custom/opensync/include/wbxml_conv.h"
-- Uninstalling "/opt/custom/opensync/include/wbxml_defines.h"
-- Uninstalling "/opt/custom/opensync/include/wbxml_errors.h"
-- Uninstalling "/opt/custom/opensync/bin/wbxml2xml"
-- Uninstalling "/opt/custom/opensync/bin/xml2wbxml"
make[3]: Leaving directory `/opt/software_x64/opensync/libwbxml/trunk/build'
/usr/bin/cmake -E
cmake_progress_report /opt/software/opensync/libwbxml/trunk/build/CMakeFiles
Built target uninstall
make[2]: Leaving directory `/opt/software_x64/opensync/libwbxml/trunk/build'
/usr/bin/cmake -E
cmake_progress_start /opt/software/opensync/libwbxml/trunk/build/CMakeFiles
0
make[1]: Leaving directory `/opt/software_x64/opensync/libwbxml/trunk/build'
emanoil@maistor:/opt/software/opensync/libwbxml/trunk/build$
find /opt/custom/opensync
/opt/custom/opensync
/opt/custom/opensync/bin
/opt/custom/opensync/lib
/opt/custom/opensync/lib/libwbxml2.so
/opt/custom/opensync/lib/pkgconfig
/opt/custom/opensync/lib/libwbxml2.so.1
/opt/custom/opensync/include
/opt/custom/opensync/share
/opt/custom/opensync/share/doc
/opt/custom/opensync/share/doc/libwbxml
emanoil@maistor:/opt/software/opensync/libwbxml/trunk/build$
ls -al /opt/custom/opensync/lib/
общо 12
drwxr-xr-x 3 emanoil emanoil 4096 1 фев 19,26 .
drwxr-xr-x 6 emanoil emanoil 4096 30 яну 12,12 ..
lrwxrwxrwx 1 emanoil emanoil 14 30 яну 12,12 libwbxml2.so ->
libwbxml2.so.1
lrwxrwxrwx 1 emanoil emanoil 18 30 яну 12,12 libwbxml2.so.1 ->
libwbxml2.so.1.0.1
drwxr-xr-x 2 emanoil emanoil 4096 1 фев 19,26 pkgconfig
-------------------- [1] ----------------------------
-------------------- [2] ----------------------------
$ syncml-ds-tool -b XX:XX:XX:XX:XX:XX 7 --wbxml --identifier "PC
Suite" --version "1.2" --slow-sync text/x-vcalendar Calendar
** Message: Starting data sync ...
** Message: Remote device was successfully connected.
** Message: ERROR: The unknown alert code 225 was detected.
$ syncml-ds-tool -b XX:XX:XX:XX:XX:XX 7 --wbxml --identifier "PC
Suite" --version "1.2" --slow-sync text/x-vcalendar Calendar
** Message: Starting data sync ...
** Message: Remote device was successfully connected.
** Message: Calendar => SLOW SYNC.
** Message: All alerts of the remote device were received.
** Message: ERROR: No node at all
-------------------- [2] ----------------------------
-------------------- [3] ----------------------------
Conflict for Mapping 0x7fb92c17c360:
Entry 1:
Member: 2 (kdepim-sync)
UID: 117
<?xml version="1.0"?>
<contact>
<EMail>
<Content>xx...@xx...</Content>
</EMail>
<Name>
<LastName>Xxxxxxxxxx</LastName>
<FirstName>Xxxxxxx</FirstName>
<Additional></Additional>
<Prefix></Prefix>
<Suffix></Suffix>
</Name>
<Revision>
<Content>20110127T222003Z</Content>
</Revision>
<Telephone Location="Home">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
<Telephone Type="Cellular">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
<Telephone Type="Fax" Location="Work">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
</contact>
Entry 2:
Member: 1 (syncml-obex-client)
UID: 117
<?xml version="1.0"?>
<contact>
<EMail Type="Internet">
<Content>xx...@xx...</Content>
</EMail>
<Name>
<LastName>Xxxxxxxxxx</LastName>
<FirstName>Xxxxxxx</FirstName>
<Additional></Additional>
<Prefix></Prefix>
<Suffix></Suffix>
</Name>
<Revision>
<Content>20100723T191713Z</Content>
</Revision>
<Telephone Location="Home">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
<Telephone Type="Cellular">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
<Telephone Type="Fax" Location="Work">
<Content>00xxxxxxxxxxxx</Content>
</Telephone>
</contact>
-------------------- [3] ----------------------------
|