[slang-users] Problems with modules ...
Ben Duncan
linux4ms at aim.com
Wed May 30 09:38:00 EDT 2007
Ok, I have installed the 2.1 version and now Am having problems with my SLAG
project..
> slsh menu.sl
Produces the following :
Module /usr/lib/slang/v2/modules/slagmenu-module.so is incompatible with this
version of S-Lang
Traceback: import
./menu.sl:6:<top-level>:Import Error
The compile script for the Menu module:
#!/bin/sh
#
# clear
cc -o slagmenu-module.so -shared -fPIC -l slang -I ../include \
appmenu.c utils.c quickselect.c \
-L/usr/lib -lslang -ldl -lm
cp -av slagmenu-module.so /usr/lib/slang/v2/modules
The start of the Program:
% A TEst menu Case
% Add traceback Debug Flags
_debug_info = 1;
_traceback = 1;
import ("slagmenu", "Global") ;
............
................
ANY Ideas ?
--
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS,
39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the slang-users-l
mailing list