After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 396207 - Build issue on address-conduit
Build issue on address-conduit
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: general
2.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-01-13 18:57 UTC by Stef van der Made
Modified: 2009-06-24 07:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef van der Made 2007-01-13 18:57:50 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
Comment 1 Stef van der Made 2007-01-13 22:37:36 UTC
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.
Comment 2 Stef van der Made 2007-01-26 22:07:08 UTC
I've just tried compiling evolution-2.9.6 and the issue is still present
Comment 3 Robert Mibus 2007-01-27 23:20:09 UTC
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...
Comment 4 Stef van der Made 2007-01-28 20:19:11 UTC
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
Comment 5 Stef van der Made 2007-02-17 17:15:02 UTC
problem still present in 2.17.91
Comment 6 Matthew Barnes 2008-03-11 00:32:16 UTC
Bumping version to a stable release.
Comment 7 Akhil Laddha 2009-05-21 09:49:02 UTC
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. 
Comment 8 Akhil Laddha 2009-06-24 07:09:43 UTC
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.