[Pidgin] #6899: Won't make

Pidgin trac at pidgin.im
Sun Aug 31 11:19:35 EDT 2008


#6899: Won't make
---------------------+------------------------------------------------------
 Reporter:  nekogod  |        Owner:         
     Type:  defect   |       Status:  new    
Milestone:           |    Component:  plugins
  Version:  2.5.0    |   Resolution:         
 Keywords:           |  
---------------------+------------------------------------------------------

Old description:

> Pidgin configures just fine but when I go to make it I get this error
>
> perl.c: In function 'gboolean probe_perl_plugin(PurplePlugin*)':
> perl.c:348: error: invalid conversion from 'const void*' to 'void*'
> perl.c:348: error:   initializing argument 2 of 'GList*
> g_list_append(GList*, void*)'
> perl.c: In function 'void init_plugin(PurplePlugin*)':
> perl.c:680: error: invalid conversion from 'const void*' to 'void*'
> perl.c:680: error:   initializing argument 2 of 'GList*
> g_list_append(GList*, void*)'
> perl.c: In function 'void my_init()':
> perl.c:699: error: invalid conversion from 'int' to 'GModuleFlags'
> perl.c:699: error:   initializing argument 2 of 'GModule*
> g_module_open(const gchar*, GModuleFlags)'
>
> If I disable plugins then I get this one instead
>
> lib/common.c: In function 'char* gg_vsaprintf(const char*,
> __va_list_tag*)':
> lib/common.c:139: error: invalid conversion from 'void*' to 'char*'
> lib/common.c: In function 'int gg_connect(void*, int, int)':
> lib/common.c:236: error: invalid conversion from 'void*' to 'in_addr*'
> lib/common.c: In function 'char* gg_urlencode(const char*)':
> lib/common.c:381: error: invalid conversion from 'void*' to 'char*'
> lib/common.c: In function 'in_addr* gg_gethostbyname(const char*)':
> lib/common.c:515: error: invalid conversion from 'void*' to 'in_addr*'
> lib/common.c: In function 'char* gg_base64_encode(const char*)':
> lib/common.c:626: error: invalid conversion from 'void*' to 'char*'
> lib/common.c: In function 'char* gg_base64_decode(const char*)':
> lib/common.c:687: error: invalid conversion from 'void*' to 'char*'
> lib/common.c: In function 'char* gg_proxy_auth()':
> lib/common.c:743: error: invalid conversion from 'void*' to 'char*'
> lib/common.c:755: error: invalid conversion from 'void*' to 'char*'

New description:

 Pidgin configures just fine but when I go to make it I get this error

 {{{
 perl.c: In function 'gboolean probe_perl_plugin(PurplePlugin*)':
 perl.c:348: error: invalid conversion from 'const void*' to 'void*'
 perl.c:348: error:   initializing argument 2 of 'GList*
 g_list_append(GList*, void*)'
 perl.c: In function 'void init_plugin(PurplePlugin*)':
 perl.c:680: error: invalid conversion from 'const void*' to 'void*'
 perl.c:680: error:   initializing argument 2 of 'GList*
 g_list_append(GList*, void*)'
 perl.c: In function 'void my_init()':
 perl.c:699: error: invalid conversion from 'int' to 'GModuleFlags'
 perl.c:699: error:   initializing argument 2 of 'GModule*
 g_module_open(const gchar*, GModuleFlags)'
 }}}

 If I disable plugins then I get this one instead

 {{{
 lib/common.c: In function 'char* gg_vsaprintf(const char*,
 __va_list_tag*)':
 lib/common.c:139: error: invalid conversion from 'void*' to 'char*'
 lib/common.c: In function 'int gg_connect(void*, int, int)':
 lib/common.c:236: error: invalid conversion from 'void*' to 'in_addr*'
 lib/common.c: In function 'char* gg_urlencode(const char*)':
 lib/common.c:381: error: invalid conversion from 'void*' to 'char*'
 lib/common.c: In function 'in_addr* gg_gethostbyname(const char*)':
 lib/common.c:515: error: invalid conversion from 'void*' to 'in_addr*'
 lib/common.c: In function 'char* gg_base64_encode(const char*)':
 lib/common.c:626: error: invalid conversion from 'void*' to 'char*'
 lib/common.c: In function 'char* gg_base64_decode(const char*)':
 lib/common.c:687: error: invalid conversion from 'void*' to 'char*'
 lib/common.c: In function 'char* gg_proxy_auth()':
 lib/common.c:743: error: invalid conversion from 'void*' to 'char*'
 lib/common.c:755: error: invalid conversion from 'void*' to 'char*'
 }}}

--

Comment(by datallah):

 Which OS are you trying to compile on?

 Which version of glib headers are you using?

 It looks like you might be missing a header (and that the errors you
 posted aren't the first error (and not the real cause)).

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


More information about the Tracker mailing list