[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] pthread_create, anyone had any problems with this call???



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