[reSIProcate] Changes required to compile reSIProcate under Cygwin

Francis Joanis francis.joanis at gmail.com
Wed Nov 19 12:48:38 CST 2008


Hi all,

I have been able to compile the reSIProcate "core" components (that
is, rutil, stack, dum, ... - I haven't tried the services like repro
and such) under Cygwin (CYGWIN_NT-5.1 - 1.5.25(0.156/4/2)).

However, the compilation didn't work out of the box and some changes
were required.

I've attached a patch file to this message that shows the changes.

In a nutshell, there were three main changes:

- Build scripts (Makefile.all) that could not parse Cygwin's uname -r results
- pthread_t is a pointer under Cygwin (like MacOS), so Log.cxx/Log.hxx
had to be modified to use HashValue
- Cygwin doesn't seem to have any support for IPV6, so
Tuple::writeBinaryToken had to be changed

I do not think the changes to the Tuple class are completely valid - I
mainly just prevented the offending IPV6 code to be called when
USE_IPV6 is off.

I haven't run the unit tests on it yet. However, my component that is
mainly using the stack seems to work fine.

I hope this is useful.

Regards,
Francis Joanis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reSIProcate_1.4.1_CYGWIN.patch
Type: application/octet-stream
Size: 2208 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20081119/44c018b5/attachment.obj>


More information about the resiprocate-devel mailing list