[Kamailio-Devel] [ openser-Bugs-2132257 ] mediaproxy module does not compile on solaris 10

SourceForge.net noreply at sourceforge.net
Tue Oct 21 09:45:28 CEST 2008


Bugs item #2132257, was opened at 2008-09-27 16:03
Message generated for change (Comment added) made by m-akl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2132257&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Muhammad Akl (m-akl)
Assigned to: Henning Westerholt (henningw)
Summary: mediaproxy module does not compile on solaris 10

Initial Comment:
Version : 1.4.1 Os : Solaris 10

Bug Description:

while was trying to compile kamailio 1.4.1 i got this message related to mediaproxy module: 

http://pastebin.com/m6aa598fc

i got a temporarily solution by removing the undeclared funtion (MSG_NOSINGAL) from this Line:

bytes = send(mediaproxy_socket.sock, command+sent, cmd_len-sent, MSG_DONTWAIT|MSG_NOSIGNAL);

and modified it to be :

bytes = send(mediaproxy_socket.sock, command+sent, cmd_len-sent, MSG_DONTWAIT); 

I don't know it's the right way or not , but at least the module started to compile again 

regards

Muhammad

----------------------------------------------------------------------

Comment By: Muhammad Akl (m-akl)
Date: 2008-10-21 09:45

Message:
Hi henningw, 

Tested, Everything now seems to be fine 

Regards 

Muhammad

----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2008-10-15 17:40

Message:
Hi Muhammad,

i commited a fix for this to trunk and 1.4, can you try again to compile
this module? This should be fixed now.

Henning

----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2008-10-06 12:51

Message:
Hi Muhammad,
[..]
mediaproxy.c: In function `send_command':
mediaproxy.c:1185: error: `MSG_NOSIGNAL' undeclared (first use in this
function)

It should be ok if you remove this not present define from the code in the
solaris case. Perhaps we should add a #ifdef around this code, to detect
sun systems.

Cheers,

Henning

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2132257&group_id=139143



More information about the Devel mailing list