Bug #7148 | build fails: mf_keycaches.c:60: error: parse error before "pthread_rwlock_t" | ||
---|---|---|---|
Submitted: | 9 Dec 2004 21:12 | Modified: | 24 Mar 2005 4:46 |
Reporter: | Bauke Jan Douma | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 4.1.7 | OS: | Linux (Linux-2.6.9) |
Assigned to: | CPU Architecture: | Any |
[9 Dec 2004 21:12]
Bauke Jan Douma
[6 Jan 2005 14:09]
Volodymyr Pomfiuk
this is stupid way, but in this particular case you can add following lines at the very begining of mf_keycaches.c: #define __USE_UNIX98 #include <bits/pthreadtypes.h> and change "rw_lock_t" to "pthread_rwlock_t" in the line, that causes error
[21 Apr 2006 20:49]
Timothy Steiner
Reproduced using the development chroot environment supplied for ts-linux (http://www.embeddedarm.com/linux/main.htm) when using "./configure --build=i486 && make"