Re: Compilation error in cont.c
by Yukihiro Matsumoto other posts by this author
May 9 2008 3:51PM messages near this date
Re: Compilation error in cont.c
|
Re: Compilation error in cont.c
Hi,
In message "Re: Compilation error in cont.c"
on Fri, 9 May 2008 23:32:42 +0900, Emanuele Ricci <maurice.enciel@[...].com> writes:
|
|Yukihiro Matsumoto wrote:
|> That seems to be a linker problem around librt. You have to check
|> whether librt installed correctly. Or you can remove -lrt from
|> configure. I have virtually zero knowledge about cross compiling, but
|> it should be possible.
|
|Hi,
|removing -lrt I get the following error:
|./libruby-static.a(time.o)(.text+0x198): In function `time_init':
|: undefined reference to `clock_gettime'
|collect2: ld returned 1 exit status
|make[1]: *** [ruby] Error 1
|make[1]: Leaving directory `/home/del/Desktop/rubytrunk/ruby'
|make: *** [all] Error 2
By "removing -lrt", I also meant removing HAVE_CLOCK_GETTIME from
<config.h> .
|The "no version information available" kind of error seems to be the
|result of a library mismatch between the build and target systems
|(http://answers.google.com/answers/threadview?id=786136).
|
|I'll tell you as soon as I get it to work.
I hope you can solve the version inconsistency.
matz.
Thread:
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
Yukihiro Matsumoto
Emanuele Ricci
|