Since there no Category for palm_sync I'm going to file
this under "Main syncengine". This compile errror is
also against CVS ( as of 20050601) and 0.83cvs-14. I
intially I use "rpmbuild -ba multisync" on version
0.83cvs-14 and then decided to cvs for the up2date
source and still had this problem.
palm_sync.c -fPIC -DPIC -o .libs/palm_sync.o
palm_sync.c: In function 'connectDevice':
palm_sync.c:155: warning: passing argument 2 of
'pi_bind' from incompatible pointer type
palm_sync.c:155: error: too many arguments to function
'pi_bind'
palm_sync.c: In function 'unpackEntry':
palm_sync.c:374: warning: pointer targets in passing
argument 2 of 'unpack_Address' differ in signedness
palm_sync.c:380: warning: pointer targets in passing
argument 2 of 'unpack_Appointment' differ in signedness
palm_sync.c:386: warning: pointer targets in passing
argument 2 of 'unpack_ToDo' differ in signedness
palm_sync.c: In function 'get_category_name_from_id':
palm_sync.c:475: warning: passing argument 4 of
'dlp_ReadAppBlock' makes integer from pointer without a
cast
palm_sync.c:475: warning: passing argument 5 of
'dlp_ReadAppBlock' makes pointer from integer without a
cast
palm_sync.c: In function 'get_category_id_from_name':
palm_sync.c:508: warning: passing argument 4 of
'dlp_ReadAppBlock' makes integer from pointer without a
cast
palm_sync.c:508: warning: passing argument 5 of
'dlp_ReadAppBlock' makes pointer from integer without a
cast
palm_sync.c: In function 'get_changes':
palm_sync.c:586: warning: passing argument 4 of
'dlp_ReadAppBlock' makes integer from pointer without a
cast
palm_sync.c:586: warning: passing argument 5 of
'dlp_ReadAppBlock' makes pointer from integer without a
cast
palm_sync.c:591: warning: passing argument 4 of
'dlp_ReadRecordByIndex' from incompatible pointer type
palm_sync.c:591: error: too many arguments to function
'dlp_ReadRecordByIndex'
palm_sync.c:593: warning: pointer targets in passing
argument 2 of 'unpackEntry' differ in signedness
palm_sync.c:601: warning: passing argument 3 of
'dlp_ReadNextModifiedRec' from incompatible pointer type
palm_sync.c:601: error: too many arguments to function
'dlp_ReadNextModifiedRec'
palm_sync.c:620: warning: pointer targets in passing
argument 2 of 'unpackEntry' differ in signedness
palm_sync.c: In function 'syncobj_modify':
palm_sync.c:730: warning: pointer targets in passing
argument 1 of 'palm_print_binary' differ in signedness
palm_sync.c:783: warning: passing argument 4 of
'dlp_ReadRecordById' from incompatible pointer type
palm_sync.c:783: error: too many arguments to function
'dlp_ReadRecordById'
palm_sync.c:790: warning: pointer targets in passing
argument 2 of 'unpackEntry' differ in signedness
palm_sync.c:782: warning: ignoring return value of
'sscanf', declared with attribute warn_unused_result
palm_sync.c: In function 'syncobj_delete':
palm_sync.c:845: warning: ignoring return value of
'sscanf', declared with attribute warn_unused_result
make[2]: *** [palm_sync.lo] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/multisync/plugins/palm_sync/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/multisync/plugins/palm_sync'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.2423
(%install)
most of this appears to be a gcc3 - gcc4 version
change, that cause most of the problems... I really
not a programmer so I'm really on speculating... hope
this helps. If I'm need for more information catch me
on #multisync@irc.freenode.net
thanks