rtai and libc

Godzil godzil at godzil.net
Mon Jun 19 11:51:07 CEST 2006


Le 16 juin 06 à 15:45, Paolo Mantegazza a écrit :

> Godzil wrote:
>> Hi,
>> 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   
>> "calibration_helper"
>> 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  
> helper.
> 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
>
> Paolo.
>


Ok thanks.
I will surely abandon the use of uClibc and use a plain old glibc it  
will be more simple...

Thanks


>
> _______________________________________________
> RTAI mailing list
> RTAI at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>





More information about the Rtai mailing list