[sr-dev] carrierroute in master doesn't compile

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 28 23:43:26 CEST 2012


Hello,

it should be fixed now.

But the module should be reviewed a bit more overall, since it uses too 
much the specific structures of pv framework. There are functions to 
get/set values/names for pvs that should be used instead.

Thanks,
Daniel

On 9/28/12 11:09 PM, Peter Dunkley wrote:
> Hi,
>
> I was building some test RPMs (Fedora 17, x86_64) of master and found that
> the carrierroute module no longer builds.
>
> The errors I get are:
>
> CC (gcc) [M carrierroute.so]		cr_func.o
> cr_func.c: In function ‘cr_gp2id’:
> cr_func.c:88:22: error: request for member ‘type’ in something not a
> structure or union
> cr_func.c:89:42: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:90:22: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:92:23: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:93:6: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:95:28: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:97:11: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:97:11: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:97:11: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:97:11: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:97:11: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:105:24: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:106:7: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:108:29: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:110:12: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:110:12: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:110:12: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:110:12: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:110:12: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c: In function ‘set_next_domain_on_rule’:
> cr_func.c:190:35: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:191:25: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c: In function ‘actually_rewrite’:
> cr_func.c:357:49: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:358:26: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c: In function ‘cr_load_user_carrier’:
> cr_func.c:642:35: error: request for member ‘pvp’ in something not a
> structure or union
> cr_func.c:643:26: error: request for member ‘pvp’ in something not a
> structure or union
> make: *** [cr_func.o] Error 1
>
>
> Regards,
>
> Peter
>
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu




More information about the sr-dev mailing list