0.10.1: test suite linking is failing
kloczek opened this issue · 1 comments
kloczek commented
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gumbo-parser-0.10.1' /bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gumbo_test tests/gumbo_test-attribute.o tests/gumbo_test-char_ref.o tests/gumbo_test-parser.o tests/gumbo_test-string_buffer.o tests/gumbo_test-string_piece.o tests/gumbo_test-tokenizer.o tests/gumbo_test-test_utils.o tests/gumbo_test-utf8.o tests/gumbo_test-vector.o libgumbo.la -lgtest -lgtest_main libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/gumbo_test tests/gumbo_test-attribute.o tests/gumbo_test-char_ref.o tests/gumbo_test-parser.o tests/gumbo_test-string_buffer.o tests/gumbo_test-string_piece.o tests/gumbo_test-tokenizer.o tests/gumbo_test-test_utils.o tests/gumbo_test-utf8.o tests/gumbo_test-vector.o ./.libs/libgumbo.so -lgtest -lgtest_main /usr/bin/ld: tests/gumbo_test-parser.o:(.data.rel.ro+0x10): undefined reference to `typeinfo for testing::Test' /usr/bin/ld: tests/gumbo_test-tokenizer.o:(.data.rel.ro+0x28): undefined reference to `typeinfo for testing::Test' /usr/bin/ld: tests/gumbo_test-test_utils.o:(.data.rel.ro._ZTI9GumboTest[_ZTI9GumboTest]+0x10): undefined reference to `typeinfo for testing::Test' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:895: gumbo_test] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gumbo-parser-0.10.1'
kloczek commented
sorry my fault.