GNOME Bugzilla – Bug 396207
Build issue on address-conduit
Last modified: 2009-06-24 07:09:43 UTC
While building evolution-2.9.5, using gcc-4.1.1 I'm running into this compile issue: address-conduit.c: In function 'print_remote': address-conduit.c:488: warning: passing argument 2 of 'unpack_Address' from incompatible pointer type address-conduit.c: In function 'local_record_to_pilot_record': address-conduit.c:843: warning: pointer targets in assignment differ in signedness address-conduit.c:844: warning: passing argument 2 of 'pack_Address' from incompatible pointer type address-conduit.c: In function 'local_record_from_ecard': address-conduit.c:892: warning: passing argument 4 of 'dlp_ReadRecordById' from incompatible pointer type address-conduit.c:892: error: too many arguments to function 'dlp_ReadRecordById' address-conduit.c:899: warning: passing argument 2 of 'unpack_Address' from incompatible pointer type address-conduit.c: In function 'ecard_from_remote_record': address-conduit.c:1098: warning: passing argument 2 of 'unpack_Address' from incompatible pointer type address-conduit.c: In function 'addressbook_authenticate': address-conduit.c:1249: warning: assignment discards qualifiers from pointer target type address-conduit.c:1250: warning: assignment discards qualifiers from pointer target type address-conduit.c:1254: warning: assignment discards qualifiers from pointer target type address-conduit.c:1256: warning: assignment discards qualifiers from pointer target type address-conduit.c: In function 'pre_sync': address-conduit.c:1310: warning: assignment discards qualifiers from pointer target type address-conduit.c:1392: warning: passing argument 4 of 'dlp_ReadAppBlock' makes integer from pointer without a cast address-conduit.c:1392: warning: passing argument 5 of 'dlp_ReadAppBlock' makes pointer from integer without a cast address-conduit.c: In function 'for_each': address-conduit.c:1496: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result address-conduit.c:1511: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result address-conduit.c: In function 'for_each_modified': address-conduit.c:1550: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result address-conduit.c:1564: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result make[6]: *** [address-conduit.lo] Error 1 make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [build-work/main.d/evolution-2.9.5/Makefile] Error 2
I've just tried upgrading to pilot-link-0.12.1 (was 0.12-pre3or 4), gnome-pilot(-conduits) is version 2.0.15. The problem however still persists.
I've just tried compiling evolution-2.9.6 and the issue is still present
Looks to compile OK if you remove the second-to-last parameter in that call. Haven't checked to see if it works yet though. They presumably removed the parameter in pisock recently...
When resolving the issue as in comment 3 you also need to adapt these files with the same hack: calender-conduit.c on line 925 has the same issue memo-conduits.c on line 636 has the same issue todo-conduit.c on line 751 has the same issue After that I could compile evolution without a hitch
problem still present in 2.17.91
Bumping version to a stable release.
Could you please confirm if this bug is still happening at your end ? Please try in 2.24.x / 2.26.x and report back, thanks.
Thanks for taking the time to report this bug; however, closing due to lack of response of the reporter, sorry. if you still see this issue with a current release of evolution (2.26.2 or later), please reopen. thanks in advance.