Date: Wed, 13 Sep 2000 18:20:03 +0200 From: "Martin Jakobsen" <mcoolj@cyberjunkie.dk> To: <freebsd-database@freebsd.org> Message-ID: <00cf01c01d9e$7909d660$7801a8c0@here>
next in thread | raw e-mail | index | archive | help
Hello. I am trying to compile MySQL with mit-threads under FreeBSD 4.1. I have compiled the kernel for SMP and it runs excellent. ./configure --with-mit-threads seems to go ok, but make returns: --------------------------------------------------- gcc -O -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=6 4 -O6 -DDBUG_OFF -Werror -I/usr/local/mysql/mysql-3.22.32/mit-pthreads -I/ usr/local/mysql/mysql-3.22.32/mit-pthreads/include -I/usr/local/mysql/mysql- 3.22.32/mit-pthreads/include -DPTHREAD_KERNEL -c /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c -o sig.o /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c:408: invalid initializer /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c:415: invalid initializer /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c: In function `sigaddset': /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c:430: invalid operands to binary | /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c: In function `sigdelset': /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c:440: invalid operands to binary & /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c: In function `sigismember': /usr/local/mysql/mysql-3.22.32/mit-pthreads/pthreads/sig.c:450: invalid operands to binary & *** Error code 1 Stop in /usr/local/mysql/mysql-3.22.32/mit-pthreads. *** Error code 1 Stop in /usr/local/mysql/mysql-3.22.32. *** Error code 1 Stop in /usr/local/mysql/mysql-3.22.32. --------------------------------------------------- Any ideas why this happens everytime? I have compiled it without mit-threads and it runs fine, but because the servers only purpose are to be a database server, I'd really like if it used both CPU's. Any Ideas? Regards, Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00cf01c01d9e$7909d660$7801a8c0>