On Sun, Jan 24, 2016 at 10:22:45PM +0100, Clément Bœsch wrote:
> On Sun, Jan 24, 2016 at 10:09:49PM +0100, Michael Niedermayer wrote:
> [...]
> > fails to build:
> > make distclean ; ../configure  --enable-pthreads  --arch=x86_32 
> > --target-os=linux --extra-cflags=-m32 --extra-ldflags=-m32  
> > --enable-cross-compile && make -j12
> > In file included from libavfilter/pthread.c:30:0:
> > ffmpeg/libavutil/thread.h: In function ‘ff_thread_setname’:
> > ffmpeg/libavutil/thread.h:134:5: error: implicit declaration of function 
> > ‘pthread_setname_np’ [-Werror=implicit-function-declaration]
> > 
> 
> Any idea what could be the cause? Old glibc maybe?

32bit doesnt get -D_GNU_SOURCE from pkg-config while 64 does here

the prototypes are under #ifdef __USE_GNU

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to