I haven't compiled ffmpeg on Windows recently, but it's not clear from what you sent what exactly you're trying to do. Can you explain your development environment and intention more? For example, are you cross-platform compiling ( it looks like you are )?
The above errors are not the first-warning signs. These are more significant: - *WARNING: ~D:android-ndkandroid-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-pkg-config not found, library detection may fail. * - WARNING: Unknown C compiler ~D:android-ndkandroid-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc, unable to select optimal CFLAGS - ~D<....etc....>/arm-linux-androideabi-gcc: No such file or directory - *./configure: line 789: ~D:android-ndkandroid-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc: No such file or directory C compiler test failed.* *arm-linux-androideabi-pkg-config *would likely set the PKG_CONFIG_PATH ( or equivalent ) environment variable in whatever shell its using. This environment variable is what ld.exe should look to in order to find libraries to link. This might be resolved by manually adding variables to the respective environment variable via the shell prior to compilation, but without *arm-linux-androideabi-gcc *nothing will compile. You should start by trying to get rid of these two warnings. If you have *arm-linux-androideabi-gcc , *which appears that you actually might because you received linking errors, you need to fix the PKG_CONFIG_PATH that *arm-linux-androideabi-pkg-config *otherwise would if it existed*.* If you can't figure out how to fix the ./configure warning/errors, you may have to band-aid your installation with a manual command like: export PKG_CONFIG_PATH:$PKG_CONFIG_PATH:"/path/to/pre-compiled-linux-for-target-platform.so's" just prior to compilation. This is my best guess, since you're stuck and no one else has gotten back to you. Any experts out there please correct me. On Fri, Aug 1, 2014 at 9:04 AM, Nitesh Upadhyay <[email protected]> wrote: > Hi, > > I am trying to build FFMPEG on my windows machine but every time I am > getting output like: > > > d:/android-ndk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: > error: libavutil/libavutil.so:1:1: syntax error, unexpected '!', expecting > $end > > d:/android-ndk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: > error: libavutil/libavutil.so: not an object or archive > collect2.exe: error: ld returned 1 exit status > library.mak:106: recipe for target 'libswscale/libswscale.so.2' failed > make: *** [libswscale/libswscale.so.2] Error 1 > LD libswscale/libswscale.so.2 > > d:/android-ndk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: > error: libavutil/libavutil.so:1:1: syntax error, unexpected '!', expecting > $end > > Below is my log file,Please tell me what I am doing wrong.It's been so long > I am stuck with this problem. > > > > > > > Regards, > *Nitesh Upadhyay* > Rave Infosys - Team of Certified Engineers > Email:[email protected] > Web: www.raveinfosys.com > P: (954) 642-9292 <http://www.raveinfosys.com/> > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
