[SR-Users] Error while "Make All"

Techie Sup techsup0073 at gmail.com
Fri Nov 2 21:12:50 CET 2012


still i am getting the following error

app_mono_api.h:27:26: warning: mono/jit/jit.h: No such file or directory
app_mono_api.h:28:39: warning: mono/metadata/environment.h: No such file or
directory
In file included from app_mono_api.c:37:
app_mono_api.h:35: error: expected specifier-qualifier-list before
‘MonoDomain’
app_mono_api.c:39:39: warning: mono/metadata/mono-config.h: No such file or
directory
app_mon

Selvam

On Fri, Nov 2, 2012 at 9:26 PM, Stoyan Mihaylov <stoyan.v.mihaylov at gmail.com
> wrote:

> You can install dev packets also.
>
> On Fri, Nov 2, 2012 at 5:04 PM, Techie Sup <techsup0073 at gmail.com> wrote:
> > Hello,
> >
> > I have installed mono-2 and now I get the error as follows. Kindly
> suggest
> > how to fix this and install kamailio
> >
> > [root at localhost ~]# cd kamailio-3.1.5/
> > [root at localhost kamailio-3.1.5]# make all
> > CC (gcc) [M app_mono.so]                app_mono_api.o
> > In file included from app_mono_api.c:37:
> > app_mono_api.h:27:26: warning: mono/jit/jit.h: No such file or directory
> > app_mono_api.h:28:39: warning: mono/metadata/environment.h: No such file
> or
> > directory
> > In file included from app_mono_api.c:37:
> > app_mono_api.h:35: error: expected specifier-qualifier-list before
> > ‘MonoDomain’
> > app_mono_api.c:39:39: warning: mono/metadata/mono-config.h: No such file
> or
> > directory
> > app_mono_api.c:49: error: expected specifier-qualifier-list before
> > ‘MonoDomain’
> > app_mono_api.c: In function ‘sr_mono_load_script’:
> > app_mono_api.c:93: error: ‘sr_mono_load_t’ has no member named ‘next’
> > app_mono_api.c: In function ‘mono_sr_init_load’:
> > app_mono_api.c:139: warning: implicit declaration of function
> > ‘mono_config_parse’
> > app_mono_api.c:141: error: ‘sr_mono_load_t’ has no member named ‘domain’
> > app_mono_api.c:148: error: ‘sr_mono_load_t’ has no member named ‘domain’
> > app_mono_api.c:148: warning: implicit declaration of function
> > ‘mono_jit_init’
> > app_mono_api.c:149: error: ‘sr_mono_load_t’ has no member named ‘domain’
> > app_mono_api.c:157: error: ‘sr_mono_load_t’ has no member named
> ‘assembly’
> > app_mono_api.c:157: warning: implicit declaration of function
> > ‘mono_domain_assembly_open’
> > app_mono_api.c:157: error: ‘sr_mono_load_t’ has no member named ‘domain’
> > app_mono_api.c:158: error: ‘sr_mono_load_t’ has no member named
> ‘assembly’
> > app_mono_api.c:162: error: ‘sr_mono_load_t’ has no member named ‘next’
> > app_mono_api.c: In function ‘mono_sr_initialized’:
> > app_mono_api.c:208: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c: In function ‘app_mono_exec’:
> > app_mono_api.c:230: error: ‘sr_mono_env_t’ has no member named ‘msg’
> > app_mono_api.c:237: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:246: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c:246: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:247: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c:256: warning: implicit declaration of function
> > ‘mono_jit_exec’
> > app_mono_api.c:256: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:256: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c:257: warning: implicit declaration of function
> > ‘mono_environment_exitcode_get’
> > app_mono_api.c:261: warning: implicit declaration of function
> > ‘mono_jit_cleanup’
> > app_mono_api.c:261: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c: In function ‘app_mono_run’:
> > app_mono_api.c:282: error: ‘sr_mono_env_t’ has no member named ‘msg’
> > app_mono_api.c:284: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:284: error: ‘sr_mono_load_t’ has no member named ‘domain’
> > app_mono_api.c:285: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c:285: error: ‘sr_mono_load_t’ has no member named
> ‘assembly’
> > app_mono_api.c:286: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c:291: warning: implicit declaration of function
> > ‘mono_domain_set’
> > app_mono_api.c:291: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:298: error: ‘sr_mono_env_t’ has no member named ‘domain’
> > app_mono_api.c:298: error: ‘sr_mono_env_t’ has no member named ‘assembly’
> > app_mono_api.c: At top level:
> > app_mono_api.c:310: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’
> > before ‘*’ token
> > app_mono_api.c:314: error: expected declaration specifiers or ‘...’
> before
> > ‘MonoString’
> > app_mono_api.c: In function ‘sr_mono_log’:
> > app_mono_api.c:316: warning: implicit declaration of function
> > ‘mono_string_to_utf8’
> > app_mono_api.c:316: error: ‘text’ undeclared (first use in this function)
> > app_mono_api.c:316: error: (Each undeclared identifier is reported only
> once
> > app_mono_api.c:316: error: for each function it appears in.)
> > app_mono_api.c:316: warning: assignment makes pointer from integer
> without a
> > cast
> > app_mono_api.c:318: warning: implicit declaration of function ‘mono_free’
> > app_mono_api.c: At top level:
> > app_mono_api.c:321: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:328: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:338: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:408: error: ‘sr_mono_api_version’ undeclared here (not in
> a
> > function)
> > app_mono_api.c:410: error: ‘sr_mono_err’ undeclared here (not in a
> function)
> > app_mono_api.c:411: error: ‘sr_mono_dbg’ undeclared here (not in a
> function)
> > app_mono_api.c:412: error: ‘sr_mono_modf’ undeclared here (not in a
> > function)
> > app_mono_api.c: In function ‘sr_mono_load_class_core’:
> > app_mono_api.c:420: warning: implicit declaration of function
> > ‘mono_add_internal_call’
> > app_mono_api.c: At top level:
> > app_mono_api.c:427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’
> > before ‘*’ token
> > app_mono_api.c:478: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:530: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:579: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:632: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:679: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:729: error: ‘sr_mono_pv_gets’ undeclared here (not in a
> > function)
> > app_mono_api.c:729: error: initializer element is not constant
> > app_mono_api.c:729: error: (near initialization for
> > ‘_sr_M_export_pv[0].method’)
> > app_mono_api.c:730: error: ‘sr_mono_pv_geti’ undeclared here (not in a
> > function)
> > app_mono_api.c:730: error: initializer element is not constant
> > app_mono_api.c:730: error: (near initialization for
> > ‘_sr_M_export_pv[1].method’)
> > app_mono_api.c:731: error: ‘sr_mono_pv_seti’ undeclared here (not in a
> > function)
> > app_mono_api.c:731: error: initializer element is not constant
> > app_mono_api.c:731: error: (near initialization for
> > ‘_sr_M_export_pv[2].method’)
> > app_mono_api.c:732: error: ‘sr_mono_pv_sets’ undeclared here (not in a
> > function)
> > app_mono_api.c:732: error: initializer element is not constant
> > app_mono_api.c:732: error: (near initialization for
> > ‘_sr_M_export_pv[3].method’)
> > app_mono_api.c:733: error: ‘sr_mono_pv_unset’ undeclared here (not in a
> > function)
> > app_mono_api.c:733: error: initializer element is not constant
> > app_mono_api.c:733: error: (near initialization for
> > ‘_sr_M_export_pv[4].method’)
> > app_mono_api.c:734: error: ‘sr_mono_pv_is_null’ undeclared here (not in a
> > function)
> > app_mono_api.c:734: error: initializer element is not constant
> > app_mono_api.c:734: error: (near initialization for
> > ‘_sr_M_export_pv[5].method’)
> > app_mono_api.c:750: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:801: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:850: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:895: error: expected ‘)’ before ‘*’ token
> > app_mono_api.c:930: error: ‘sr_mono_hdr_append’ undeclared here (not in a
> > function)
> > app_mono_api.c:930: error: initializer element is not constant
> > app_mono_api.c:930: error: (near initialization for
> > ‘_sr_M_export_hdr[0].method’)
> > app_mono_api.c:931: error: ‘sr_mono_hdr_remove’ undeclared here (not in a
> > function)
> > app_mono_api.c:931: error: initializer element is not constant
> > app_mono_api.c:931: error: (near initialization for
> > ‘_sr_M_export_hdr[1].method’)
> > app_mono_api.c:932: error: ‘sr_mono_hdr_insert’ undeclared here (not in a
> > function)
> > app_mono_api.c:932: error: initializer element is not constant
> > app_mono_api.c:932: error: (near initialization for
> > ‘_sr_M_export_hdr[2].method’)
> > app_mono_api.c:933: error: ‘sr_mono_hdr_append_to_reply’ undeclared here
> > (not in a function)
> > app_mono_api.c:933: error: initializer element is not constant
> > app_mono_api.c:933: error: (near initialization for
> > ‘_sr_M_export_hdr[3].method’)
> > make[1]: *** [app_mono_api.o] Error 1
> > make: *** [modules] Error 1
> >
> > Selvam
> >
> > On Fri, Nov 2, 2012 at 1:09 PM, Iwan Budi Kusnanto <ibk at labhijau.net>
> wrote:
> >>
> >> On Wed, Oct 31, 2012 at 7:44 PM, Techie Sup <techsup0073 at gmail.com>
> wrote:
> >> > Hello,
> >> >
> >> > I followed the instruction mentioned in Kamailio website. When I do a
> >> > make
> >> > all, I get the error. Please let me know how to fix this. I am new to
> >> > Kamailio.
> >> >
> >> > -------------------
> >> >
> >> > Package mono-2 was not found in the pkg-config search path.
> >> > Perhaps you should add the directory containing `mono-2.pc'
> >>
> >> Looks like you should install mono 2 devel package.
> >>
> >> --
> >> Iwan Budi Kusnanto
> >>
> >> _______________________________________________
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users at lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121103/58ebf59c/attachment-0001.htm>


More information about the sr-users mailing list