[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Problems compiling with Glibc 2.4.4 (FC5)
From: |
Damián |
Subject: |
[Tinycc-devel] Problems compiling with Glibc 2.4.4 (FC5) |
Date: |
Wed, 01 Nov 2006 04:17:34 -0300 |
Hello all,
Has anyone found a solution to this issue? I'm really not able to do much since I'm not familiar with c code. I use tcc to compile lisaac output, but since upgraded to ubuntu edgy (fom dapper) this problem came up.
Thanks in advance,
Damián.
original message:
=================
Hi, I'm trying to use TCC on a FC5 machine. TCC 0.9.23 compiled just
fine, but whenever I try to compile anything with it, I get an error:
In file included from key_reader.c:8:
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
It seems that TCC doesn't like pthreadtypes.h, which is included by
stdlib.h, making it kind of hard to avoid. The offending lines:
...
65: typedef union
66: {
67: char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
68: long int __align;
69: } pthread_mutexattr_t;
70:
71:
72: /* Data structure for conditional variable handling. The structure of
73: the attribute type is not exposed on purpose. */
74: typedef union
76: {
...
The above code looks reasonable and correct to me, so I'm guessing
this is a TCC bug.
--
Axel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] Problems compiling with Glibc 2.4.4 (FC5),
Damián <=