caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@inria.fr
Subject: Build errors (was Re: [Caml-list] Neko 1.0)
Date: Thu, 18 Aug 2005 09:41:14 -0600	[thread overview]
Message-ID: <4304AC1A.70307@havenrock.com> (raw)
In-Reply-To: <013101c5a3d4$3100d6e0$ef01a8c0@warp>

> 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


  parent reply	other threads:[~2005-08-18 15:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18  9:06 Neko 1.0 Nicolas Cannasse
2005-08-18 14:33 ` [Caml-list] " Matt Gushee
2005-08-18 14:51   ` Matt Gushee
     [not found]     ` <014e01c5a406$45a30dc0$ef01a8c0@warp>
2005-08-18 15:12       ` Matt Gushee
2005-08-18 15:41 ` Matt Gushee [this message]
2005-08-18 18:22   ` Build errors (was Re: [Caml-list] Neko 1.0) skaller
2005-08-18 18:26     ` skaller
2005-08-18 18:43       ` Nicolas Cannasse
2005-08-18 18:41     ` Nicolas Cannasse
2005-08-18 20:39     ` Sven Luther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4304AC1A.70307@havenrock.com \
    --to=mgushee@havenrock.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).