SungHyun Nam wrote: > Steve Hall wrote: >> From: Bram Moolenaar, Wed, February 24, 2010 9:48 am >>> >>> Patch 7.2.374 >>> Problem: Ruby eval() doesn't understand Vim types. >>> Solution: Add the vim_to_ruby() function. (George Gensure) >>> Files: src/eval.c, src/if_ruby.c >> >> I'm still seeing build errors with Windows/Cygwin related to Ruby, >> hope this helps: >> >> gobj/if_ruby.o:if_ruby.c:(.text+0x9b5): undefined reference to >> `_rb_string_value_ptr' >> gobj/if_ruby.o:if_ruby.c:(.text+0xae3): undefined reference to >> `_rb_string_value_ptr' >> gobj/if_ruby.o:if_ruby.c:(.text+0xb0d): undefined reference to >> `_rb_string_value_ptr' >> gobj/if_ruby.o:if_ruby.c:(.text+0xbee): undefined reference to >> `_rb_float_new' >> gobj/if_ruby.o:if_ruby.c:(.text+0xbfd): undefined reference to >> `_rb_ary_new' >> gobj/if_ruby.o:if_ruby.c:(.text+0xc1c): undefined reference to >> `_rb_ary_push' >> gobj/if_ruby.o:if_ruby.c:(.text+0xc3d): undefined reference to >> `_rb_string_value_ptr' >> gobj/if_ruby.o:if_ruby.c:(.text+0xf38): undefined reference to >> `_rb_string_value_ptr' >> gobj/if_ruby.o:if_ruby.c:(.text+0x1157): undefined reference to >> `_rb_string_value_ptr' >> collect2: ld returned 1 exit status >> make: *** [gvim.exe] Error 1 > > I have no build problem with up-to-dated cygwin/ruby. > > You might want to report more information such as configure > option, cygwin/windows version, ruby version, gcc command line, > etc. > > Regards, > namsh > > $ uname -a > CYGWIN_NT-5.1 namsh 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin > > $ ruby --version > ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] > > $ LANG= gvim > :ver > VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 25 2010 09:39:01) > Included patches: 1-376 > Compiled by na...@namsh > Normal version with GTK2 GUI. Features included (+) or not (-): > -arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent > +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info > +comments > +cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic > -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path > +find_in_path > +float +folding -footer +fork() +gettext -hangul_input +iconv > +insert_expand > +jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds > +localmap > +menu +mksession +modify_fname +mouse +mouseshape -mouse_dec -mouse_gpm > -mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte > +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra -perl > +postscript > +printer -profile +python +quickfix +reltime -rightleft +ruby +scrollbind > +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax > +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse > +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual > +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup > +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save > system vimrc file: "$VIM/vimrc" > user vimrc file: "$HOME/.vimrc" > user exrc file: "$HOME/.exrc" > system gvimrc file: "$VIM/gvimrc" > user gvimrc file: "$HOME/.gvimrc" > system menu file: "$VIMRUNTIME/menu.vim" > fall-back for $VIM: "/opt/share/vim" > Compilation: gcc-4 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK > -I/usr/include > /gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/ > usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 > -O2 -m > arch=i686 -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=1 > -I/usr/include/pyth > on2.5 -I/usr/lib/ruby/1.8/i386-cygwin -DRUBY_VERSION=18 > Linking: gcc-4 -L. -L/usr/local/lib -o vim.exe -lgtk-x11-2.0 > -lgdk-x11-2.0 > -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi > -lXrandr - > lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo > -lpixman- > 1 -lglitz -lpng12 -lxcb-render-util -lXrender -lxcb-render -lxcb -lXau > -lpango-1 > .0 -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 > -lglib-2.0 -l > intl -lXt -lX11 -lSM -lICE -lncurses -liconv -lintl > -L/usr/lib/python2.5/conf > ig -lpython2.5 -lm -lruby -ldl -lcrypt
You've compiled vim for Cygwin not for Windows Best regards -- Cesar -- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
