Re: [Osp-toolkit-client] Kamailio OSP-module compile problem
Brought to you by:
osp-project
From: Martin W. <mar...@go...> - 2009-07-30 08:59:23
|
Hi! "/usr/local/include/osp" exists and is loaded with .h files. Martin ----- Original Message ----- From: "Dmitry Isakbayev" <dm...@tr...> To: "Martin Werne" <mar...@go...> Cc: osp...@li..., us...@li..., "Support TransNexus" <su...@tr...> Sent: Wednesday, 29 July, 2009 16:18:34 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: Kamailio OSP-module compile problem Hi Martin, After compiling and installing OSP Toolkit 3.5.2, check that you have "/usr/local/include/osp" folder. Regards, Dmitry Martin Werne wrote: > Hi! > > I have problem compiling the OSP-module in Kamailio 1.5.x > > OS: Ubuntu Server 8.04LTS > > Compiling and installing OSPToolkit is OK. > The problem occures when it comes to compiling the OSP-module in Kamailio: > > make[1]: Entering directory `/usr/src/kamailio/modules/osp' > make[1]: Leaving directory `/usr/src/kamailio/modules/osp' > make[1]: Entering directory `/usr/src/kamailio/modules/osp' > Compiling destination.c > Compiling globals.c > Compiling orig_transaction.c > In file included from orig_transaction.c:40: > sipheader.h:48: error: expected declaration specifiers or '...' before 'OSPTCALLID' > orig_transaction.c: In function 'ospLoadRoutes': > orig_transaction.c:84: error: 'OSPE_DEST_PROT' undeclared (first use in this function) > orig_transaction.c:84: error: (Each undeclared identifier is reported only once > orig_transaction.c:84: error: for each function it appears in.) > orig_transaction.c:84: error: expected ';' before 'protocol' > orig_transaction.c:85: error: 'OSPE_DEST_OSP_ENABLED' undeclared (first use in this function) > orig_transaction.c:85: error: expected ';' before 'enabled' > orig_transaction.c:150: error: 'protocol' undeclared (first use in this function) > orig_transaction.c:154: error: 'OSPE_DEST_PROT_SIP' undeclared (first use in this function) > orig_transaction.c:157: error: 'OSPE_DEST_PROT_H323_LRQ' undeclared (first use in this function) > orig_transaction.c:158: error: 'OSPE_DEST_PROT_H323_SETUP' undeclared (first use in this function) > orig_transaction.c:159: error: 'OSPE_DEST_PROT_IAX' undeclared (first use in this function) > orig_transaction.c:163: error: 'OSPE_DEST_PROT_UNDEFINED' undeclared (first use in this function) > orig_transaction.c:164: error: 'OSPE_DEST_PROT_UNKNOWN' undeclared (first use in this function) > orig_transaction.c:170: error: 'enabled' undeclared (first use in this function) > orig_transaction.c:174: error: 'OSPE_OSP_FALSE' undeclared (first use in this function) > orig_transaction.c:189: error: 'OSPC_SOURCE' undeclared (first use in this function) > orig_transaction.c: In function 'ospRequestRouting': > orig_transaction.c:260: error: 'OSPTCALLID' undeclared (first use in this function) > orig_transaction.c:260: error: 'callids' undeclared (first use in this function) > orig_transaction.c:282: error: too many arguments to function 'ospGetCallId' > orig_transaction.c:325: error: 'OSPC_E164' undeclared (first use in this function) > make[1]: *** [orig_transaction.o] Error 1 > make[1]: Leaving directory `/usr/src/kamailio/modules/osp' > make: *** [modules] Error 2 > > > Has tried with both OSPToolkit 3.5.2 and 3.3.6. > And with both Kamailio 1.5.1 and 1.5.2 > Same problem. > > > Does anyone know what is the problem? > > Regards, > Martin |