David Thompson wrote:
I have written several outboard modules that
worked fine with DX 4.1.3, but produce an error "connection to
localhost failed" when compiled and used with 4.2.0, 4.3.0 or 4.3.2.
It is fixed in cvs as of about a month ago. If you have to have outboard
modules, get the latest cvs and compile it.
Thanks for the above reply, it solved my problem! Although
opendx.watson.ibm.com/dx/tars only offers versions up to that of July 30th,
with which I had some compilation problems, simply stealing ccm.c from that
CVS version and using it as dx-4.3.2/src/exec/dpexec/ccm.c worked fine.
By the way, I had to insert
static int yy_prev_more_offset = 0;
into dx-4.3.2/src/uipp/dxuilib/netlex.c to get the installation going, it had
previously been undefined.
My suggestion as always is
to build loadable modules since they tend to be faster (no latency when
starting and shutting down).
The module in question is used to couple a simulation with DX and thus has to
spawn a thread that survives the module's execution and with which it shares
static variables. I think I once unsuccessfully tried to compile this as
loadable. Does it make sense to try again or is this a case that can only work
with an outboard module?
--
Urs Enke <[EMAIL PROTECTED]>
High-Performance Computing
Center for Computing and Communication
RWTH Aachen University