From fnaumann@mail.cs.uni-magdeburg.de Tue Nov 11 20:03:08 2003 Date: Tue, 11 Nov 2003 13:47:53 -0500 (EST) From: Keith Scroggins To: mint@fishpool.com Subject: [MiNT] pthread_create, anyone had any problems with this call??? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: kws@saltmine.radix.net Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: OK, I have a few programs I have been trying to get to compile, one of which being MySQL (the other is xine) Anyway, they both die when doing a pthread_create call. I figured maybe I screwed up the PTH library, so I went back from the 2.0.0 version I built to the 1.4.0 version that was originally on the Sparemint site. Same problem. Here is the output (from xine's configure script): configure:22963: checking for pthread_create in -lpthread configure:22994: gcc -o conftest conftest.c -lpthread >&5 /usr/lib/libpthread.a(pth_high.o)(.text+0xac4): undefined reference to `connect' /usr/lib/libpthread.a(pth_high.o)(.text+0xc22): undefined reference to `accept' /usr/lib/libpthread.a(pth_high.o)(.text+0x1134): undefined reference to `readv' /usr/lib/libpthread.a(pth_high.o)(.text+0x139c): undefined reference to `writev' /usr/lib/libpthread.a(pth_high.o)(.text+0x13f8): undefined reference to `writev' /usr/lib/libpthread.a(pth_high.o)(.text+0x18cc): undefined reference to `recvfrom' /usr/lib/libpthread.a(pth_high.o)(.text+0x1a82): undefined reference to `sendto' /usr/lib/libpthread.a(pth_high.o)(.text+0x1acc): undefined reference to `sendto' /usr/lib/libpthread.a(pth_high.o)(.text+0x9d4): undefined reference to `recv' /usr/lib/libpthread.a(pth_high.o)(.text+0xba4): undefined reference to `getsockopt' I'm going to look into pth_high.c myself, but I did not want to 'recreate the wheel' in case this is an issue that is a known problem, or something that has already been resolved.... On the topic of threads, anyone ever do work on porting some of the other thread packages out there, like Mit Threads, FSU Threads, Linux Threads, etc? Keith