Hi,

I'm trying to compile neko from CVS on a Fedora Core 8 system, but it fails
with this error:

cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -pthread -o
vm/threads.o -c vm/threads.c
vm/threads.c:60: error: expected identifier or '(' before '[' token
vm/threads.c:154: error: expected ')' before '*' token
vm/threads.c:156: error: expected ')' before '*' token
vm/threads.c: In function 'neko_thread_register':
vm/threads.c:205: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'get_sb'
vm/threads.c:205: error: 'get_sb' undeclared (first use in this function)
vm/threads.c:205: error: (Each undeclared identifier is reported only once
vm/threads.c:205: error: for each function it appears in.)
vm/threads.c:205: error: 'my_thread' undeclared (first use in this function)
vm/threads.c:205: warning: left-hand operand of comma expression has no
effect
vm/threads.c:205: error: expected expression before 'std_func'
vm/threads.c:205: warning: left-hand operand of comma expression has no
effect
vm/threads.c:206: error: 'unreg_my_thread' undeclared (first use in this
function)
vm/threads.c:207: warning: implicit declaration of function
'unreg_my_thread'
vm/threads.c:209: error: '__stack_base' undeclared (first use in this
function)
vm/threads.c:209: error: expected ';' before 'sb'
vm/threads.c:211: warning: implicit declaration of function 'get_sb'
vm/threads.c:211: error: 'sb' undeclared (first use in this function)
vm/threads.c:213: warning: implicit declaration of function 'my_thread'
vm/threads.c:217: error: 'gc_stack_ptr' undeclared (first use in this
function)
vm/threads.c:217: error: expected ';' before 'dlsym'
vm/threads.c:218: error: expected ';' before 'dlsym'
vm/threads.c:220: error: 'do_nothing' undeclared (first use in this
function)
vm/threads.c:223: warning: implicit declaration of function
'neko_gc_register_thread'
make: *** [vm/threads.o] Error 1

When I look at that line, it seems perfectly fine. Any ideas?

[EMAIL PROTECTED] neko]$ cc -v
Target: i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)

Regards,
Asger
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to