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.

Any clues ?


Best regards

Laurent Kersten

Alcatel Bell Space N.V.
Berkenrodelei 33
B-2660 Hoboken.
Tel :     00-32-3-829.54.09
Fax :     00-32-3-829.57.63




-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to