[Pidgin] #9491: issues compiling with 2.5.7
Pidgin
trac at pidgin.im
Wed Jun 24 13:34:03 EDT 2009
#9491: issues compiling with 2.5.7
--------------------------+-------------------------------------------------
Reporter: jasonechoi | Owner: rekkanoryo
Type: defect | Status: new
Component: unclassified | Version: 2.5.7
Keywords: |
--------------------------+-------------------------------------------------
Hi,
I'm trying to compile 2.5.7 on Redhat 4, update 7. I'm getting yahoo
protocol issue error. I used the original source code and also the
patched version fo yahoo.c, which both fails.
yahoo.c: In function `yahoo_process_status':
yahoo.c:217: error: structure has no member named `session_id'
yahoo.c: In function `yahoo_process_list_15':
yahoo.c:517: error: implicit declaration of function
`yahoo_friend_set_p2p_status'
yahoo.c:517: error: `YAHOO_P2PSTATUS_NOT_CONNECTED' undeclared (first use
in this function)
yahoo.c:517: error: (Each undeclared identifier is reported only once
yahoo.c:517: error: for each function it appears in.)
yahoo.c:518: error: structure has no member named `p2p_packet_sent'
yahoo.c:520: error: `YAHOO_P2PSTATUS_DO_NOT_CONNECT' undeclared (first use
in this function)
yahoo.c: In function `yahoo_process_list':
yahoo.c:657: error: `YAHOO_P2PSTATUS_NOT_CONNECTED' undeclared (first use
in this function)
yahoo.c:658: error: structure has no member named `p2p_packet_sent'
yahoo.c: At top level:
yahoo.c:717: error: syntax error before "yahoo_pkt_type"
yahoo.c: In function `yahoo_process_notify':
yahoo.c:725: error: `pkt' undeclared (first use in this function)
yahoo.c:727: error: `gc' undeclared (first use in this function)
yahoo.c:755: error: `pkt_type' undeclared (first use in this function)
yahoo.c:755: error: `YAHOO_PKT_TYPE_P2P' undeclared (first use in this
function)
yahoo.c:758: error: structure has no member named `peers'
yahoo.c: In function `yahoo_process_sms_message':
yahoo.c:846: error: structure has no member named `sms_carrier'
yahoo.c: At top level:
yahoo.c:882: error: syntax error before "yahoo_pkt_type"
yahoo.c: In function `yahoo_process_message':
yahoo.c:885: error: `gc' undeclared (first use in this function)
yahoo.c:886: error: `pkt' undeclared (first use in this function)
yahoo.c:948: error: `pkt_type' undeclared (first use in this function)
yahoo.c:948: error: `YAHOO_PKT_TYPE_P2P' undeclared (first use in this
function)
yahoo.c:951: error: structure has no member named `peers'
yahoo.c: In function `yahoo_process_addbuddy':
yahoo.c:2133: error: structure has no member named `peers'
yahoo.c:2136: error: `YAHOO_P2PSTATUS_DO_NOT_CONNECT' undeclared (first
use in this function)
yahoo.c:2138: error: `YAHOO_P2PSTATUS_NOT_CONNECTED' undeclared (first use
in this function)
yahoo.c:2139: error: structure has no member named `p2p_packet_sent'
yahoo.c:2143: error: `YAHOO_P2PSTATUS_WE_ARE_CLIENT' undeclared (first use
in this function)
yahoo.c: In function `yahoo_p2p_keepalive_cb':
yahoo.c:2183: error: dereferencing pointer to incomplete type
yahoo.c:2187: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_p2p_keepalive':
yahoo.c:2197: error: structure has no member named `peers'
yahoo.c: In function `yahoo_p2p_disconnect_destroy_data':
yahoo.c:2214: error: dereferencing pointer to incomplete type
yahoo.c:2214: error: dereferencing pointer to incomplete type
yahoo.c:2216: error: `YAHOO_P2PSTATUS_NOT_CONNECTED' undeclared (first use
in this function)
yahoo.c:2218: error: dereferencing pointer to incomplete type
yahoo.c:2219: error: dereferencing pointer to incomplete type
yahoo.c:2220: error: dereferencing pointer to incomplete type
yahoo.c:2221: error: dereferencing pointer to incomplete type
yahoo.c:2222: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_p2p_process_p2pfilexfer':
yahoo.c:2241: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2250: error: dereferencing pointer to incomplete type
yahoo.c:2257: error: dereferencing pointer to incomplete type
yahoo.c:2264: error: dereferencing pointer to incomplete type
yahoo.c:2272: error: dereferencing pointer to incomplete type
yahoo.c:2276: error: structure has no member named `peers'
yahoo.c:2276: error: dereferencing pointer to incomplete type
yahoo.c:2287: error: dereferencing pointer to incomplete type
yahoo.c:2297: error: structure has no member named `peers'
yahoo.c:2297: error: dereferencing pointer to incomplete type
yahoo.c:2298: error: structure has no member named `peers'
yahoo.c:2298: error: dereferencing pointer to incomplete type
yahoo.c:2300: error: dereferencing pointer to incomplete type
yahoo.c:2300: error: dereferencing pointer to incomplete type
yahoo.c:2302: error: dereferencing pointer to incomplete type
yahoo.c:2302: error: `YAHOO_P2P_WE_ARE_SERVER' undeclared (first use in
this function)
yahoo.c:2303: error: dereferencing pointer to incomplete type
yahoo.c:2303: error: structure has no member named `session_id'
yahoo.c:2304: error: `YAHOO_P2PSTATUS_WE_ARE_SERVER' undeclared (first use
in this function)
yahoo.c:2307: error: `YAHOO_P2PSTATUS_WE_ARE_CLIENT' undeclared (first use
in this function)
yahoo.c: In function `yahoo_p2p_read_pkt_cb':
yahoo.c:2326: error: dereferencing pointer to incomplete type
yahoo.c:2335: error: structure has no member named `peers'
yahoo.c:2335: error: dereferencing pointer to incomplete type
yahoo.c:2336: error: structure has no member named `peers'
yahoo.c:2336: error: dereferencing pointer to incomplete type
yahoo.c:2378: error: dereferencing pointer to incomplete type
yahoo.c:2378: error: `YAHOO_PKT_TYPE_P2P' undeclared (first use in this
function)
yahoo.c:2381: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_p2p_server_send_connected_cb':
yahoo.c:2398: error: dereferencing pointer to incomplete type
yahoo.c:2410: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:2411: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:2412: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:2416: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2417: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2418: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2420: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2421: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2422: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2426: error: dereferencing pointer to incomplete type
yahoo.c:2427: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_cancel_p2p_server_listen_cb':
yahoo.c:2438: error: dereferencing pointer to incomplete type
yahoo.c:2442: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2443: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2444: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2445: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2446: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c: In function `yahoo_p2p_server_listen_cb':
yahoo.c:2465: error: dereferencing pointer to incomplete type
yahoo.c:2468: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2469: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:2472: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:2472: error: `YAHOO_P2P_SERVER_TIMEOUT' undeclared (first use in
this function)
yahoo.c: At top level:
yahoo.c:2477: warning: no previous prototype for 'yahoo_send_p2p_pkt'
yahoo.c: In function `yahoo_send_p2p_pkt':
yahoo.c:2493: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:2501: error: implicit declaration of function
`yahoo_friend_get_p2p_status'
yahoo.c:2501: error: `YAHOO_P2PSTATUS_NOT_CONNECTED' undeclared (first use
in this function)
yahoo.c:2501: error: structure has no member named `p2p_packet_sent'
yahoo.c:2532: error: structure has no member named `p2p_packet_sent'
yahoo.c:2534: error: invalid application of `sizeof' to incomplete type
`yahoo_p2p_data'
yahoo.c:2536: error: dereferencing pointer to incomplete type
yahoo.c:2537: error: dereferencing pointer to incomplete type
yahoo.c:2538: error: dereferencing pointer to incomplete type
yahoo.c:2539: error: dereferencing pointer to incomplete type
yahoo.c:2540: error: dereferencing pointer to incomplete type
yahoo.c:2540: error: `YAHOO_P2P_WE_ARE_SERVER' undeclared (first use in
this function)
yahoo.c:2541: error: dereferencing pointer to incomplete type
yahoo.c:2543: error: `YAHOO_PAGER_PORT_P2P' undeclared (first use in this
function)
yahoo.c: In function `yahoo_p2p_init_cb':
yahoo.c:2558: error: dereferencing pointer to incomplete type
yahoo.c:2562: error: dereferencing pointer to incomplete type
yahoo.c:2562: error: dereferencing pointer to incomplete type
yahoo.c:2569: error: dereferencing pointer to incomplete type
yahoo.c:2570: error: dereferencing pointer to incomplete type
yahoo.c:2572: error: dereferencing pointer to incomplete type
yahoo.c:2578: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_process_p2p':
yahoo.c:2627: error: structure has no member named `session_id'
yahoo.c:2671: error: structure has no member named `session_id'
yahoo.c:2674: error: invalid application of `sizeof' to incomplete type
`yahoo_p2p_data'
yahoo.c:2675: error: dereferencing pointer to incomplete type
yahoo.c:2676: error: dereferencing pointer to incomplete type
yahoo.c:2677: error: dereferencing pointer to incomplete type
yahoo.c:2678: error: dereferencing pointer to incomplete type
yahoo.c:2679: error: dereferencing pointer to incomplete type
yahoo.c:2680: error: dereferencing pointer to incomplete type
yahoo.c:2680: error: `YAHOO_P2P_WE_ARE_CLIENT' undeclared (first use in
this function)
yahoo.c:2681: error: dereferencing pointer to incomplete type
yahoo.c:2684: error: `YAHOO_PAGER_PORT_P2P' undeclared (first use in this
function)
yahoo.c:2686: error: dereferencing pointer to incomplete type
yahoo.c:2687: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_packet_process':
yahoo.c:2769: error: `YAHOO_PKT_TYPE_SERVER' undeclared (first use in this
function)
yahoo.c: In function `yahoo_login':
yahoo.c:3394: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:3402: error: structure has no member named `peers'
yahoo.c:3403: error: structure has no member named `sms_carrier'
yahoo.c:3404: error: structure has no member named `yahoo_p2p_timer'
yahoo.c:3404: error: `YAHOO_P2P_KEEPALIVE_SECS' undeclared (first use in
this function)
yahoo.c: In function `yahoo_close':
yahoo.c:3470: error: structure has no member named `yahoo_p2p_timer'
yahoo.c:3471: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:3472: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:3473: error: structure has no member named
`yahoo_p2p_server_timeout_handle'
yahoo.c:3477: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:3478: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:3479: error: structure has no member named
`yahoo_p2p_server_watcher'
yahoo.c:3481: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:3482: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:3483: error: structure has no member named
`yahoo_local_p2p_server_fd'
yahoo.c:3486: error: structure has no member named `sms_carrier'
yahoo.c:3487: error: structure has no member named `peers'
yahoo.c: In function `yahoo_get_sms_carrier_cb':
yahoo.c:4077: error: structure has no member named `sms_carrier'
yahoo.c:4081: error: structure has no member named `sms_carrier'
yahoo.c: In function `yahoo_get_sms_carrier':
yahoo.c:4137: error: `YAHOO_SMS_CARRIER_URL' undeclared (first use in this
function)
yahoo.c: In function `yahoo_send_im':
yahoo.c:4194: error: structure has no member named `sms_carrier'
yahoo.c:4284: error: structure has no member named `peers'
yahoo.c:4285: error: dereferencing pointer to incomplete type
yahoo.c:4286: error: dereferencing pointer to incomplete type
yahoo.c: In function `yahoo_send_typing':
yahoo.c:4319: error: structure has no member named `peers'
yahoo.c:4322: error: dereferencing pointer to incomplete type
yahoo.c:4323: error: dereferencing pointer to incomplete type
yahoo.c: At top level:
yahoo.c:5124: warning: excess elements in struct initializer
yahoo.c:5124: warning: (near initialization for `prpl_info')
yahoo.c:5126: warning: excess elements in struct initializer
yahoo.c:5126: warning: (near initialization for `prpl_info')
make[5]: *** [libyahoo_la-yahoo.lo] Error 1
make[5]: Leaving directory
`/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7/libpurple/protocols/yahoo'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7/libpurple/protocols'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7'
make: *** [all] Error 2
caprica@/scratch/asic1/jasonc/download/tmp/pidgin-2.5.7% ~~
--
Ticket URL: <http://developer.pidgin.im/ticket/9491>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list