From owner-freebsd-smp Mon Oct 29 20:56: 6 2001 Delivered-To: freebsd-smp@freebsd.org Received: from mail.ica.net (mail.ica.net [209.151.129.144]) by hub.freebsd.org (Postfix) with ESMTP id 8092437B406; Mon, 29 Oct 2001 20:55:54 -0800 (PST) Received: from thunder.ica.net (unverified [209.151.129.1]) by mail.ica.net (Vircom SMTPRS 5.0.193) with ESMTP id ; Mon, 29 Oct 2001 23:56:39 -0500 Received: from ica.net (ica-hs-209.151.141-ip063.ica.net [209.151.141.63]) by thunder.ica.net (8.10.2+Sun/8.10.2) with ESMTP id f9U4tUm27292; Mon, 29 Oct 2001 23:55:31 -0500 (EST) Message-ID: <3BDE33DE.2070603@ica.net> Date: Tue, 30 Oct 2001 00:00:14 -0500 From: Brian Lee User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.5) Gecko/20011022 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Cc: freebsd-smp@FreeBSD.ORG Subject: __pthread_write __pthread_read port install problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. 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. 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 ===> Building for mplayer-esound-0.50.0.2 cc -O -pipe -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Iloader -Ilibvo -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o open.o parse_es.o ac3-iec958.o find_sub.o aviprint.o dec_audio.o dec_video.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demux_mov.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o xa/rle8.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o dll_init.o -Lmp3lib -lMP3 -Llibac3 -lac3 -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec -lavcodec -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Llibvo -lvo -L/usr/X11R6/lib -L/usr/local/lib -lGL -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -lm -L/usr/local/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lvga -laa -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng -lz -laa -ldvdread -Lencore -lencore -Lopendivx -ldecore -LGui -lgui -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4 -lXext -lX11 -lm -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. *** Error code 1 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 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 gmake[4]: *** [xmms] Error 1 gmake[4]: Leaving directory `/usr/ports/audio/xmms/work/xmms-1.2.5/xmms' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/audio/xmms/work/xmms-1.2.5/xmms' gmake[2]: *** [all-recursive-am] Error 2 gmake[2]: Leaving directory `/usr/ports/audio/xmms/work/xmms-1.2.5/xmms' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/xmms/work/xmms-1.2.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/audio/xmms. *** Error code 1 Stop in /usr/ports/audio/xmms. *** Error code 1 Stop in /usr/ports/audio/xmms. 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 Best Regards, Brian Lee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message