// Hi, I have downloaded the latest ffmpeg from SVN. I am building it on
a Windows //system which is properly configured because using the same
system I was able to build //the previous releaseses of ffmpeg ( from a
few months ago ). However with the new //ffmpeg I get the following
error on make: //----------------- In file included
//fromc:\msys\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../includ
e/pthread.h:288,                 //from
libavcodec/pthread.c:24:c:\msys\mingw\bin\../lib/gcc/mingw32/4.2.1-//sjl
j/../../../../include/sched.h:152: error: expected ')' before
//'pid'c:\msys\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../inclu
de/sched.h:154: //error: expected ')' before 'pid'make: ***
[libavcodec/pthread.o] Error 1 //-----------//------My build string is:
./configure --extra-ldflags=-L/static/lib
--extra-cflags=-//I/static/include --enable-shared --disable-static
--enable-memalign-hack --enable-//swscale --enable-gpl --enable-libfaac
--enable-libfaad --enable-pthreads --enable-//libmp3lame What can be the
issue? Regards,Nick

 

 

 

For mingw it was broken at  14754  the configure added a break for
mingw..

 

So the last working one would be 14753.

 

If you want to use newer code then 14753, I suggest editing the
configure file and undo what 14754 did to break it.

 

As in delete this  

 

-D_POSIX_C_SOURCE=200112  

 

at line 977

 

I don't know if a newer version of mingw works the way it should,
however this is what I did to get around this incompatible part..

 

I just did a get and found that as long as I don't use libfaac then it
will compile.. so I'm guessing they have their own aac encoder in there
now.....

 

 

Dion

 

 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to