Hi
I have tried to compile multisync-cli without success.
I have tried both the svn version (revision 212) and the 0.19 release.
I did
autoreconf -sfi
./configure
and then make
This is the output from make
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/opensync-1.0 -Wall
-Werror -I.. -g -O2 -MT msynctool.o -MD -MP -MF ".deps/msynctool.Tpo" -c
-o msynctool.o msynctool.c; \
then mv -f ".deps/msynctool.Tpo" ".deps/msynctool.Po"; else rm -f
".deps/msynctool.Tpo"; exit 1; fi
msynctool.c: In function `conflict_handler':
msynctool.c:291: warning: implicit declaration of function
`osengine_mapping_ignore_supported'
msynctool.c:330: error: too many arguments to function
`osengine_mapping_ignore_conflict'
msynctool.c:330: error: wrong type argument to unary exclamation mark
msynctool.c: In function `configure':
msynctool.c:510: warning: implicit declaration of function
`osync_member_need_config'
make[2]: *** [msynctool.o] Error 1
make[2]: Leaving directory
`/home/linus/temp/opensync/svn/multisync-cliexit/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linus/temp/opensync/svn/multisync-cliex=
it'
make: *** [all] Error 2
I get the same error when trying to build the 0.19 release
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/opensync-1.0 -Wall
-Werror -I.. -g -O2 -MT msynctool.o -MD -MP -MF ".deps/msynctool.Tpo" -c
-o msynctool.o msynctool.c; \
then mv -f ".deps/msynctool.Tpo" ".deps/msynctool.Po"; else rm -f
".deps/msynctool.Tpo"; exit 1; fi
msynctool.c: In function `conflict_handler':
msynctool.c:280: warning: implicit declaration of function
`osengine_mapping_ignore_supported'
msynctool.c:319: error: too many arguments to function
`osengine_mapping_ignore_conflict'
msynctool.c:319: error: wrong type argument to unary exclamation mark
msynctool.c: In function `configure':
msynctool.c:500: warning: implicit declaration of function
`osync_member_need_config'
make[2]: *** [msynctool.o] Error 1
make[2]: Leaving directory `/home/linus/temp/opensync/msynctool-0.19/tool=
s'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linus/temp/opensync/msynctool-0.19'
make: *** [all] Error 2
Am I doing anything wrong or is multisync-cli broken?
I=B4m compiling on Centos 4.4
// Linus
|