Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build with dynamic ruby 1.9.3 #49

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 4 comments
Closed

failed to build with dynamic ruby 1.9.3 #49

GoogleCodeExporter opened this issue Aug 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
    ./configure --prefix=/usr --localstatedir=/var/lib/vim \
        --mandir=/usr/share/man \
        --with-features=huge --enable-gpm --enable-acl --with-x=no \
        --disable-gui --enable-multibyte --enable-cscope \
        --disable-netbeans --enable-perlinterp=dynamic \
        --enable-pythoninterp=dynamic --enable-python3interp=dynamic \
        --enable-rubyinterp=dynamic --enable-luainterp=dynamic

2. make

What is the expected output? What do you see instead?
success build


What version of the product are you using? On what operating system?
7.3.410, archlinux

Please provide any additional information below.

build ends with:

objects/if_ruby.o: In function `window_s_aref':
if_ruby.c:(.text+0x31f): undefined reference to `rb_fix2int'
if_ruby.c:(.text+0x361): undefined reference to `rb_num2int'
objects/if_ruby.o: In function `buffer_s_aref':
if_ruby.c:(.text+0x3cf): undefined reference to `rb_fix2int'
if_ruby.c:(.text+0x419): undefined reference to `rb_num2int'
objects/if_ruby.o: In function `window_set_width':
if_ruby.c:(.text+0x105d): undefined reference to `rb_num2int'
if_ruby.c:(.text+0x1089): undefined reference to `rb_fix2int'
objects/if_ruby.o: In function `window_set_height':
if_ruby.c:(.text+0x10cd): undefined reference to `rb_num2int'
if_ruby.c:(.text+0x10f9): undefined reference to `rb_fix2int'
objects/if_ruby.o: In function `window_set_cursor':
if_ruby.c:(.text+0x1170): undefined reference to `rb_num2uint'
collect2: ld returned 1 exit status
link.sh: Linking failed
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/build/src/vim-build/src'
make: *** [first] Error 2

Original issue reported on code.google.com by Ike.Devo...@gmail.com on 25 Jan 2012 at 4:10

@GoogleCodeExporter
Copy link
Author

This fixes the build. Unfortunately, vim tries to load just libruby.so, which 
might require -devel packages on some platforms :/

Original comment by v.ondr...@gmail.com on 18 Sep 2012 at 12:57

Attachments:

@GoogleCodeExporter
Copy link
Author

thx, trying right now

Original comment by Ike.Devo...@gmail.com on 18 Sep 2012 at 6:41

@GoogleCodeExporter
Copy link
Author

And this is patch fixing the .so name detection.

Original comment by v.ondr...@gmail.com on 19 Sep 2012 at 11:50

Attachments:

@GoogleCodeExporter
Copy link
Author

Included in patch 7.3.679.

Original comment by brammool...@gmail.com on 3 Oct 2012 at 4:37

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant