Re: Attempting to get WEE to work on Linux
- Posted by jimcbrown (admin) Aug 26, 2015
- 1619 views
xecronix said...
I'm attempting to get WEE to work on Linux but I'm not having luck yet. I get the following error:
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back() Internal error: CallBack routine id patch failed: missing magic. ... called from /home/ronald/dev/WEE/EuGTK/GtkEngine.e:730
However this problem does not seem to be unique to Wee or EuGTK
[ronald@localhost unix]$ pwd /home/ronald/dev/euphoria/demo/unix [ronald@localhost unix]$ eui qsort.ex /usr/local/share/euphoria/include/std/dll.e:554 in function call_back() Internal error: CallBack routine id patch failed: missing magic. ... called from /home/ronald/dev/euphoria/demo/unix/qsort.ex:31 --> See ex.err
I've confirmed this error with qsort.ex
If I go into be_machine.c and change all references of CALLBACK_SIZE to 300 (specifically on lines 2354 and 2358) then the error goes away and qsort works.
I'm not in a position to test wee right now, can you make this change, rebuild, and see if you still have this problem with qsort and wee ?
If you can't, then I'll either try it out on the image you sent me, or attempt to download and install wee on the image that I have set up sometime tomorrow.