Hi, As suggested by Fons, adding in the small test program XInitThreads() immediately before the XtAppInitialize(...) cures the problem on both systems ... (Fons rulez :-) I think I know what needs to be done .. 1. modify the $G4INSTALL/source/interfaces/common/src/G4Xt.cc adding in the constructor: ... Arg xargs[1]; XtSetArg (xargs[0],XtNgeometry,"100x100"); #ifdef _REENTRANT XInitThreads(); #endif topWidget = XtAppInitialize (&appContext,a_class NULL,(Cardinal)0, &narg,a_args,NULL, xargs,1); ... 2. recompile the whole G4 ADDING the "-pthread" flag to the options. The G4Xt is internally used by BOTH the Xm and Xaw base G4UI ... This should cure the problem for good ... In the future, somehow an "automatic" way of adding the "pthread" option to compiler flags should be found ... Best regards, Jacek. P.S. Have I already mentioned that I believe that quick and comprehensive help can be achieved from the ROOT team? :-)
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET