linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next-20151002 build error "samples/kdbus/kdbus-workers.c:778: error: ‘CLOCK_MONOTONIC_COARSE’"
@ 2015-10-03  2:10 Vinson Lee
  2015-10-03 11:21 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Vinson Lee @ 2015-10-03  2:10 UTC (permalink / raw)
  To: linux-next, Greg Kroah-Hartman, Daniel Mack, David Herrmann,
	Djalal Harouni

Hi.

I am hitting this build error in kdbus-workers.c with Ubuntu 10.04.4.
Ubuntu 10.04.4 has glibc 2.11.

  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

Cheers,
Vinson

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: next-20151002 build error "samples/kdbus/kdbus-workers.c:778: error: ‘CLOCK_MONOTONIC_COARSE’"
  2015-10-03  2:10 next-20151002 build error "samples/kdbus/kdbus-workers.c:778: error: ‘CLOCK_MONOTONIC_COARSE’" Vinson Lee
@ 2015-10-03 11:21 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2015-10-03 11:21 UTC (permalink / raw)
  To: Vinson Lee; +Cc: linux-next, Daniel Mack, David Herrmann, Djalal Harouni

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-03 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-03  2:10 next-20151002 build error "samples/kdbus/kdbus-workers.c:778: error: ‘CLOCK_MONOTONIC_COARSE’" Vinson Lee
2015-10-03 11:21 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).