[Pidgin] #9525: error connecting to yahoo on compile pidgin 2.5.7

Pidgin trac at pidgin.im
Fri Jun 26 14:10:10 EDT 2009


#9525: error connecting to yahoo on compile pidgin 2.5.7
------------------------+---------------------------------------------------
 Reporter:  jasonechoi  |        Owner:  sulabh.dev
     Type:  defect      |       Status:  pending   
Milestone:              |    Component:  Yahoo!    
  Version:  2.5.7       |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by jasonechoi):

  * status:  pending => new


Comment:

 Thanks for your help.  I'm now getting different error.  I also attached
 yahoo.c, just in case I made more mistakes.  Thanks.

 yahoo.c: In function ‘yahoo_auth16_stage2’:
 yahoo.c:1546: error: invalid storage class for function
 ‘yahoo_auth16_stage1_cb’
 yahoo.c:1545: warning: no previous prototype for ‘yahoo_auth16_stage1_cb’
 yahoo.c:1545: warning: ISO C90 forbids mixed declarations and code
 yahoo.c:1655: error: invalid storage class for function
 ‘yahoo_auth16_stage1’
 yahoo.c:1654: warning: no previous prototype for ‘yahoo_auth16_stage1’
 yahoo.c:1692: error: invalid storage class for function
 ‘yahoo_process_auth’
 yahoo.c:1691: warning: no previous prototype for ‘yahoo_process_auth’
 yahoo.c:1736: error: invalid storage class for function ‘ignore_buddy’
 yahoo.c:1736: warning: no previous prototype for ‘ignore_buddy’
 yahoo.c:1758: error: invalid storage class for function ‘keep_buddy’
 yahoo.c:1758: warning: no previous prototype for ‘keep_buddy’
 yahoo.c:1762: error: invalid storage class for function
 ‘yahoo_process_ignore’
 yahoo.c:1762: warning: no previous prototype for ‘yahoo_process_ignore’
 yahoo.c:1830: error: invalid storage class for function
 ‘yahoo_process_authresp’
 yahoo.c:1829: warning: no previous prototype for ‘yahoo_process_authresp’
 yahoo.c:1903: error: invalid storage class for function
 ‘yahoo_process_addbuddy’
 yahoo.c:1902: warning: no previous prototype for ‘yahoo_process_addbuddy’
 yahoo.c:1951: error: invalid storage class for function
 ‘yahoo_process_p2p’
 yahoo.c:1950: warning: no previous prototype for ‘yahoo_process_p2p’
 yahoo.c:2017: error: invalid storage class for function
 ‘yahoo_process_audible’
 yahoo.c:2016: warning: no previous prototype for ‘yahoo_process_audible’
 yahoo.c:2077: error: invalid storage class for function
 ‘yahoo_packet_process’
 yahoo.c:2076: warning: no previous prototype for ‘yahoo_packet_process’
 yahoo.c:2217: error: invalid storage class for function ‘yahoo_pending’
 yahoo.c:2216: warning: no previous prototype for ‘yahoo_pending’
 yahoo.c:2316: error: invalid storage class for function
 ‘yahoo_got_connected’
 yahoo.c:2315: warning: no previous prototype for ‘yahoo_got_connected’
 yahoo.c:2650: error: invalid storage class for function
 ‘yahoo_server_check’
 yahoo.c:2649: warning: no previous prototype for ‘yahoo_server_check’
 yahoo.c:2660: error: invalid storage class for function
 ‘yahoo_picture_check’
 yahoo.c:2659: warning: no previous prototype for ‘yahoo_picture_check’
 yahoo.c:2669: error: invalid storage class for function
 ‘get_yahoo_status_from_purple_status’
 yahoo.c:2668: warning: no previous prototype for
 ‘get_yahoo_status_from_purple_status’
 yahoo.c:2713: error: invalid storage class for function ‘yahoo_login’
 yahoo.c:2713: warning: no previous prototype for ‘yahoo_login’
 yahoo.c:2764: error: invalid storage class for function ‘yahoo_close’
 yahoo.c:2764: warning: no previous prototype for ‘yahoo_close’
 yahoo.c:2834: error: invalid storage class for function ‘yahoo_list_icon’
 yahoo.c:2833: warning: no previous prototype for ‘yahoo_list_icon’
 yahoo.c:2839: error: invalid storage class for function
 ‘yahoo_list_emblem’
 yahoo.c:2838: warning: no previous prototype for ‘yahoo_list_emblem’
 yahoo.c:2867: error: invalid storage class for function
 ‘yahoo_get_status_string’
 yahoo.c:2866: warning: no previous prototype for ‘yahoo_get_status_string’
 yahoo.c:2898: error: invalid storage class for function
 ‘yahoo_initiate_conference’
 yahoo.c:2898: warning: no previous prototype for
 ‘yahoo_initiate_conference’
 yahoo.c:2925: error: invalid storage class for function
 ‘yahoo_presence_settings’
 yahoo.c:2925: warning: no previous prototype for ‘yahoo_presence_settings’
 yahoo.c:2936: error: invalid storage class for function ‘yahoo_game’
 yahoo.c:2936: warning: no previous prototype for ‘yahoo_game’
 yahoo.c:2972: error: invalid storage class for function
 ‘yahoo_status_text’
 yahoo.c:2971: warning: no previous prototype for ‘yahoo_status_text’
 yahoo.c:3000: warning: no previous prototype for ‘yahoo_tooltip_text’
 yahoo.c:3051: error: invalid storage class for function
 ‘yahoo_addbuddyfrommenu_cb’
 yahoo.c:3050: warning: no previous prototype for
 ‘yahoo_addbuddyfrommenu_cb’
 yahoo.c:3065: error: invalid storage class for function
 ‘yahoo_chat_goto_menu’
 yahoo.c:3064: warning: no previous prototype for ‘yahoo_chat_goto_menu’
 yahoo.c:3077: error: invalid storage class for function
 ‘build_presence_submenu’
 yahoo.c:3077: warning: no previous prototype for ‘build_presence_submenu’
 yahoo.c:3116: error: invalid storage class for function
 ‘yahoo_doodle_blist_node’
 yahoo.c:3115: warning: no previous prototype for ‘yahoo_doodle_blist_node’
 yahoo.c:3124: error: invalid storage class for function ‘yahoo_buddy_menu’
 yahoo.c:3123: warning: no previous prototype for ‘yahoo_buddy_menu’
 yahoo.c:3197: error: invalid storage class for function
 ‘yahoo_blist_node_menu’
 yahoo.c:3196: warning: no previous prototype for ‘yahoo_blist_node_menu’
 yahoo.c:3206: error: invalid storage class for function ‘yahoo_act_id’
 yahoo.c:3205: warning: no previous prototype for ‘yahoo_act_id’
 yahoo.c:3219: error: invalid storage class for function
 ‘yahoo_get_inbox_token_cb’
 yahoo.c:3217: warning: no previous prototype for
 ‘yahoo_get_inbox_token_cb’
 yahoo.c:3254: error: invalid storage class for function ‘yahoo_show_inbox’
 yahoo.c:3253: warning: no previous prototype for ‘yahoo_show_inbox’
 yahoo.c:3294: error: invalid storage class for function
 ‘yahoo_show_act_id’
 yahoo.c:3293: warning: no previous prototype for ‘yahoo_show_act_id’
 yahoo.c:3305: error: invalid storage class for function
 ‘yahoo_show_chat_goto’
 yahoo.c:3304: warning: no previous prototype for ‘yahoo_show_chat_goto’
 yahoo.c:3315: error: invalid storage class for function ‘yahoo_actions’
 yahoo.c:3315: warning: no previous prototype for ‘yahoo_actions’
 yahoo.c:3336: error: invalid storage class for function ‘yahoo_send_im’
 yahoo.c:3335: warning: no previous prototype for ‘yahoo_send_im’
 yahoo.c:3420: error: invalid storage class for function
 ‘yahoo_send_typing’
 yahoo.c:3419: warning: no previous prototype for ‘yahoo_send_typing’
 yahoo.c:3433: error: invalid storage class for function
 ‘yahoo_session_presence_remove’
 yahoo.c:3432: warning: no previous prototype for
 ‘yahoo_session_presence_remove’
 yahoo.c:3440: error: invalid storage class for function ‘yahoo_set_status’
 yahoo.c:3439: warning: no previous prototype for ‘yahoo_set_status’
 yahoo.c:3517: error: invalid storage class for function ‘yahoo_set_idle’
 yahoo.c:3516: warning: no previous prototype for ‘yahoo_set_idle’
 yahoo.c:3565: error: invalid storage class for function
 ‘yahoo_status_types’
 yahoo.c:3564: warning: no previous prototype for ‘yahoo_status_types’
 yahoo.c:3622: error: invalid storage class for function ‘yahoo_keepalive’
 yahoo.c:3621: warning: no previous prototype for ‘yahoo_keepalive’
 yahoo.c:3656: error: invalid storage class for function ‘yahoo_add_buddy’
 yahoo.c:3655: warning: no previous prototype for ‘yahoo_add_buddy’
 yahoo.c:3699: error: invalid storage class for function
 ‘yahoo_remove_buddy’
 yahoo.c:3698: warning: no previous prototype for ‘yahoo_remove_buddy’
 yahoo.c:3732: error: invalid storage class for function ‘yahoo_add_deny’
 yahoo.c:3732: warning: no previous prototype for ‘yahoo_add_deny’
 yahoo.c:3748: error: invalid storage class for function ‘yahoo_rem_deny’
 yahoo.c:3748: warning: no previous prototype for ‘yahoo_rem_deny’
 yahoo.c:3764: error: invalid storage class for function
 ‘yahoo_set_permit_deny’
 yahoo.c:3763: warning: no previous prototype for ‘yahoo_set_permit_deny’
 yahoo.c:3788: error: invalid storage class for function
 ‘yahoo_unload_plugin’
 yahoo.c:3787: warning: no previous prototype for ‘yahoo_unload_plugin’
 yahoo.c:3796: error: invalid storage class for function
 ‘yahoo_change_buddys_group’
 yahoo.c:3794: warning: no previous prototype for
 ‘yahoo_change_buddys_group’
 yahoo.c:3831: error: invalid storage class for function
 ‘yahoo_rename_group’
 yahoo.c:3829: warning: no previous prototype for ‘yahoo_rename_group’
 yahoo.c:3855: error: invalid storage class for function
 ‘yahoopurple_cmd_buzz’
 yahoo.c:3855: warning: no previous prototype for ‘yahoopurple_cmd_buzz’
 yahoo.c:3871: error: invalid storage class for function
 ‘yahoopurple_cmd_chat_join’
 yahoo.c:3869: warning: no previous prototype for
 ‘yahoopurple_cmd_chat_join’
 yahoo.c:3899: error: invalid storage class for function
 ‘yahoopurple_cmd_chat_list’
 yahoo.c:3897: warning: no previous prototype for
 ‘yahoopurple_cmd_chat_list’
 yahoo.c:3908: error: invalid storage class for function
 ‘yahoo_offline_message’
 yahoo.c:3907: warning: no previous prototype for ‘yahoo_offline_message’
 yahoo.c:3912: warning: no previous prototype for ‘yahoo_send_attention’
 yahoo.c:3928: warning: no previous prototype for ‘yahoo_attention_types’
 yahoo.c:3945: error: invalid storage class for function
 ‘yahoopurple_register_commands’
 yahoo.c:3944: warning: no previous prototype for
 ‘yahoopurple_register_commands’
 yahoo.c:3967: error: invalid storage class for function ‘find_acct’
 yahoo.c:3966: warning: no previous prototype for ‘find_acct’
 yahoo.c:3993: error: invalid storage class for function
 ‘yahoo_find_uri_novalue_param’
 yahoo.c:3992: warning: no previous prototype for
 ‘yahoo_find_uri_novalue_param’
 yahoo.c:4002: error: invalid storage class for function
 ‘yahoo_uri_handler’
 yahoo.c:4001: warning: no previous prototype for ‘yahoo_uri_handler’
 yahoo.c:4069: error: invalid storage class for function
 ‘yahoo_get_account_text_table’
 yahoo.c:4068: warning: no previous prototype for
 ‘yahoo_get_account_text_table’
 yahoo.c:4100: error: initializer element is not constant
 yahoo.c:4100: error: (near initialization for ‘prpl_info.list_icon’)
 yahoo.c:4101: error: initializer element is not constant
 yahoo.c:4101: error: (near initialization for ‘prpl_info.list_emblem’)
 yahoo.c:4102: error: initializer element is not constant
 yahoo.c:4102: error: (near initialization for ‘prpl_info.status_text’)
 yahoo.c:4103: error: initializer element is not constant
 yahoo.c:4103: error: (near initialization for ‘prpl_info.tooltip_text’)
 yahoo.c:4104: error: initializer element is not constant
 yahoo.c:4104: error: (near initialization for ‘prpl_info.status_types’)
 yahoo.c:4105: error: initializer element is not constant
 yahoo.c:4105: error: (near initialization for ‘prpl_info.blist_node_menu’)
 yahoo.c:4108: error: initializer element is not constant
 yahoo.c:4108: error: (near initialization for ‘prpl_info.login’)
 yahoo.c:4109: error: initializer element is not constant
 yahoo.c:4109: error: (near initialization for ‘prpl_info.close’)
 yahoo.c:4110: error: initializer element is not constant
 yahoo.c:4110: error: (near initialization for ‘prpl_info.send_im’)
 yahoo.c:4112: error: initializer element is not constant
 yahoo.c:4112: error: (near initialization for ‘prpl_info.send_typing’)
 yahoo.c:4114: error: initializer element is not constant
 yahoo.c:4114: error: (near initialization for ‘prpl_info.set_status’)
 yahoo.c:4115: error: initializer element is not constant
 yahoo.c:4115: error: (near initialization for ‘prpl_info.set_idle’)
 yahoo.c:4117: error: initializer element is not constant
 yahoo.c:4117: error: (near initialization for ‘prpl_info.add_buddy’)
 yahoo.c:4119: error: initializer element is not constant
 yahoo.c:4119: error: (near initialization for ‘prpl_info.remove_buddy’)
 yahoo.c:4122: error: initializer element is not constant
 yahoo.c:4122: error: (near initialization for ‘prpl_info.add_deny’)
 yahoo.c:4124: error: initializer element is not constant
 yahoo.c:4124: error: (near initialization for ‘prpl_info.rem_deny’)
 yahoo.c:4125: error: initializer element is not constant
 yahoo.c:4125: error: (near initialization for ‘prpl_info.set_permit_deny’)
 yahoo.c:4133: error: initializer element is not constant
 yahoo.c:4133: error: (near initialization for ‘prpl_info.keepalive’)
 yahoo.c:4138: error: initializer element is not constant
 yahoo.c:4138: error: (near initialization for ‘prpl_info.group_buddy’)
 yahoo.c:4139: error: initializer element is not constant
 yahoo.c:4139: error: (near initialization for ‘prpl_info.rename_group’)
 yahoo.c:4154: error: initializer element is not constant
 yahoo.c:4154: error: (near initialization for ‘prpl_info.offline_message’)
 yahoo.c:4160: error: initializer element is not constant
 yahoo.c:4160: error: (near initialization for ‘prpl_info.send_attention’)
 yahoo.c:4161: error: initializer element is not constant
 yahoo.c:4161: error: (near initialization for
 ‘prpl_info.get_attention_types’)
 yahoo.c:4164: error: initializer element is not constant
 yahoo.c:4164: error: (near initialization for
 ‘prpl_info.get_account_text_table’)
 yahoo.c:4165: warning: missing initializer
 yahoo.c:4165: warning: (near initialization for
 ‘prpl_info.get_account_text_table’)
 yahoo.c:4187: error: initializer element is not constant
 yahoo.c:4187: error: (near initialization for ‘info.unload’)
 yahoo.c:4192: error: initializer element is not constant
 yahoo.c:4192: error: (near initialization for ‘info.actions’)
 yahoo.c:4203: error: invalid storage class for function ‘init_plugin’
 yahoo.c:4202: warning: no previous prototype for ‘init_plugin’
 yahoo.c:4256: error: static declaration of ‘purple_init_yahoo_plugin’
 follows non-static declaration
 yahoo.c:4256: error: previous declaration of ‘purple_init_yahoo_plugin’
 was here
 yahoo.c:4256: error: expected declaration or statement at end of input
 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

-- 
Ticket URL: <http://developer.pidgin.im/ticket/9525#comment:9>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list