rtai and libc
godzil at godzil.net
Mon Jun 19 11:51:07 CEST 2006
Le 16 juin 06 à 15:45, Paolo Mantegazza a écrit :
> Godzil wrote:
>> Does RTAI/Lxrt can work with non glibc libc ?
>> I need to use uclibc with my embeded linux, and while compiling
>> RTAI within a uClibc powered sandbox I got an error on linking
>> liblxrt.so :
>> "undefined reference to 'pthread_yield'" during compilation of
>> Do I miss something ? Or I need to stay with glibc ?
> I recall that in the past it worked but, in any case, it is is just
> a matter of trying it. The problem you have is just a missing link
> for something that does not seems to be called in the calibration
> That program has no need of pthread and there might be just
> something strange in the making. In fact in its tween in showroom I
> see no pthread stuff either.
> In any case what you have is an indication that your libc is
> missing 'pthread_yield' for sure, which might become a problem.
> To go on anyhow edit GNUmakefile in the calibration directory and
> comment off as shown below:
> #calibration_helper_LDADD = \
> # ../../../sched/liblxrt/liblxrt.la \
> # -lpthread
I will surely abandon the use of uClibc and use a plain old glibc it
will be more simple...
> RTAI mailing list
> RTAI at rtai.org
More information about the Rtai