[Mono-dev] Build problem caused by sched_getcpu function

J.P. mailing at mono.developer.kr
Wed Nov 10 20:59:58 EST 2010


Hi.

I try to build the source from git. but I have a problem below this. This
problem is on x64 and x86 CentOS. I think it maybe caused by recently fix
about decode and log profiler. Isn't it?

Please fix the problem. I wanna use fixed mono version that solved thread
issue. but I can't compile.

Thank everyone for the great jobs mono team did.

decode.o: In function `safe_rdtsc':
/my/src/mono/git/mono/mono/profiler/utils.c:136: undefined reference to
`sched_getcpu'
/my/src/mono/git/mono/mono/profiler/utils.c:139: undefined reference to
`sched_getcpu'
decode.o: In function `have_rdtsc':
/my/src/mono/git/mono/mono/profiler/utils.c:157: undefined reference to
`sched_getcpu'
collect2: ld returned 1 exit status
make[3]: *** [mprof-report] Error 1
make[3]: Leaving directory `/my/src/mono/git/mono/mono/profiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/my/src/mono/git/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/my/src/mono/git/mono'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101111/0dedeced/attachment.html 


More information about the Mono-devel-list mailing list