On Fri, 2005-10-21 at 15:56 +0200, Nicolas Cannasse wrote:

BTW: please change file names to 'neko_load.h' etc for all
public files  .. otherwise embedding is impossible.

Ideally, same for all symbols in FFI .. 

cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/alloc.c -o vm/al
loc.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/builtins.c -o
vm /builtins.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/callback.c -o
vm /callback.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/context.c -o vm/
context.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/interp.c -o vm/i
nterp.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/load.c -o vm/loa
d.o
vm/load.c: In function ‘neko_module_read’:
vm/load.c:202: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:205: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:206: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:207: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:227: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:281: warning: passing argument 3 of ‘read_long’ from incompati
ble pointer type
vm/load.c:359: warning: pointer targets in passing argument 2 of ‘neko_c
heck_stack’ differ in signedness
vm/load.c:367: warning: pointer targets in passing argument 2 of ‘neko_c
heck_stack’ differ in signedness
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/objtable.c -o
vm /objtable.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/others.c -o vm/o
thers.o
vm/others.c: In function ‘neko_stack_expand’:
vm/others.c:251: warning: assignment from incompatible pointer type
vm/others.c:252: warning: assignment from incompatible pointer type
gcc -shared -WBsymbolic vm/alloc.o vm/builtins.o vm/callback.o vm/contex
t.o vm/interp.o vm/load.o vm/objtable.o vm/others.o -ldl -lgc -lm -o
bin /libneko.so
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c vm/main.c -o vm/mai
n.o
vm/main.c: In function ‘main’:
vm/main.c:52: warning: assignment from incompatible pointer type
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm vm/main.o -Lbin -lneko
-o bin/nekovm
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/buffer.c -
o libs/std/buffer.o
libs/std/buffer.c: In function ‘buffer_add_char’:
libs/std/buffer.c:43: warning: pointer targets in passing argument 2 of
‘neko_buffer_append_sub’ differ in signedness
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/date.c -o
libs/std/date.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/file.c -o
libs/std/file.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/hash.c -o
libs/std/hash.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/init.c -o
libs/std/init.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/int32.c -o
libs/std/int32.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/math.c -o
libs/std/math.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/others.c -
o libs/std/others.o
libs/std/others.c:66: warning: conflicting types for built-in function ‘
sprintf’
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/random.c -
o libs/std/random.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/serialize.
c -o libs/std/serialize.o
libs/std/serialize.c: In function ‘unserialize_rec’:
libs/std/serialize.c:355: warning: assignment from incompatible pointer
type
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/socket.c -
o libs/std/socket.o
libs/std/socket.c: In function ‘socket_accept’:
libs/std/socket.c:292: warning: pointer targets in passing argument 3 of
‘accept’ differ in signedness
libs/std/socket.c: In function ‘socket_peer’:
libs/std/socket.c:303: warning: pointer targets in passing argument 3 of
‘getpeername’ differ in signedness
libs/std/socket.c: In function ‘socket_host’:
libs/std/socket.c:316: warning: pointer targets in passing argument 3 of
‘getpeername’ differ in signedness
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/sys.c -o l
ibs/std/sys.o
cc -D_64BITS -O3 -fPIC -fomit-frame-pointer -I vm -c libs/std/xml.c -o l
ibs/std/xml.o
gcc -shared -WBsymbolic libs/std/buffer.o libs/std/date.o libs/std/file.
o libs/std/hash.o libs/std/init.o libs/std/int32.o libs/std/math.o libs/
std/others.o libs/std/random.o libs/std/serialize.o libs/std/socket.o li
bs/std/sys.o libs/std/xml.o -Lbin -lneko -o bin/std.ndll
(cd src && LD_LIBRARY_PATH=../bin NEKOPATH=../boot ../bin/nekovm Nekoml/
Main Neko/Main.nml Nekoml/Main.nml)
Uncaught exception - load.c(426) : Invalid module : Nekoml/Main
make: *** [compiler] Error 1



-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

---
Neko : One VM to run them all

Reply via email to