From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 1BA14BCA2 for ; Thu, 18 Aug 2005 17:41:11 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j7IFfAiB017524 for ; Thu, 18 Aug 2005 17:41:10 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA06874 for ; Thu, 18 Aug 2005 17:41:10 +0200 (MET DST) Received: from mz1.forethought.net (mzpi3.forethought.net [216.241.36.12]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j7IFf8oL017520 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 18 Aug 2005 17:41:09 +0200 Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz1.forethought.net with esmtp (Exim 4.51) id 1E5mVv-00067r-NP for caml-list@inria.fr; Thu, 18 Aug 2005 09:41:07 -0600 Message-ID: <4304AC1A.70307@havenrock.com> Date: Thu, 18 Aug 2005 09:41:14 -0600 From: Matt Gushee User-Agent: Mozilla Thunderbird 1.0 (X11/20050108) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Build errors (was Re: [Caml-list] Neko 1.0) References: <013101c5a3d4$3100d6e0$ef01a8c0@warp> In-Reply-To: <013101c5a3d4$3100d6e0$ef01a8c0@warp> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4304AC16.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4304AC14.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 lib:01 libs:01 gcc:01 makefile:01 gcc:01 alloc:01 interp:01 -shared:01 -lm:01 -ldl:01 alloc:01 interp:01 makefile:01 -wl:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 > I have released Neko 1.0 which is an intermediate programming language with Okay, I think I have taken care of all the prerequisites, and tried compiling Neko, but there were a couple of errors: 1) lib.n depends on test.n, which is not provided. I created libs/test.neko using your "hello world" code, and that seems to work, but ... 2) Nasty looking error that I don't know how to interpret (see 'make' output below) ... unless ... I noticed a warning about the Apache version. Is that the problem? I have Apache 2.0.54, and would really rather not downgrade if I can avoid it. Also, I am running Arch Linux 0.7, with glibc 2.3.4 and gcc 3.4.3. -- Matt Gushee Englewood, CO, USA cd vm; make -f ../Makefile libneko.so make[1]: Entering directory `/.devel/local.src/neko-1.0/vm' gcc -O3 -I../vm -D__linux__ -c alloc.c gcc -O3 -I../vm -D__linux__ -c builtins.c gcc -O3 -I../vm -D__linux__ -c callback.c gcc -O3 -I../vm -D__linux__ -c context.c gcc -O3 -I../vm -D__linux__ -c interp.c gcc -O3 -I../vm -D__linux__ -c load.c gcc -O3 -I../vm -D__linux__ -c objtable.c gcc -O3 -I../vm -D__linux__ -c others.c gcc -shared -lm -ldl -lgc -o ../bin/libneko.so alloc.o builtins.o callback.o context.o interp.o load.o objtable.o others.o make[1]: Leaving directory `/.devel/local.src/neko-1.0/vm' cd vm; make -f ../Makefile bin/nekovm make[1]: Entering directory `/.devel/local.src/neko-1.0/vm' gcc -O3 -I../vm -D__linux__ -c main.c gcc -Wl,-Bsymbolic -L../bin -lneko -o ../bin/nekovm main.o make[1]: Leaving directory `/.devel/local.src/neko-1.0/vm' cd neko; make -f ../Makefile neko make[1]: Entering directory `/.devel/local.src/neko-1.0/neko' ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib ast.ml ocamllex lexer.mll 58 states, 2020 transitions, table size 8428 bytes ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib lexer.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib parser.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib printer.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib bytecode.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib compile.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib plugin.ml ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib main.ml ocamlopt -o ../bin/neko -I ../extlib-dev -I +extLib extLib.cmxa ast.cmx lexer.cmx parser.cmx printer.cmx bytecode.cmx compile.cmx plugin.cmx main.cmx rm lexer.ml make[1]: Leaving directory `/.devel/local.src/neko-1.0/neko' cd libs; make -f ../Makefile libs.n make[1]: Entering directory `/.devel/local.src/neko-1.0/libs' ../bin/neko test.neko make[1]: Leaving directory `/.devel/local.src/neko-1.0/libs' cd libs; make -f ../Makefile libs.ndll make[1]: Entering directory `/.devel/local.src/neko-1.0/libs' gcc -O3 -I../vm -D__linux__ -Wl,-Bsymbolic -L../bin -lneko -shared -o ../bin/std.ndll std/*.c gcc -O3 -I../vm -D__linux__ -Wl,-Bsymbolic -L../bin -lneko -shared -I /usr/include/apache -o ../bin/mod_neko.ndll -I mod_neko mod_neko/*.c mod_neko/cgi.c: In function `get_cookies': mod_neko/cgi.c:115: warning: initialization makes pointer from integer without a cast mod_neko/cgi.c: In function `redirect': mod_neko/cgi.c:190: error: `REDIRECT' undeclared (first use in this function) mod_neko/cgi.c:190: error: (Each undeclared identifier is reported only once mod_neko/cgi.c:190: error: for each function it appears in.) mod_neko/cgi.c: In function `get_client_header': mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes pointer from integer without a cast mod_neko/cgi.c: In function `get_params': mod_neko/cgi.c:332: warning: initialization makes pointer from integer without a cast mod_neko/mod_neko.c: In function `cache_find': mod_neko/mod_neko.c:56: error: structure has no member named `st_mtime' mod_neko/mod_neko.c: In function `cache_module': mod_neko/mod_neko.c:77: error: structure has no member named `st_mtime' mod_neko/mod_neko.c:85: error: structure has no member named `st_mtime' mod_neko/mod_neko.c: At top level: mod_neko/mod_neko.c:156: error: parse error before "pool" mod_neko/mod_neko.c:161: error: parse error before "neko_handlers" mod_neko/mod_neko.c:162: warning: braces around scalar initializer mod_neko/mod_neko.c:162: warning: (near initialization for `neko_handlers[0]') mod_neko/mod_neko.c:162: warning: initialization makes integer from pointer without a cast mod_neko/mod_neko.c:162: warning: excess elements in scalar initializer mod_neko/mod_neko.c:162: warning: (near initialization for `neko_handlers[0]') mod_neko/mod_neko.c:163: warning: braces around scalar initializer mod_neko/mod_neko.c:163: warning: (near initialization for `neko_handlers[1]') mod_neko/mod_neko.c:163: warning: initialization makes integer from pointer without a cast mod_neko/mod_neko.c:164: warning: data definition has no type or storage class mod_neko/mod_neko.c:166: error: parse error before "neko_module" mod_neko/mod_neko.c:167: error: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function) mod_neko/mod_neko.c:167: error: initializer element is not constant mod_neko/mod_neko.c:167: error: (near initialization for `neko_module') mod_neko/mod_neko.c:168: warning: excess elements in scalar initializer mod_neko/mod_neko.c:168: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:169: warning: excess elements in scalar initializer mod_neko/mod_neko.c:169: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:170: warning: excess elements in scalar initializer mod_neko/mod_neko.c:170: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:171: warning: excess elements in scalar initializer mod_neko/mod_neko.c:171: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:172: warning: excess elements in scalar initializer mod_neko/mod_neko.c:172: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:173: warning: excess elements in scalar initializer mod_neko/mod_neko.c:173: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:174: warning: excess elements in scalar initializer mod_neko/mod_neko.c:174: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:175: warning: excess elements in scalar initializer mod_neko/mod_neko.c:175: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:176: warning: excess elements in scalar initializer mod_neko/mod_neko.c:176: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:177: warning: excess elements in scalar initializer mod_neko/mod_neko.c:177: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:178: warning: excess elements in scalar initializer mod_neko/mod_neko.c:178: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:179: warning: excess elements in scalar initializer mod_neko/mod_neko.c:179: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:180: warning: excess elements in scalar initializer mod_neko/mod_neko.c:180: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:181: warning: excess elements in scalar initializer mod_neko/mod_neko.c:181: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:182: warning: excess elements in scalar initializer mod_neko/mod_neko.c:182: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:183: warning: excess elements in scalar initializer mod_neko/mod_neko.c:183: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:184: warning: excess elements in scalar initializer mod_neko/mod_neko.c:184: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:186: warning: excess elements in scalar initializer mod_neko/mod_neko.c:186: warning: (near initialization for `neko_module') mod_neko/mod_neko.c:186: warning: data definition has no type or storage class make[1]: *** [mod_neko.ndll] Error 1 make[1]: Leaving directory `/.devel/local.src/neko-1.0/libs' make: *** [libs] Error 2