- Subject: [slang-users] Problems with modules ...
- From: Ben Duncan <linux4ms@xxxxxxx>
- Date: Wed, 30 May 2007 08:38:00 -0500
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
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]