Compilation error in plugins/syncml

View: New views
3 Messages — Rating Filter:   Alert me  

Compilation error in plugins/syncml

by Jason Grant-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I get the compilation error shown below when building the syncml plugin
off head (against the libsyncml off head).

I cannot see the definition of SmlBool or SmlError in any of the checked
out source - hence the error.

Thanks for any tips,

J.


-- The C compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- checking for one of the modules 'libopensync;>=0.37'
--   found libopensync, version 0.39-snapshot
-- checking for one of the modules 'glib-2.0'
--   found glib-2.0, version 2.20.1
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/glib-2.0/include
-- Looking for include files HAVE_GLIB_GREGEX_H
-- Looking for include files HAVE_GLIB_GREGEX_H - found
-- checking for one of the modules 'libxml-2.0'
--   found libxml-2.0, version 2.7.3
-- checking for one of the modules 'libsyncml-1.0>=0.5.0'
--   found libsyncml-1.0, version 0.5.4
-- Configuring done
-- Generating done
-- Build files have been written
to: /home/jas/opensync-head/build/syncml
Scanning dependencies of target syncml-plugin
[ 10%] Building C object
src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o
In file included
from /home/jas/opensync-head/src/syncml/src/syncml_plugin.c:24:
/home/jas/opensync-head/src/syncml/src/syncml_common.h:87: error:
expected specifier-qualifier-list before ‘SmlBool’
/home/jas/opensync-head/src/syncml/src/syncml_common.h:186: error:
expected declaration specifiers or ‘...’ before ‘SmlError’
make[2]: *** [src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o] Error 1
make[1]: *** [src/CMakeFiles/syncml-plugin.dir/all] Error 2
make: *** [all] Error 2
[ 10%] Building C object
src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o
In file included
from /home/jas/opensync-head/src/syncml/src/syncml_plugin.c:24:
/home/jas/opensync-head/src/syncml/src/syncml_common.h:87: error:
expected specifier-qualifier-list before ‘SmlBool’
/home/jas/opensync-head/src/syncml/src/syncml_common.h:186: error:
expected declaration specifiers or ‘...’ before ‘SmlError’
make[2]: *** [src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o] Error 1
make[1]: *** [src/CMakeFiles/syncml-plugin.dir/all] Error 2
make: *** [all] Error 2



------------------------------------------------------------------------------
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: Compilation error in plugins/syncml

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason Grant wrote:
>
> I get the compilation error shown below when building the syncml plugin
> off head (against the libsyncml off head).
>
> I cannot see the definition of SmlBool or SmlError in any of the checked
> out source - hence the error.

You have to checkout branches/libsyncml-0.5.x and not trunk.

Best regards

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkptyPkACgkQ2L0ZGCAwWqse6ACgqCHMJ+BjsXXQVUIUe0XTuhDc
luYAoKT2bJAMGoYk+4y+R+JiaGkpP0Or
=5jNJ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: Compilation error in plugins/syncml

by Jason Grant-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Michael,

I now get a clean build.

J.

On Mon, 2009-07-27 at 17:34 +0200, Michael Bell wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jason Grant wrote:
> >
> > I get the compilation error shown below when building the syncml plugin
> > off head (against the libsyncml off head).
> >
> > I cannot see the definition of SmlBool or SmlError in any of the checked
> > out source - hence the error.
>
> You have to checkout branches/libsyncml-0.5.x and not trunk.
>
> Best regards
>
> Michael
> - --
> ___________________________________________________________________
>
> Michael Bell                        Humboldt-Universitaet zu Berlin
>
> Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
> Fax:  +49 (0)30-2093 2704           Unter den Linden 6
> michael.bell@...       D-10099 Berlin
> ___________________________________________________________________
>
> PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkptyPkACgkQ2L0ZGCAwWqse6ACgqCHMJ+BjsXXQVUIUe0XTuhDc
> luYAoKT2bJAMGoYk+4y+R+JiaGkpP0Or
> =5jNJ
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users