Hi Nicolas,
I tried it, but still get:
Compiling mod_neko...
gcc -O3 -fPIC -c -I../../vm -I/usr/local/apache/include mod_neko.c
In file included from /usr/local/apache/include/ap_config.h:25,
from /usr/local/apache/include/httpd.h:43,
from mod_neko.h:21,
from mod_neko.c:17:
/usr/local/apache/include/apr.h:273: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘apr_off_t’
In file included from /usr/local/apache/include/apr_file_io.h:29,
from /usr/local/apache/include/apr_network_io.h:26,
from /usr/local/apache/include/httpd.h:53,
from mod_neko.h:21,
from mod_neko.c:17:
with this in mod_neko.h
#ifndef MODNEKO_H
#define MODNEKO_H
#include <unistd.h>
#include <httpd.h>
#include <http_config.h>
#include <http_core.h>
#include <http_log.h>
#include <http_main.h>
#include <http_protocol.h>
#undef NOERROR
#undef INLINE
#include <context.h>
#include <neko_vm.h>
Any other ideas? I've given up the other apache versions,
as I just get segfaults all the time.
cheers
/ marcus
On Feb 17, 2008, at 11:41 AM, Nicolas Cannasse wrote:
#include <unistd.h>
--
Neko : One VM to run them all
(http://nekovm.org)