[Users] mi_xmlrpc on redhat

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 14 13:21:52 CET 2007


Hi Helge

on a first look, it should be ok....I do have access to a centOS machine 
- can point me to the packages to try to install them and run a compile 
session?

regards,
bogdan

Helge Waastad wrote:
> Hi,
> I'try to help you to help me out here :-) 
>
> #ifdef XMLRPC_WANT_INTERNAL_DECLARATIONS
> #define XMLRPC_BAD_POINTER ((void*) 0xDEADBEEF)
> #endif /* XMLRPC_WANT_INTERNAL_DECLARATIONS */
>
> and some other ifndef for the same macro...
> I see no #define....
>
> I don't know if that's any use to you.
> I'm a little bit out on deep waters here so if there is anything else I
> can do, please let me know.
>
> regards,
> hw
>
>
>
> On lør, 2007-03-10 at 19:53 +0200, Bogdan-Andrei Iancu wrote:
>   
>> I see....
>>
>> could you see if the file /usr/include/xmlrpc.h  make used of  
>> XMLRPC_WANT_INTERNAL_DECLARATIONS  define? it is used by mi_xmlrpc 
>> module to access some inside structure form libxmlrpc.
>>
>> regards,
>> bogdan
>>
>> Helge Waastad wrote:
>>     
>>> Hi,
>>> on my ubuntu every compiles allright.
>>>
>>> On CentOS/Redhat EL, this is the output:
>>>
>>> Compiling mi_xmlrpc.c
>>> Compiling xr_parser.c
>>> In file included from xr_parser.c:32:
>>> xr_parser_lib.h: In function `validateType':
>>> xr_parser_lib.h:61: error: dereferencing pointer to incomplete type
>>> xr_parser_lib.h:64: error: dereferencing pointer to incomplete type
>>> xr_parser_lib.h: In function `accessStringValue':
>>> xr_parser_lib.h:83: error: dereferencing pointer to incomplete type
>>>       
>>  > xr_parser_lib.h:84: error: dereferencing pointer to incomplete type
>>     
>>> xr_parser_lib.h: At top level:
>>> xr_parser_lib.h:93: error: conflicting types for 'xmlrpc_read_string'
>>> /usr/local/include/xmlrpc-c/base.h:150: error: previous declaration of
>>> 'xmlrpc_read_string' was here
>>> xr_parser_lib.h:93: error: conflicting types for 'xmlrpc_read_string'
>>> /usr/local/include/xmlrpc-c/base.h:150: error: previous declaration of
>>> 'xmlrpc_read_string' was here
>>> xr_parser.c: In function `xr_parse_tree':
>>> xr_parser.c:79: error: dereferencing pointer to incomplete type
>>> xr_parser.c:97: error: dereferencing pointer to incomplete type
>>> xr_parser.c:115: error: dereferencing pointer to incomplete type
>>> xr_parser.c:170: error: dereferencing pointer to incomplete type
>>> xr_parser.c:171: error: dereferencing pointer to incomplete type
>>> xr_parser.c:201: error: dereferencing pointer to incomplete type
>>> xr_parser.c:209: warning: enumeration value `XMLRPC_TYPE_DATETIME' not
>>> handled in switch
>>> xr_parser.c:209: warning: enumeration value `XMLRPC_TYPE_ARRAY' not
>>> handled in switch
>>> xr_parser.c:209: warning: enumeration value `XMLRPC_TYPE_STRUCT' not
>>> handled in switch
>>> xr_parser.c:209: warning: enumeration value `XMLRPC_TYPE_NIL' not
>>> handled in switch
>>> xr_parser.c:209: warning: enumeration value `XMLRPC_TYPE_DEAD' not
>>> handled in switch
>>>
>>>
>>>
>>> br hw
>>>
>>>
>>> On lør, 2007-03-10 at 18:50 +0200, Bogdan-Andrei Iancu wrote:
>>>   
>>>       
>>>> Hi Helge,
>>>>
>>>> could you post the reason of failed compiling?
>>>>
>>>> regards,
>>>> bogdan
>>>>
>>>> Helge Waastad wrote:
>>>>     
>>>>         
>>>>> Hi,
>>>>> actually there was both src rpms and rpms for 0.9.10 avaliable.
>>>>> Still, compiling on my plattform does not work.
>>>>> I will still try to work it out.
>>>>>
>>>>> If someone else using Redhat/CentOS makes it work, I'll appreciate som
>>>>> help :-)
>>>>>
>>>>> br hw
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>>>     
>>>>>> http://sourceforge.net/project/showfiles.php?group_id=16847&package_id=13374
>>>>>>
>>>>>> if you have dependency problems, most probably you need to compile it 
>>>>>> from sources.
>>>>>>
>>>>>> regards,
>>>>>> bogdan
>>>>>>
>>>>>> Helge Waastad wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hi,
>>>>>>> does anyone know if there are any packages for the dependencies for the
>>>>>>> mi_xmlrpc module for RedHat/CentOS?
>>>>>>> (Im trying to get this working on my centOS dist)
>>>>>>>
>>>>>>> br
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at openser.org
>>>>>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>   
>>>>>       
>>>>>           
>>>   
>>>       
>
>   





More information about the sr-users mailing list