Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 11:41:08 -0500
From:      brianlee@ica.net
To:        freebsd-ports@freebsd.org
Subject:   pthreads ports compile errors
Message-ID:  <2003720011023016418765@ica.net>

next in thread | raw e-mail | index | archive | help
I've been having some trouble installing/reinstalling ports, I've 
checked with the port maintainers and they all say it works on their 
pc's I've tried to compile XMMS, Freeamp, mplayer from the ports I 
follows the standard procedures update my ports tree with cvsup.  I even 
went to the extent of make build world and recompiling my kernel no luck.

My system specs are as follows

XFree86 Version 4.1.0 / X Window System
FreeBSD 4.4-STABLE #0: Sun Oct 28 11:44:13 EST 2001

Dual P3 733Mhz (SMP Enabled)
768MB Ram
20 GIG HD
Ati Radeon 32MB DDR

The errors all involve __pthread_write/__pthread_read. I tried a 
reinstall of XMMS, and Freeamp both of which are already running on my 
pc. I've asked around in the IRC channels #freebsdhelp and they directed 
my to the mailing list.

I am not on this mailing so can you please send me a copy of your replies
thanks.

Heres the error for mplayer (I have confirmed that it installes with 
those variables set)

# make install clean WITH_GUI=yes WITH_DVD=yes WITH_SVGALIB=yes 2

-L/usr/local/lib -lglib12 -rdynamic -pthread
loader/libloader.a(win32.o): In function `expReadFile':
win32.o(.text+0x3c63): undefined reference to `__pthread_read'
loader/libloader.a(win32.o): In function `expWriteFile':
win32.o(.text+0x3cc4): undefined reference to `__pthread_write'
gmake: *** [mplayer] Error 1
*** Error code 2

Stop in /usr/ports/graphics/mplayer.
*** Error code 1

Stop in /usr/ports/graphics/mplayer.

Make Error Freeamp


base/aps/apsmetadata.h:138:   instantiated from here
/usr/include/g++/std/bastring.cc:470: no matching function for call to 
`ostream::__pthread_write (const char *, size_t)'
gmake: *** [base/src/player.o] Error 1
*** Error code 2

Stop in /usr/ports/audio/freeamp.
*** Error code 1

Stop in /usr/ports/audio/freeamp.

Error for XMMS


lintl -lxpg4 -lXext -lX11 -lm -L/usr/local/lib -Wl,--export-dynamic 
-Wl,--rpath              
-Wl,/usr/X11R6/lib
controlsocket.o: In function `ctrlsocket_func':
controlsocket.o(.text+0x27f): undefined reference to `__pthread_select'
controlsocket.o(.text+0x2a4): undefined reference to `__pthread_accept'
controlsocket.o(.text+0x2ca): undefined reference to `__pthread_read'
controlsocket.o(.text+0x2f3): undefined reference to `__pthread_read'
controlsocket.o(.text+0x349): undefined reference to `__pthread_write'
controlsocket.o(.text+0x358): undefined reference to `__pthread_write'
controlsocket.o(.text+0x3ae): undefined reference to `__pthread_write'
controlsocket.o(.text+0x3bd): undefined reference to `__pthread_write'
controlsocket.o(.text+0x416): undefined reference to `__pthread_write'
controlsocket.o(.text+0x425): more undefined references to 
`__pthread_write' fol             
low

Stop in /usr/ports/audio/xmms.


Best Regards,

Brian Lee



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2003720011023016418765>