[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] timex.h and RTAI 1.5 (over 2.2.16 kernel)



Laurent.Kersten@alcatel.be wrote:
> 
> Hello,
> 
> I've found an unfortunate bug in the "linux/timex.h" file.  This file include "sys/time.h" and this cause any program that use the adjtimex syscall to be unable to compile (You get a lot of multiple definition error message). The only work-around, I've
> made is to comment the "#include <sys/time.h>" line and add it  myself in my  (user-mode) program that use the adjtimex syscall.
> 
> However, if I comment out the include, any program that includes "linux/sched.h" won't compile. This leads me to the conclusion that it doesn't solve the problem.
> 
> I posted it a few days ago to the linux-kernel mailing list. The people there were unable to reproduce the problem and thus I conclude that this might due to the RTAI patch appliance.
> 

Hi Laurent,

I have built the 2.2.16 Linux kernel with RTAI-1.5 without problems. 
Can you send more information.  In particular, some of the output from
the failed build.  What distribution are you based on (e.g RedHat x.x
??).  Also, can you send your kernel .config file and I'll try to see if
I can reproduce the error.

Regards, Stuart