compilation error: bison: invalid option -- W

macOS specific usage questions
mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

compilation error: bison: invalid option -- W

Postby mangup » 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

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: compilation error: bison: invalid option -- W

Postby dfuhrmann » 30 Jun 2019 21:15

The system bison is likely too old. You should use a newer bison version, e.g. by using extras/tools.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests