From: Stefan A. <st...@ar...> - 2006-02-27 16:40:04
|
Hi, i've just update the whole opensync stuff to the latest svn: module svn version libsyncml-threaded 97 syncml 824 opensync 824 After installing libsyncml-threaded and opensync, building the syncml modul= e=20 fails: make[2]: Gehe in Verzeichnis =BB/home/stefan/packages/opensync/syncml/src=AB if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -= I. -I..=20 =2DI/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml= 2=20 =2DI/usr/local/include/opensync-1.0 -I/usr/local/include/libsyncml-1.0 = =20 =2DWall -Werror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 =2DI/usr/include/libxml2 -I/usr/local/include/opensync-1.0=20 =2DI/usr/local/include/libsyncml-1.0 -g -O2 -MT syncml_plugin.lo -MD -MP = =2DMF=20 ".deps/syncml_plugin.Tpo" -c -o syncml_plugin.lo syncml_plugin.c; \ then mv -f ".deps/syncml_plugin.Tpo" ".deps/syncml_plugin.Plo"; else rm -f= =20 ".deps/syncml_plugin.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0=20 =2DI/usr/lib/glib-2.0/include -I/usr/include/libxml2=20 =2DI/usr/local/include/opensync-1.0 -I/usr/local/include/libsyncml-1.0 -Wal= l=20 =2DWerror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 =2DI/usr/include/libxml2 -I/usr/local/include/opensync-1.0=20 =2DI/usr/local/include/libsyncml-1.0 -g -O2 -MT syncml_plugin.lo -MD -MP=20 =2DMF .deps/syncml_plugin.Tpo -c syncml_plugin.c -fPIC -DPIC=20 =2Do .libs/syncml_plugin.o In file included from syncml_plugin.c:21: syncml_plugin.h:40: error: syntax error before 'GMainContext' cc1: warnings being treated as errors syncml_plugin.h:40: warning: no semicolon at end of struct or union syncml_plugin.h:41: warning: type defaults to 'int' in declaration of 'loop' syncml_plugin.h:41: warning: data definition has no type or storage class syncml_plugin.h:58: error: syntax error before '}' token syncml_plugin.h:58: warning: type defaults to 'int' in declaration of=20 'SmlPluginEnv' syncml_plugin.h:58: warning: data definition has no type or storage class syncml_plugin.c: In function '_verify_user': syncml_plugin.c:28: error: 'env' undeclared (first use in this function) syncml_plugin.c:28: error: (Each undeclared identifier is reported only once syncml_plugin.c:28: error: for each function it appears in.) syncml_plugin.c: In function '_syncml_recv_change': syncml_plugin.c:76: error: 'env' undeclared (first use in this function) syncml_plugin.c:76: error: syntax error before ')' token syncml_plugin.c: In function '_recv_init_alert': syncml_plugin.c:121: error: 'env' undeclared (first use in this function) syncml_plugin.c:121: error: syntax error before ')' token syncml_plugin.c: In function '_recv_alert': I've installed Kubuntu 5.10 with gcc 4.02. Any ideas? Thanks, Stefan |