please to uninstall xenomai or reconfigure it ,because it sounds like there is a problem in the configuration so that when I execute ./latency I got just the first three lines == Sampling period: 100 us == Test mode: periodic user-mode task == All results in microseconds