Greetings! I'm having a bit of a problem compiling mysql, that I've been chewing on for more than a week now..
I'd preferably like to use the pre-built binaries, but the tared binary packages don't come with the shared libraries, and the RPM's can't be moved to different prefixes, so I usually just build the packages to my obnoxiously customized liking :) Anyway, I have this problem both on my development box at home as well as on the main server at work, both which are set up very similarly. The machines are practically mirrored, both running RedHat 9, glibc 2.3.2, kernel 2.4.20 . If any other info is needed, please feel free to contact me. Anyway, the problem lies in trying to compile the my_semaphore.c file in the mysys directory of the source. This is the actual error I get: gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql-4.0.888\" -DDATADIR="\"/usr/local/mysql-4.0.888/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql-4.0.888\"" -DSHAREDIR="\"/usr/local/mysql-4.0.888/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -I.. -I. -O3 -DDBUG_OFF -c `test -f my_semaphore.c || echo './'`my_semaphore.c In file included from ../include/my_semaphore.h:38, from my_semaphore.c:23: /usr/include/semaphore.h:35: field `__sem_lock' has incomplete type make[2]: *** [my_semaphore.o] Error 1 make[2]: Leaving directory `/usr/local/src/mysql-4.0.16/mysys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mysql-4.0.16' make: *** [all] Error 2 I've looked high and low for a solution, or even someone who has a similar problem, obviously to no avail. I've tried upgrading and downgrading certain packages with no luck... If anyone has any ideas at all I would be most grateful! Thank you so much for any help you could offer! Justin -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]