[Kamailio-Users] Kamailio OSP-module compile problem
Martin Werne
martin.werne at googlemail.com
Wed Jul 29 15:47:06 CEST 2009
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
More information about the Users
mailing list