Bug#317740: #include causing build error

2005-07-11 Thread GOTO Masanori
At Mon, 11 Jul 2005 16:22:38 -0700, C.Y.M <[EMAIL PROTECTED]> wrote: > There was an alternative solution to my problem, but in the future, how can I > use cycles_t without including timex.h? I was using rdtscll() to get an > absolute time measurement. rdtscll() is defined for kernel i386/x86_64 i

Bug#317740: #include causing build error

2005-07-11 Thread C.Y.M
GOTO Masanori wrote: > At Mon, 11 Jul 2005 00:37:14 -0700, > C.Y.M wrote: > >>All of my source files with the following (#include ) now fail >>with >>this error: > > > Which source/package did you get this error? asm/timex.h is not > designed for userland tools. You shouldn't include this fil

Bug#317740: #include causing build error

2005-07-11 Thread GOTO Masanori
At Mon, 11 Jul 2005 00:37:14 -0700, C.Y.M wrote: > All of my source files with the following (#include ) now fail > with > this error: Which source/package did you get this error? asm/timex.h is not designed for userland tools. You shouldn't include this file directly. Regards, -- gotom --

Bug#317740: #include causing build error

2005-07-11 Thread C.Y.M
Package: linux-kernel-headers Version: 2.6.12.0-1 Severity: Important All of my source files with the following (#include ) now fail with this error: --SNIP-- In file included from /usr/include/asm/processor.h:18, from /usr/include/asm/timex.h:10, from test.cpp: