i build VLCKit occur issue that is configure.ac:45: error: possibly undefined macro: AC_DEFINE
he-uimatoMacBook-Air:vlckit fq$ ./buildMobileVLCKit.sh
[info] Preparing build dirs
HEAD is now at c2699fe opengl: use buffer objects instead of host memory for subpictures
Applying: arm_neon: added function macro to handle the underscore prefix for the iOS ARM ABI
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:60: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: arm_neon: use a macro to fix compilation for iOS
Applying: deinterlace/merge: use a macro to fix compilation for iOS
Applying: contrib/ebml+mkv: compile with hidden symbols on iOS
Applying: libass: fix text rendering on iOS by providing a font lookup mechanism for the font shipped with Aspen
Applying: contrib/png: fix ARM assembly for iOS
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:19: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:28: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:37: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:46: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:55: trailing whitespace.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
Applying: contrib/speex: fix compilation for non-ARMv7 iOS targets
Applying: contrib/flac: fix compilation with clang 5.0
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:17: space before tab in indent.
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Werror "
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:18: space before tab in indent.
fi
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:19: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:21: space before tab in indent.
CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:22: space before tab in indent.
CFLAGS="$CFLAGS -fvisibility=hidden"
warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.
Applying: lib/media_player: inherit deinterlace and vbi variables to fix correct variables values on first use
Applying: contrib/avcodec: deploy libav
Applying: contrib/opus disable asm on arm
Applying: contrib/gcrypt: disable asm on iOS
Applying: fix libtool
Applying: freetype: added a fake font lookup mechanism for iOS to use the packaged demo fonts
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:50: trailing whitespace.
fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(),
warning: 1 line adds whitespace errors.
Applying: contrib/speexdsp: disable neon for AArch64
Applying: contrib: add arch option for platforms where the arch triplet would be ambigous
Applying: extras: deploy arch option for iOS
Applying: contrib/harfbuzz: work-around build system stupidity breaking clang compilation
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:16: space before tab in indent.
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:17: space before tab in indent.
;;
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:18: space before tab in indent.
esac
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:27: trailing whitespace.
warning: 4 lines add whitespace errors.
Applying: contrib/gcrypt: use git version on iOS
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:32: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:55: trailing whitespace.
--
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:113: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:115: trailing whitespace.
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/.git/rebase-apply/patch:119: trailing whitespace.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.
Applying: libvlc: add preliminary code path to modify quartztext variables on-the-fly
[info] Building for iphoneos
[info] Building vlc
[info] Building libvlc for iOS
[info] Using armv7 with SDK version 7.1
SDKROOT not specified, assuming /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
[info] Building tools
You are ready to build VLC and its contribs
make: `.gas' is up to date.
[info] Building contrib for iOS in '/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneOS-armv7'
[info] LD FLAGS SELECTED = '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -miphoneos-version-min=5.1'
/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc
make: Nothing to be done for `fetch'.
mkdir -p speex/m4 && mkdir -p -- /Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/share/aclocal && cd speex && autoreconf -fiv -I/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/local/bin/autoconf --include=/Users/igang/liu/ios_wk/lib/vlckit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/share/aclocal --force
configure.ac:45: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
make: *** [.speex] Error 1
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
** BUILD FAILED **
The following build commands failed:
Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7
Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/libMobileVLCKit.a normal armv7s
(2 failures)