Hi Nicolas, and thanks for your help,
I tried what you said and I still get this:
#0 0x00752123 in context_new () from /lib/libselinux.so.1
#1 0x0026938a in neko_init () from /home/mb/neko/mod_neko.ndll
#2 0x0807ae50 in ap_run_post_config (pconf=0x9b87550,
plog=0x9bd37c0, ptemp=0x9bd57c8, s=0x9bb1c98) at config.c:91
#3 0x080689b9 in main (argc=163075400, argv=0x9c6ec00) at main.c:684
And now when compiling:
Compiling mod_neko2...
The file httpd.h provided when installing Apache 2.2.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> /usr/local/apache/include
The file apr.h provided when installing Apache 2.2.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> /usr/local/apache/include
gcc -O0 -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/local/apache/
include -I/usr/local/apache/include mod_neko.c
gcc -O0 -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/local/apache/
include -I/usr/local/apache/include cgi.c
gcc -O0 -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/local/apache/
include -I/usr/local/apache/include ../../vm/context.c
gcc -shared -L../../bin -lneko -L../../libs/include -o ../../bin/
mod_neko2.ndll mod_neko.o cgi.o ../../vm/context.o
It must be something small like what you are saying. Is there
some other trick we can try to get rid of libselinux?
Cheers,
Marcus
On Feb 18, 2008, at 5:14 PM, Nicolas Cannasse wrote:
Marcus Bergstrom a écrit :
Is there any way to solve a segmentation fault?
Are there any flags or something I can change?
This is what I get from gdb:
#0 0x00752123 in context_new () from /lib/libselinux.so.1
#1 0x0013e07a in neko_init () from /home/mb/neko/mod_neko.ndll
#2 0x0807ae50 in ap_run_post_config (pconf=0x9b95550,
plog=0x9be17c0,
ptemp=0x9be37c8, s=0x9bbfc98) at config.c:91
#3 0x080689b9 in main (argc=163132744, argv=0x9c7cbe8) at main.c:684
Uhm.
Looks like you're having a symbol conflict, context_new is resolved
into
/lib/libselinux.so instead of inside mod_neko.ndll or libneko.so
Could you try to add in neko/src/tools/install.neko in mod_neko src
array the file "../../vm/context".
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)