Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
V:\>cd ragel-6.7
V:\ragel-6.7>mkdir build
V:\ragel-6.7>cd build
V:\ragel-6.7\build>sh ../configure --prefix=V:/installed/ragel/6.7
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ../DIST... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ar... ar
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for gdc... no
checking for the Objective-C compiler... yes
checking for javac... no
checking for txl... no
checking for ruby... no
checking for gmcs... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ragel/Makefile
config.status: creating aapl/Makefile
config.status: creating doc/Makefile
config.status: creating doc/ragel.1
config.status: creating contrib/Makefile
config.status: creating test/Makefile
config.status: creating test/runtests
config.status: creating examples/Makefile
config.status: creating ragel/config.h
config.status: executing depfiles commands
config.status: executing default commands
configuration of ragel complete
V:\ragel-6.7\build>make
Making all in ragel
make[1]: Entering directory `/v/ragel-6.7/build/ragel'
echo '#define VERSION "6.7"' > version.h
echo '#define PUBDATE "May 2011"' >> version.h
make all-am
make[2]: Entering directory `/v/ragel-6.7/build/ragel'
g++ -DHAVE_CONFIG_H -I. -I../../ragel -I../../aapl -Wall -g -MT ragel-main.o -MD -MP -MF .deps/ragel-main.Tpo -c -o ragel-main.o `test -f 'main.cpp' || echo '../../ragel/'`main.cpp
mv -f .deps/ragel-main.Tpo .deps/ragel-main.Po
g++ -DHAVE_CONFIG_H -I. -I../../ragel -I../../aapl -Wall -g -MT ragel-parsetree.o -MD -MP -MF .deps/ragel-parsetree.Tpo -c -o ragel-parsetree.o `test -f 'parsetree.cpp' || echo '../../ragel/'`parsetree.cpp
In file included from ../../aapl/avlmap.h:61:0,
from ../../ragel/parsedata.h:28,
from rlparse.kh:27,
from ../../ragel/parsetree.cpp:30:
../../aapl/avlcommon.h: In instantiation of 'AvlMapEl<Key, Value>* AvlMap<Key, Value, Compare>::find(const Key&) const [with Key = const char*; Value = int; Compare = CmpStr]':
../../ragel/parsetree.cpp:97:63: required from here
../../aapl/avlcommon.h:1061:3: error: 'compare' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../aapl/avlcommon.h:1061:3: note: declarations in dependent base 'CmpStr' are not found by unqualified lookup
../../aapl/avlcommon.h:1061:3: note: use 'this->compare' instead
In file included from ../../aapl/bstset.h:53:0,
from ../../ragel/fsmgraph.h:31,
from ../../ragel/parsedata.h:32,
from rlparse.kh:27,
from ../../ragel/parsetree.cpp:30:
../../aapl/bstcommon.h: In instantiation of 'Key* BstSet<Key, Compare, Resize>::insert(const Key&, Key**) [with Key = LongestMatchPart*; Compare = CmpOrd<LongestMatchPart*>; Resize = ResizeExpn]':
../../ragel/parsetree.cpp:304:28: required from here
../../aapl/bstcommon.h:460:3: error: 'compare' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../aapl/bstcommon.h:460:3: note: declarations in dependent base 'CmpOrd<LongestMatchPart*>' are not found by unqualified lookup
../../aapl/bstcommon.h:460:3: note: use 'this->compare' instead
make[2]: *** [ragel-parsetree.o] Error 1
make[2]: Leaving directory `/v/ragel-6.7/build/ragel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/v/ragel-6.7/build/ragel'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment