< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Changes required to compile reSIProcate under Cygwin


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

Attachment: reSIProcate_1.4.1_CYGWIN.patch
Description: Binary data