On Fri, Oct 02, 2015 at 07:10:38PM -0700, Vinson Lee wrote: > Hi. > > I am hitting this build error in kdbus-workers.c with Ubuntu 10.04.4. > Ubuntu 10.04.4 has glibc 2.11. Ugh, that's an old glibc :( > HOSTCC samples/kdbus/kdbus-workers > samples/kdbus/kdbus-workers.c: In function ‘child_run’: > samples/kdbus/kdbus-workers.c:778: error: ‘CLOCK_MONOTONIC_COARSE’ > undeclared (first use in this function) > samples/kdbus/kdbus-workers.c:778: error: (Each undeclared identifier > is reported only once > samples/kdbus/kdbus-workers.c:778: error: for each function it appears in.) > samples/kdbus/kdbus-workers.c: In function ‘bus_open_connection’: > samples/kdbus/kdbus-workers.c:1043: error: ‘O_CLOEXEC’ undeclared > (first use in this function) > samples/kdbus/kdbus-workers.c: In function ‘bus_make’: > samples/kdbus/kdbus-workers.c:1280: error: ‘O_CLOEXEC’ undeclared > (first use in this function) > make[2]: *** [samples/kdbus/kdbus-workers] Error 1 As I don't have access to such ancient machines, could you work on a patch for this, adding the needed defines if they aren't present by the libc? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html