[Yarv-devel] evalc.patch

Kashia Buch kashia at vfemail.net
Mon Oct 10 08:21:24 EDT 2005


Hi, me again, next error:

gcc main.o  libruby1.9-static.a -lpthread -ldl -lobjc   -o miniruby -g  
-O2  -fno-common -pipe -fno-common
ld: Undefined symbols:
_va_init_list
make: *** [miniruby] Error 1

which should be defined somehere..

jo:~/build/ruby john$ grep -r va_init_list *
eval.c:    va_init_list(args, n);
Binary file eval.o matches
evalc.patch:+    va_init_list(args, n);
...
Binary file libruby1.9-static.a matches

so, it seems to be the patches fault again.

jo:~/build/ruby john$ nm eval.o | grep init_list
          U _va_init_list

so, Undefined symbol in eval.o....

in ext/tk/tcltklib.c:#define va_init_list(a,b) va_start(a,b)

so, adding this #define to eval.c did the trick, but again, I'm not sure  
weither this is the intended behaviour...

Kash

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Yarv-devel mailing list