Hello!

Thanks! It compiles now.

--
Best Regards,
Alex Massover
VoIP R&D TL
Jajah Inc.
From: Di-Shi Sun [mailto:[email protected]]
Sent: Tuesday, September 01, 2009 2:59 AM
To: [email protected]; Alex Massover
Cc: [email protected]
Subject: Re: OSP module doesn't compile for me on 1.5.x

Hi Alex,

OpenSIPS 1.5.1 and later versions only work with OSP Toolkit 3.5.2. Would you 
please download OSPToolkit-3.5.2.tar.gz from 
http://sourceforge.net/projects/osp-toolkit/ and try again?

Thanks,

Di-Shi Sun.
----- Original Message -----
From: Alex Massover<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Cc: Di-Shi Sun<mailto:[email protected]>
Sent: Monday, August 31, 2009 10:24 PM
Subject: OSP module doesn't compile for me on 1.5.x

Hi!

Looks like OSP module doesn't compile for me on 1.5.x  (1.4.5 compiles without 
problem - on the same machine). I tried the trunk with latest patches from Mr. 
Di-Shi Sun, without success.

I have osptoolkit 3.4.2 installed. Please advise.

gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops 
-falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition 
-Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"osp"'    
-DNAME='"opensips"' -DVERSION='"1.5.3-notls"' -DARCH='"i386"' -DOS='"linux"' 
-DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes 
-DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS 
-DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT 
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN 
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL 
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT 
-D_POSIX_THREADS -I/usr/local/include -c orig_transaction.c -o 
orig_transaction.o
In file included from orig_transaction.c:40:
sipheader.h:51: error: expected declaration specifiers or '...' before 
'OSPT_CALL_ID'
orig_transaction.c: In function 'ospLoadRoutes':
orig_transaction.c:84: error: 'OSPE_DEST_PROTOCOL' 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_OSPENABLED' 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: 'OSPC_DPROT_SIP' undeclared (first use in this 
function)
orig_transaction.c:157: error: 'OSPC_DPROT_LRQ' undeclared (first use in this 
function)
orig_transaction.c:158: error: 'OSPC_DPROT_Q931' undeclared (first use in this 
function)
orig_transaction.c:159: error: 'OSPC_DPROT_IAX' undeclared (first use in this 
function)
orig_transaction.c:163: error: 'OSPC_DPROT_UNDEFINED' undeclared (first use in 
this function)
orig_transaction.c:164: error: 'OSPC_DPROT_UNKNOWN' undeclared (first use in 
this function)
orig_transaction.c:170: error: 'enabled' undeclared (first use in this function)
orig_transaction.c:174: error: 'OSPC_DOSP_FALSE' undeclared (first use in this 
function)
orig_transaction.c:189: error: 'OSPC_ROLE_SOURCE' undeclared (first use in this 
function)
orig_transaction.c: In function 'ospRequestRouting':
orig_transaction.c:261: error: 'OSPT_CALL_ID' undeclared (first use in this 
function)
orig_transaction.c:261: error: 'callids' undeclared (first use in this function)
orig_transaction.c:283: error: too many arguments to function 'ospGetCallId'
orig_transaction.c:324: warning: implicit declaration of function 
'OSPPTransactionSetRoutingNumber'
orig_transaction.c:332: error: 'OSPC_NFORMAT_E164' undeclared (first use in 
this function)
make[1]: *** [orig_transaction.o] Error 1
make[1]: Leaving directory `/usr/src/opensips-1.5.3-notls/modules/osp'
make: *** [modules] Error 2

--
Best Regards,
Alex Massover
VoIP R&D TL
Jajah Inc.


This mail was sent via Mail-SeCure System.


This mail was received via Mail-SeCure System.

This mail was sent via Mail-SeCure System.


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

Reply via email to