Displaying 13 results from an estimated 13 matches for "timer_t".
Did you mean:
time_t
2004 Sep 02
1
__kernel_timer_t missing
Peter,
typedef __kernel_timer_t timer_t will fail with Arjans glibc headers,
they do not define __kernel_timer_t in asm/posix_types.h.
All archs supported by Linux have typedef int __kernel_timer_t. Can we
just get rid of the __kernel_timer_t?
--- klibc-0.171/klibc/include/sys/types.h.orig 2004-06-08 07:32:48.000000000 +0200...
2012 Dec 05
3
[PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17
...git a/configure b/configure
index 904e019..ace3c3e 100755
--- a/configure
+++ b/configure
@@ -1097,7 +1097,7 @@ fi
cat > $TMPC <<EOF
#include <signal.h>
#include <time.h>
-int main(void) { clockid_t id; return clock_gettime(id, NULL); }
+int main(void) { struct itimerspec v; timer_t t; return timer_gettime (t, &v); }
EOF
rt=no
--
1.8.0.1
2013 May 07
3
Re: [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17
...+1097,7 @@ fi
> > > > cat > $TMPC <<EOF
> > > > #include <signal.h>
> > > > #include <time.h>
> > > > -int main(void) { clockid_t id; return clock_gettime(id, NULL); }
> > > > +int main(void) { struct itimerspec v; timer_t t; return timer_gettime (t, &v); }
> > > > EOF
> > > >
> > > > rt=no
At least 2 acked patches were not committed to qemu-traditional before
the RC1 freeze & tag.
The above patch (against qemu-traditional - qemu-upstream is OK) was
acked a couple of da...
2007 Jul 27
1
help compiling tcng on 64bit
...ev_t
/usr/include/linux/types.h:13: error: previous declaration of dev_t was here
In file included from /usr/include/sys/types.h:133,
from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/time.h:105: error: conflicting types for timer_t
/usr/include/linux/types.h:22: error: previous declaration of timer_t was
here
In file included from ../shared/memutil.h:13,
from util.h:14,
from f_fw.c:13:
/usr/include/sys/types.h:198: error: conflicting types for int64_t
/usr/include/linux/types.h:98: error: pre...
2004 Feb 22
3
ARM/Thumb updates and some other minor tweaks
...c-0.114_orig/klibc/include/sys/types.h 2004-02-08 22:19:37.000000000 -0800
+++ klibc-0.114/klibc/include/sys/types.h 2004-02-22 04:39:00.000000000 -0800
@@ -27,7 +27,12 @@
typedef __kernel_daddr_t daddr_t;
typedef __kernel_key_t key_t;
typedef __kernel_suseconds_t suseconds_t;
-typedef __kernel_timer_t timer_t;
+/*
+ * __kernel_timer_t is not defined in arm kernel 2.4.21-rmk2 which causes
+ * arm klibc builds to fail. timer_t doesn't seem to be used within klibc
+ * so commenting out the typedef seems like a valid fix ?
+ */
+//typedef __kernel_timer_t timer_t;
typedef __kernel_uid32_t uid...
2008 May 31
3
types.h:52: error: conflicting types for ‘ ino_t’
...onflicting types for off_t
/usr/include/linux/types.h:17: error: previous declaration of off_t was here
In file included from /usr/include/sys/types.h:133,
from ../../include/wine/port.h:36,
from clipboard.c:65:
/usr/include/time.h:105: error: conflicting types for timer_t
/usr/include/linux/types.h:22: error: previous declaration of timer_t was here
In file included from /usr/include/sys/types.h:220,
from ../../include/wine/port.h:36,
from clipboard.c:65:
/usr/include/sys/select.h:78: error: conflicting types for fd_set
/usr/include...
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...har *, const struct timeval[2]);
diff --git a/usr/include/sys/types.h b/usr/include/sys/types.h
index b8cdb8cf..e17bc87f 100644
--- a/usr/include/sys/types.h
+++ b/usr/include/sys/types.h
@@ -33,6 +33,7 @@ typedef __kernel_key_t key_t;
typedef __kernel_suseconds_t suseconds_t;
/* typedef __kernel_timer_t timer_t; */
typedef int timer_t;
+typedef __kernel_clockid_t clockid_t;
typedef __kernel_uid32_t uid_t;
typedef __kernel_gid32_t gid_t;
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 02a18e64..8b132190 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -29,7 +29,8 @@ klib-y += vsn...
2006 Jan 21
2
Xen kernel compilation fails - no such file or directory features.h (but its there)
...: error: syntax error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int'' in declaration of
`suseconds_t''
include/linux/types.h:29: warning: data definition has no type or storage
class
include/linux/types.h:30: error: syntax error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int'' in declaration of
`timer_t''
include/linux/types.h:30: warning: data definition has no type or storage
class
include/linux/types.h:31: error: syntax error before "clockid_t"
include/linux/types.h:31: warning:...
2007 Jul 31
0
Zaptel compiling broken: error: conflicting types for '__kernel_dev_t'
...ptel.h:31,
from tonezone.h:27,
from zonedata.c:26:
/usr/include/linux/types.h:18: error: conflicting types for
'__kernel_dev_t'
/usr/include/asm/posix_types.h:10: error: previous declaration of
'__kernel_dev_t' was here
/usr/include/linux/types.h:30: error: syntax error before "timer_t"
/usr/include/linux/types.h:31: error: syntax error before "clockid_t"
make: *** [zonedata.lo] Error 1
my environment:
CenOS 4.2, gcc-3.4.4-2, kernel-2.6.12.2
& my system is running asterisk-1.2.9.1+zaptel-1.2.6
can anyone give me some advise?
thanks a lot.
B/Rgz.
2006 May 15
3
Eicon Diva - problems building new v3 melware driver
...pes.h:29: error: syntax error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration
of `suseconds_t'
include/linux/types.h:29: warning: data definition has no type or
storage class
include/linux/types.h:30: error: syntax error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration
of `timer_t'
include/linux/types.h:30: warning: data definition has no type or
storage class
include/linux/types.h:31: error: syntax error before "clockid_t"
include/linux/types.h:31: warning: type de...
2004 Jul 19
0
Cant compile Zaptel at all
...ed.h:26,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm-generic/siginfo.h:51: error: parse error before "timer_t"
/usr/include/asm-generic/siginfo.h:87: error: parse error before '}' token
/usr/include/asm-generic/siginfo.h:88: error: parse error before '}' token
/usr/include/asm-generic/siginfo.h: In function `copy_siginfo':
/usr/include/asm-generic/siginfo.h:278: error: structure ha...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...igned long int __rlim_t;
typedef unsigned long int __rlim64_t;
typedef unsigned int __id_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;
typedef int __daddr_t;
typedef long int __swblk_t;
typedef int __key_t;
typedef int __clockid_t;
typedef void * __timer_t;
typedef long int __blksize_t;
typedef long int __blkcnt_t;
typedef long int __blkcnt64_t;
typedef unsigned long int __fsblkcnt_t;
typedef unsigned long int __fsblkcnt64_t;
typedef unsigned long int __fsfilcnt_t;
typedef unsigned long int __fsfilcnt64_t;
typedef long int __ssize_t;
typedef __off64_...