All,

It's been eighteen days since I moved my production server from Windows to CentOS, as I was recommended, and I couldn't be happier with how stable the system has been.

Now I'm trying to migrate some tools that I wrote for Windows over to CentOS, and I'm having difficulty building mod_managed.

What I want to do is to send an array of bytes over TCP whenever an incoming call is bridged or unbridged. Initially, I used the excellent ESL dll and the managed wrapper, and I tried using lua but support for sending byte arrays is limited.

I decided that mod_managed would allow me to reuse some of my interface code, and so I followed instructions in the wiki to build mod_managed, using the same 1.2.15 tarball that I'm currently running.

The error I'm getting is this:

making all mod_managed
swig.cs(27328,27): error CS1519: Unexpected symbol `event' in class, struct, or interface member declaration
swig.cs(27328,29): error CS1519: Unexpected symbol `{' in class, struct, or interface member declaration
swig.cs(27329,9): error CS1519: Unexpected symbol `{' in class, struct, or interface member declaration
swig.cs(27330,55): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration
swig.cs(27330,64): error CS1519: Unexpected symbol `,' in class, struct, or interface member declaration
swig.cs(27330,86): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration
swig.cs(27330,92): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration
swig.cs(27332,4): error CS1525: Unexpected symbol `get'
swig.cs(27333,6): error CS1525: Unexpected symbol `IntPtr'
swig.cs(27333,68): error CS1525: Unexpected symbol `('
swig.cs(27334,45): error CS1525: Unexpected symbol `)'
swig.cs(27334,59): error CS1514: Unexpected symbol `new', expecting `.' or `{'
swig.cs(27334,57): error CS1530: Keyword `new' is not allowed on namespace elements
swig.cs(27334,60): error CS1525: Unexpected symbol `switch_event'
Compilation failed: 14 error(s), 0 warnings

Opening swig.cs in my development environment shows that it is, indeed, using reserved names for methods - renaming 'event' to 'fsevent' stops the C# compiler from complaining and mod_managed builds.

Thinking that I was just using old code, I checked the git tree, there's an updated swig.cs, but it also uses events and params keywords, and also fails to build.

Does anyone know what I'm missing?

Erik