From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willy Date: Tue, 24 Jan 2012 10:18:17 +0000 (UTC) Subject: [Buildroot] Add rt squarewave example in buildroot References: <20120123221407.2d5f5043@skate> <20120124103221.1f769dba@skate> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas Petazzoni writes: > Can you try with a test case program? How? > Strange, the uClibc is by default compiled with > UCLIBC_HAS_ADVANCED_REALTIME, clock_nanosleep() should be there in > librt. The uClibc configuration file contains: output/toolchain/uClibc-0.9.32/.config:UCLIBC_HAS_ADVANCED_REALTIME=y And this file: output/toolchain/uClibc-0.9.32/librt/clock_nanosleep.c exists and contains: ###################### #ifdef __ASSUME_POSIX_TIMERS int clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req, struct timespec *rem) { } #else # ifdef __NR_clock_nanosleep extern int __libc_missing_posix_timers attribute_hidden; # define SYSDEP_NANOSLEEP \ if (!__libc_missing_posix_timers) \ { \ } # endif # include #endif ######################## Thanks, Willy