Date: Thu, 26 Oct 2000 07:02:44 -0500 From: "Jacques A. Vidrine" <n@nectar.com> To: Dimitar Peikov <mitko@earth.rila.bg> Cc: Artem Koutchine <matrix@ipform.ru>, freebsd-database@FreeBSD.ORG Subject: Re: Compiling MySQL 2.23.27 with linuxthreads on FreeBSD 4.1.1-STABLE Message-ID: <20001026070244.A17219@hamlet.nectar.com> In-Reply-To: <200010260709.e9Q79j609547@earth.rila.bg>; from mitko@earth.rila.bg on Thu, Oct 26, 2000 at 10:09:45AM %2B0300 References: <matrix@ipform.ru> <200010260709.e9Q79j609547@earth.rila.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 26, 2000 at 10:09:45AM +0300, Dimitar Peikov wrote: > The same is when I've try to compile simple program with -lpthread in FreeBSD > 4.1.1-Stable. > > $ cc -pthread -lc -o threads threads.c ^^^ Don't do that... you are trying to link against libc_r _and_ libc. % cc -pthread -o threads threads.c threads.c: In function `main': threads.c:22: warning: passing arg 3 of `pthread_create' from incompatible pointer type threads.c:24: warning: passing arg 3 of `pthread_create' from incompatible pointer type threads.c:27: warning: passing arg 3 of `pthread_create' from incompatible pointer type The warnings are because the start_routine parameter expects a pointer to a function that returns a pointer to void. -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org 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?20001026070244.A17219>