Hi!
I'm trying to build Neko VM 1.1 and the current CVS
revision in Mac OS X.4.3, but I get:
$ make
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/alloc.o -c vm/alloc.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/builtins.o -c vm/builtins.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/callback.o -c vm/callback.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/context.o -c vm/context.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/interp.o -c vm/interp.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/load.o -c vm/load.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/objtable.o -c vm/objtable.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/others.o -c vm/others.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/hash.o -c vm/hash.c
/usr/bin/gcc -Wall -O3 -fPIC -fomit-frame-pointer -I
vm -DCOMPACT_TABLE -o vm/module.o -c vm/module.c
gcc-4 -dynamic -o bin/libneko.so vm/alloc.o
vm/builtins.o vm/callback.o vm/context.o vm/interp.o
vm/load.o vm/objtable.o vm/others.o vm/hash.o
vm/module.o -ldl -lgc -lm
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [bin/libneko.so] Error 1
I uncommented the two lines under the "For OSX"
comment in the Makefile. And I tried compiling with
GCC versions 3.3 and 4.0.
I'd love to get this thing working, because I'm very
eager to try to compile haXe into Neko.
HK
___________________________________________________________
Don't buy what they're selling below!
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail
http://uk.messenger.yahoo.com
---
Neko : One VM to run them all