<div dir="ltr">All,<div><br></div><div>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.</div><div>
<br></div><div>Now I'm trying to migrate some tools that I wrote for Windows over to CentOS, and I'm having difficulty building mod_managed.</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>The error I'm getting is this:</div><div><br></div><div><div>making all mod_managed</div><div>swig.cs(27328,27): error CS1519: Unexpected symbol `event' in class, struct, or interface member declaration</div>
<div>swig.cs(27328,29): error CS1519: Unexpected symbol `{' in class, struct, or interface member declaration</div><div>swig.cs(27329,9): error CS1519: Unexpected symbol `{' in class, struct, or interface member declaration</div>
<div>swig.cs(27330,55): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration</div><div>swig.cs(27330,64): error CS1519: Unexpected symbol `,' in class, struct, or interface member declaration</div>
<div>swig.cs(27330,86): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration</div><div>swig.cs(27330,92): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration</div>
<div>swig.cs(27332,4): error CS1525: Unexpected symbol `get'</div><div>swig.cs(27333,6): error CS1525: Unexpected symbol `IntPtr'</div><div>swig.cs(27333,68): error CS1525: Unexpected symbol `('</div><div>swig.cs(27334,45): error CS1525: Unexpected symbol `)'</div>
<div>swig.cs(27334,59): error CS1514: Unexpected symbol `new', expecting `.' or `{'</div><div>swig.cs(27334,57): error CS1530: Keyword `new' is not allowed on namespace elements</div><div>swig.cs(27334,60): error CS1525: Unexpected symbol `switch_event'</div>
<div>Compilation failed: 14 error(s), 0 warnings</div></div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>Does anyone know what I'm missing?</div>
<div><br></div><div>Erik</div></div>