compilation error in opensips

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

compilation error in opensips

troxlinux
I am trying to compile opensips 1.4.3, with the  modulate mi_xmlrpc.so
but when compiling the me
 it shows an error message:

abyss_conf.c:240: error: âsuccessPâ undeclared (first use in this function)
abyss_conf.c: In function âparseUserâ:
abyss_conf.c:253: warning: implicit declaration of function âConfReadIntâ
abyss_conf.c:256: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:263: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:264: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c:265: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c: In function âparsePidfileâ:
abyss_conf.c:278: warning: implicit declaration of function âFileOpenCreateâ
abyss_conf.c:278: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c:279: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c: At top level:
abyss_conf.c:290: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âConfReadServerFileâ
make[1]: *** [abyss_conf.o] Error 1
make[1]: Leaving directory `/backup/opensips-1.4.3-tls/modules/mi_xmlrpc'
make: *** [modules] Error 2

regards

--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Fwd: compilation error in opensips

troxlinux
any help list?


---------- Forwarded message ----------
From: troxlinux <[hidden email]>
Date: 2008/12/22
Subject: compilation error in opensips
To: [hidden email]


I am trying to compile opensips 1.4.3, with the  modulate mi_xmlrpc.so
but when compiling the me
 it shows an error message:

abyss_conf.c:240: error: âsuccessPâ undeclared (first use in this function)
abyss_conf.c: In function âparseUserâ:
abyss_conf.c:253: warning: implicit declaration of function âConfReadIntâ
abyss_conf.c:256: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:263: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:264: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c:265: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c: In function âparsePidfileâ:
abyss_conf.c:278: warning: implicit declaration of function âFileOpenCreateâ
abyss_conf.c:278: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c:279: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c: At top level:
abyss_conf.c:290: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âConfReadServerFileâ
make[1]: *** [abyss_conf.o] Error 1
make[1]: Leaving directory `/backup/opensips-1.4.3-tls/modules/mi_xmlrpc'
make: *** [modules] Error 2




--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: compilation error in opensips

Sergio Gutierrez
Hi Troxlinx.

What version of libxml are you using?

Regards.

Sergio G.

On Tue, Dec 23, 2008 at 9:13 AM, troxlinux <[hidden email]> wrote:
any help list?


---------- Forwarded message ----------
From: troxlinux <[hidden email]>
Date: 2008/12/22
Subject: compilation error in opensips
To: [hidden email]


I am trying to compile opensips 1.4.3, with the  modulate mi_xmlrpc.so
but when compiling the me
 it shows an error message:

abyss_conf.c:240: error: âsuccessPâ undeclared (first use in this function)
abyss_conf.c: In function âparseUserâ:
abyss_conf.c:253: warning: implicit declaration of function âConfReadIntâ
abyss_conf.c:256: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:263: error: âstruct _TServerâ has no member named âuidâ
abyss_conf.c:264: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c:265: error: âstruct _TServerâ has no member named âgidâ
abyss_conf.c: In function âparsePidfileâ:
abyss_conf.c:278: warning: implicit declaration of function âFileOpenCreateâ
abyss_conf.c:278: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c:279: error: âstruct _TServerâ has no member named âpidfileâ
abyss_conf.c: At top level:
abyss_conf.c:290: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âConfReadServerFileâ
make[1]: *** [abyss_conf.o] Error 1
make[1]: Leaving directory `/backup/opensips-1.4.3-tls/modules/mi_xmlrpc'
make: *** [modules] Error 2




--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Sergio Gutiérrez

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: compilation error in opensips

troxlinux
Hi Sergio, I am using the version libxml-1.8.17-489.1

REGARDSS

2008/12/23 Sergio Gutierrez <[hidden email]>:
> Hi Troxlinx.
>
> What version of libxml are you using?
>
--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: compilation error in opensips

Sergio Gutierrez
Hi Troxlinux.

I suggest trying a version newer, something like 2.6.26.

I think the problem might be related to that.

Regards.

Sergio G.

On Tue, Dec 23, 2008 at 11:31 AM, troxlinux <[hidden email]> wrote:
Hi Sergio, I am using the version libxml-1.8.17-489.1

REGARDSS

2008/12/23 Sergio Gutierrez <[hidden email]>:
> Hi Troxlinx.
>
> What version of libxml are you using?
>
--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Sergio Gutiérrez

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error in opensips

Bogdan-Andrei Iancu
In reply to this post by troxlinux
Hi,

Are you sure your modules/mi_xmlrpc/abyss_conf.c is not corrupted?

Also, what version of libxmlrpc-c3 are you using?

Regards,
Bogdan



troxlinux wrote:

> I am trying to compile opensips 1.4.3, with the  modulate mi_xmlrpc.so
> but when compiling the me
>  it shows an error message:
>
> abyss_conf.c:240: error: âsuccessPâ undeclared (first use in this function)
> abyss_conf.c: In function âparseUserâ:
> abyss_conf.c:253: warning: implicit declaration of function âConfReadIntâ
> abyss_conf.c:256: error: âstruct _TServerâ has no member named âuidâ
> abyss_conf.c:263: error: âstruct _TServerâ has no member named âuidâ
> abyss_conf.c:264: error: âstruct _TServerâ has no member named âgidâ
> abyss_conf.c:265: error: âstruct _TServerâ has no member named âgidâ
> abyss_conf.c: In function âparsePidfileâ:
> abyss_conf.c:278: warning: implicit declaration of function âFileOpenCreateâ
> abyss_conf.c:278: error: âstruct _TServerâ has no member named âpidfileâ
> abyss_conf.c:279: error: âstruct _TServerâ has no member named âpidfileâ
> abyss_conf.c: At top level:
> abyss_conf.c:290: error: expected â=â, â,â, â;â, âasmâ or
> â__attribute__â before âConfReadServerFileâ
> make[1]: *** [abyss_conf.o] Error 1
> make[1]: Leaving directory `/backup/opensips-1.4.3-tls/modules/mi_xmlrpc'
> make: *** [modules] Error 2
>
> regards
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error in opensips

troxlinux
Hi Bogdan, my version of libxmlrpc-3 is libxmlrpc-c3-1.06.31-1.1

and the file abyss_conf.c not this corrupt one, I give him a less and I see the information inside the one

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#if defined(WIN32) && !defined(__BORLANDC__)
#include <direct.h>
#endif

#ifdef _UNIX
#include <pwd.h>
#endif

that module he needs the version of  XMLRPC_VER=1.03.10?

regards

2008/12/28 Bogdan-Andrei Iancu <[hidden email]>
Hi,

Are you sure your modules/mi_xmlrpc/abyss_conf.c is not corrupted?

Also, what version of libxmlrpc-c3 are you using?

Regards,
Bogdan






--
rickygm

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users