[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Problem including pthreadtypes.h
From: |
Marc van Dongen |
Subject: |
[Tinycc-devel] Problem including pthreadtypes.h |
Date: |
Sat, 28 Oct 2006 15:05:23 +0100 |
User-agent: |
Mutt/1.2.5.1i |
Dear all,
I'm migrating to a new machine, when I got the following error with libtcc:
In file included from /tmp/bordewijkRpFK11.c:2:
In file included from /usr/include/stdlib.h:438:
In file included from /usr/include/sys/types.h:270:
/usr/include/bits/pthreadtypes.h:69: identifier expected
tcc: file 'AS_NEEDED' not found
/usr/lib/libc.so:3: filename expected
/usr/lib/libc.so:3: unrecognized file type
The following is a snipped of /usr/include/bits/pthreadtypes.h
55: typedef union
56: {
57: struct __pthread_mutex_s
58: {
59: int __lock;
60: unsigned int __count;
61: int __owner;
62: /* KIND must stay at this position in the structure to maintain
63: binary compatibility. */
64: int __kind;
65: unsigned int __nusers;
66: __extension__ union
67: {
68: int __spins;
69: __pthread_slist_t __list;
70: };
71: } __data;
72: char __size[__SIZEOF_PTHREAD_MUTEX_T];
73: long int __align;
74: } pthread_mutex_t;
I'm using gcc version 4.1.0 (SUSE Linux) and tcc-0.9.22/.
I noticed there was a thread reporting a similar problem.
Any suggestions on how to solve this would be much appreciated.
Regards,
Marc van Dongen
--
M.R.C. van Dongen | | ()
email: address@hidden | Computer Science Department, | /\
phone: +353(0)21 4903578 | University College, Cork | ASCII ribbon
fax: +353(0)21 4274390 | Western Road, Cork, Ireland | against html mail
- [Tinycc-devel] Problem including pthreadtypes.h,
Marc van Dongen <=