GNU assembler not found, install gas-preprocessor
Posted: 23 Jan 2013 04:40
Hello,
I am compiling VLC for iOS on mountain lion, meet this error.
Does anyone know how to fix this?
Thanks!
git://git.videolan.org/vlc-ports/ios.git
[info] LD FLAGS SELECTED = '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1'
/Users/byang/Project/VLC/ios/ImportedSources/vlc
cd postproc && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/package/ios/resources" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g" LDFLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -L/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" ./configure \
--extra-cflags="-arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include" \
--extra-ldflags="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -L/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" --cc="xcrun clang" --disable-debug --enable-gpl --enable-postproc --enable-small --enable-cross-compile --disable-runtime-cpudetect --arch=arm --cpu=cortex-a8 --enable-neon --arch=arm --target-os=darwin --as="perl /Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin/gas-preprocessor.pl xcrun clang" --enable-pthreads \
--prefix="/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11" --enable-static --disable-shared
GNU assembler not found, install gas-preprocessor
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-user@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [.postproc] Error 1
config.log shows:
END /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c
xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -mcpu=cortex-a8 -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -marm -E -o /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.ru0oG5g5.o /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c
/var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c:3:2: error: "unsatisfied condition: defined __ARM_PCS_VFP"
#error "unsatisfied condition: defined __ARM_PCS_VFP"
^
1 error generated.
check_cpp_condition stddef.h defined __ARM_PCS || defined __SOFTFP__
check_cpp
BEGIN /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF
I am compiling VLC for iOS on mountain lion, meet this error.
Does anyone know how to fix this?
Thanks!
git://git.videolan.org/vlc-ports/ios.git
[info] LD FLAGS SELECTED = '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1'
/Users/byang/Project/VLC/ios/ImportedSources/vlc
cd postproc && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/package/ios/resources" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g" LDFLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -L/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" ./configure \
--extra-cflags="-arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include" \
--extra-ldflags="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib -arch armv7 -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.1 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -L/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" --cc="xcrun clang" --disable-debug --enable-gpl --enable-postproc --enable-small --enable-cross-compile --disable-runtime-cpudetect --arch=arm --cpu=cortex-a8 --enable-neon --arch=arm --target-os=darwin --as="perl /Users/byang/Project/VLC/ios/ImportedSources/vlc/extras/tools/build/bin/gas-preprocessor.pl xcrun clang" --enable-pthreads \
--prefix="/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11" --enable-static --disable-shared
GNU assembler not found, install gas-preprocessor
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-user@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [.postproc] Error 1
config.log shows:
END /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c
xcrun clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -g -mcpu=cortex-a8 -miphoneos-version-min=5.1 -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -g -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=5.0 -I/Users/byang/Project/VLC/ios/ImportedSources/vlc/contrib/arm-apple-darwin11/include -mcpu=cortex-a8 -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -marm -E -o /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.ru0oG5g5.o /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c
/var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF8.c:3:2: error: "unsatisfied condition: defined __ARM_PCS_VFP"
#error "unsatisfied condition: defined __ARM_PCS_VFP"
^
1 error generated.
check_cpp_condition stddef.h defined __ARM_PCS || defined __SOFTFP__
check_cpp
BEGIN /var/folders/nt/qs2s62rx6c346h11wbtmr2f00000gn/T//ffconf.Mj0pmQF