Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 433 by leslie.r...@gmail.com: "ValuesIn" was not declared error
in 'make check' under Ubuntu
http://code.google.com/p/protobuf/issues/detail?id=433
What steps will reproduce the problem?
1. ./configure
2. make
3. make check
What is the expected output? What do you see instead?
Expected successful compilation. Instead received an error. See text below.
Please use labels and text to provide additional information.
sisinc@sisinc-virtual-machine:~/Desktop/protobuf-2.4.1$ g++ --version
g++ (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sisinc@sisinc-virtual-machine:~/Desktop/protobuf-2.4.1$ uname -a
Linux sisinc-virtual-machine 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9
19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
sisinc@sisinc-virtual-machine:~/Desktop/protobuf-2.4.1$ make check
Making check in .
make[1]: Entering directory `/home/sisinc/Desktop/protobuf-2.4.1'
make check-local
make[2]: Entering directory `/home/sisinc/Desktop/protobuf-2.4.1'
Making lib/libgtest.a lib/libgtest_main.a in gtest
make[3]: Entering directory `/home/sisinc/Desktop/protobuf-2.4.1/gtest'
depbase=`echo src/gtest.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I./build-aux -I. -I./include -g -DNDEBUG -MT src/gtest.lo -MD -MP -MF
$depbase.Tpo -c -o src/gtest.lo src/gtest.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -g
-DNDEBUG -MT src/gtest.lo -MD -MP -MF src/.deps/gtest.Tpo -c src/gtest.cc
-fPIC -DPIC -o src/.libs/gtest.o
In file included from ./include/gtest/gtest-param-test.h:159:0,
from ./include/gtest/gtest.h:59,
from src/gtest.cc:34:
./include/gtest/internal/gtest-param-util-generated.h: In instantiation of
‘testing::internal::ValueArray2<T1, T2>::operator
testing::internal::ParamGenerator<T>() const [with T = bool; T1 = bool; T2
= bool]’:
./include/gtest/gtest-param-test.h:1186:28: required from here
./include/gtest/internal/gtest-param-util-generated.h:80:26: error:
‘ValuesIn’ was not declared in this scope, and no declarations were found
by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ./include/gtest/gtest.h:59:0,
from src/gtest.cc:34:
./include/gtest/gtest-param-test.h:288:58: note: ‘template<class Container>
testing::internal::ParamGenerator<typename Container::value_type>
testing::ValuesIn(const Container&)’ declared here, later in the
translation unit
make[3]: *** [src/gtest.lo] Error 1
make[3]: Leaving directory `/home/sisinc/Desktop/protobuf-2.4.1/gtest'
make[2]: *** [check-local] Error 2
make[2]: Leaving directory `/home/sisinc/Desktop/protobuf-2.4.1'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/sisinc/Desktop/protobuf-2.4.1'
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.