CFT: mplayer and mencoder updates

Zhihao Yuan lichray at
Tue Dec 20 23:06:29 UTC 2011

On Tue, Dec 20, 2011 at 3:02 PM, Thomas Zander
<thomas.e.zander at> wrote:
> On Tue, Dec 20, 2011 at 00:43, Zhihao Yuan <lichray at> wrote:
>> stable/8:
>> gcc:
>> ffmpeg/libavformat/libavformat.a(udp.o): In function `udp_open':
>> udp.c:(.text+0xf8e): undefined reference to `pthread_create'
>> ffmpeg/libavcodec/libavcodec.a(pthread.o): In function `ff_thread_init':
>> pthread.c:(.text+0x178c): undefined reference to `pthread_create'
>> pthread.c:(.text+0x1894): undefined reference to `pthread_create'
>> collect2: ld returned 1 exit status
> How did you trigger this build problem? What OPTIONS did you use?


The following is the options recorded by config.mak:

CONFIGURATION = --cc=clang --host-cc=clang --disable-bitmap-font --disab
le-liba52 --disable-ssse3 --disable-directfb --disable-faac --disable-faad --dis
able-libdca --disable-twolame --disable-x264 --disable-xvid --disable-libdirac-l
avc --disable-mencoder --disable-mpg123 --disable-alsa --disable-musepack --disa
ble-inet6 --disable-gif --disable-libopenjpeg --disable-libdv --disable-theora -
-disable-libvpx-lavc --disable-libschroedinger-lavc --disable-speex --disable-li
ve --disable-jack --disable-nas --disable-openal --disable-pulse --disable-blura
y --disable-smb --disable-fribidi --disable-cdparanoia --disable-ladspa --disabl
e-liblzo --disable-win32dll --disable-qtx --disable-real --disable-libopencore_a
mrnb --disable-libopencore_amrwb --disable-libgsm --disable-tv-v4l1 --disable-tv
-v4l2 --disable-librtmp --disable-mng --enable-ass --enable-ass-internal --disab
le-enca --disable-dga1 --disable-dga2 --disable-gl --disable-xinerama --disable-
vm --disable-rtc --disable-arts --disable-caca --disable-lirc --disable-sdl --di
sable-svga --disable-aa --disable-esd --disable-joystick --x-libraries=/usr/loca
l/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/ma
n --build=amd64-portbld-freebsd8.2

And, there is no -pthread in this file.

> I'll look into your patch set as soon as I can!
> Until then, thanks for testing and patching!
> Best regards
> Riggs

Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
4BSD --

More information about the freebsd-multimedia mailing list