언어 설정

Menu
Sites
Language
Please add linux/version.h in tizen sdk
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__)

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 댓글
Vineet Tiwari
Hi wv1124, Thanks for suggestion. Vineet tiwari
승례 안

Hello Vineet Tiwari//
Does linux/version.h file included in rpm pacakge?

If so, Which package?

If not, What version should I define? (I am developing native application based on Tizen SDK 2.2 -armv7l target-)