Re: build failure in qt5-mac-qtwebkit when fink's flex is present

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 10/1/2014 4:22 PM, Alexander Hansen wrote:
> ...
>
> ( test -e Makefile.ANGLE.DerivedSources || /sw/lib/qt5-mac/bin/qmake
> /sw/src/fink.build/qt5-mac-qtwebkit-5.3.2-1/qtwebkit-opensource-src-5.3.2/Source/ThirdParty/ANGLE/DerivedSources.pri
> -o Makefile.ANGLE.DerivedSources ) &&
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
> Makefile.ANGLE.DerivedSources
> flex --noline --nounistd --outfile=generated/glslang_lex.cpp
> src/compiler/glslang.l
> flex --noline --nounistd --outfile=generated/Tokenizer_lex.cpp
> src/compiler/preprocessor/Tokenizer.l
> flex: unknown flag '-'.  For usage, try
> 	flex --help
> bison --no-lines --skeleton=yacc.c --defines=generated/glslang_tab.h
> --output=generated/glslang_tab.cpp src/compiler/glslang.y
> flex: unknown flag '-'.  For usage, try
> 	flex --help
> make[2]: *** [generated/Tokenizer_lex.cpp] Error 1
>
> ...
>
> Removing Fink's flex allows the build to proceed.

Fixed.

> Unrelatedly, there appears to be a typo somewhere (possibly from
> upstream) which leads to numerous warnings:
>
> clang: warning: argument unused during compilation: '-MMD'

I haven't been able to trace where that comes from.  It may be from 
setting -MD and qmake somehow adds -M in front of that, but I'm not sure.

Hanspeter


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.