compilation error: bison: invalid option -- W
Posted: 21 Jun 2019 21:35
I've tried to make build under Mac by manual https://wiki.videolan.org/OSXCompile/
But I've got next error. Please help.
$ make -j4
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compat
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in share
make[2]: Nothing to be done for `all'.
Making all in src
GEN stamp-revision
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in modules
YACC codec/webvtt/CSSGrammar.c
XIB gui/macosx/UI/About.nib
XIB gui/macosx/UI/AddonManager.nib
XIB gui/macosx/UI/AudioEffects.nib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison: invalid option -- W
Try `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison --help' for more information.
make[2]: *** [codec/webvtt/CSSGrammar.c] Error 1
But I've got next error. Please help.
$ make -j4
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compat
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in share
make[2]: Nothing to be done for `all'.
Making all in src
GEN stamp-revision
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in modules
YACC codec/webvtt/CSSGrammar.c
XIB gui/macosx/UI/About.nib
XIB gui/macosx/UI/AddonManager.nib
XIB gui/macosx/UI/AudioEffects.nib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison: invalid option -- W
Try `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison --help' for more information.
make[2]: *** [codec/webvtt/CSSGrammar.c] Error 1