My mkmf.log says:
conftest.c: In function t': conftest.c:3: error:
rb_define_alloc_func’ undeclared (first use in
this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
I am using ruby 1.8.6 on Linux.
Gnome is installed.
I run “ruby extconf.rb” as root, and get the above.
I guess this is a newbie question, but I’ve spent the last hour or two
searching google and various forums, and coming up empty. Any crumbs
of advice appreciated!
– Lindsay
Ooops, guess I should at least show the command line it ran:
“gcc -o conftest -I. -I/usr/lib/ruby/1.8/i686-linux -I.
-I/usr/kerberos/include -I/usr/lib/ruby/site_ruby/1.8/i686-linux -O2
-march=i686 -g -fPIC -Wall conftest.c -L’/usr/lib’ -Wl,-R’/usr/lib’ -g
-L/usr/kerberos/lib -rdynamic -Wl,-export-dynamic -lruby-static
-ldl -lcrypt -lm -lc”
conftest.c: In function t': conftest.c:3: error:
rb_define_alloc_func’ undeclared (first use in
this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)