XP, Tizen sdk 2.0 IDE Can't find linux/version.h. because boost need it. Also the boost in tizen sdk have not include the date_time library. I copy the the linux/version.h from android NDK to tizen SDK. And this problem resolved. but i can't tell every body who want to use my code to copy the linux/vershion.h to his tizen sdk. So, I hope the tizen sdk can add linux/version.h It's easy, just 2 line #define LINUX_VERSION_CODE 132626 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
// Linux: epoll, eventfd and timerfd. #if defined(__linux__) # include <linux/version.h> # if !defined(BOOST_ASIO_DISABLE_EPOLL) # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,45) # define BOOST_ASIO_HAS_EPOLL 1 # endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,45) # endif // !defined(BOOST_ASIO_DISABLE_EVENTFD) # if !defined(BOOST_ASIO_DISABLE_EVENTFD) # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) # define BOOST_ASIO_HAS_EVENTFD 1 # endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) # endif // !defined(BOOST_ASIO_DISABLE_EVENTFD) # if defined(BOOST_ASIO_HAS_EPOLL) # if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) # define BOOST_ASIO_HAS_TIMERFD 1 # endif // (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) # endif // defined(BOOST_ASIO_HAS_EPOLL) #endif // defined(__linux__)