Ticket #634 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

syncml_plugin cannot does not compile on openSUSE anymore with current SVN.

Reported by: felixmoeller Owned by: prahal
Priority: normal Milestone:
Component: Plugin: syncml Version: 0.34
Severity: normal Keywords:
Cc: cstender

Description

@cstender cc:ing you so you do not waste time trying to package it.

I just tried to compile current syncml_plugin on openSUSE. But it failed with:

make
Scanning dependencies of target syncml-plugin
[ 20%] Building C object src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o
In file included from /home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.c:23:
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:44:30: error: libsyncml/syncml.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:46:35: error: libsyncml/obex_client.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:47:35: error: libsyncml/http_server.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:48:35: error: libsyncml/http_client.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:50:32: error: libsyncml/sml_auth.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:51:38: error: libsyncml/sml_devinf_obj.h: Datei oder Verzeichnis nicht gefunden
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:52:37: error: libsyncml/sml_ds_server.h: Datei oder Verzeichnis nicht gefunden
In file included from /home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.c:23:
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_recv_alert’
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:65: error: expected ‘)’ before ‘*’ token
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:96: error: expected ‘)’ before ‘*’ token
/home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.h:99: error: expected ‘)’ before ‘*’ token
In file included from /home/fm/svn/opensync-plugins/syncml/src/syncml_plugin.c:24:
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:68: error: expected specifier-qualifier-list before ‘SmlNotificationVersion’
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:120: error: expected specifier-qualifier-list before ‘SmlDsSession’
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_recv_alert’
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:145: error: expected ‘)’ before ‘*’ token
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:176: error: expected ‘)’ before ‘*’ token
/home/fm/svn/opensync-plugins/syncml/src/syncml_common.h:179: error: expected ‘)’ before ‘*’ token
make[2]: *** [src/CMakeFiles/syncml-plugin.dir/syncml_plugin.o] Fehler 1
make[1]: *** [src/CMakeFiles/syncml-plugin.dir/all] Fehler 2
make: *** [all] Fehler 2

Downgrading the cmake modules to r2740 solves the problem. r2864 and r2867 do not build and r2868 results in the above.

Change History

comment:1 Changed 4 years ago by felixmoeller

  • Status changed from new to closed
  • Resolution set to fixed

sorry this was fixed somehow. It is working now. Thanks prahal.

Note: See TracTickets for help on using tickets.