[Xapian-tickets] [Xapian] #567: Cross building with mingw from Linux fails

Xapian nobody at xapian.org
Tue Dec 13 14:18:40 GMT 2011


#567: Cross building with mingw from Linux fails
---------------------------+------------------------------------------------
 Reporter:  greg.hellings  |       Owner:  olly    
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  1.3.0   
Component:  Build system   |     Version:  1.2.7   
 Severity:  normal         |    Keywords:          
Blockedby:                 |    Platform:  Linux   
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by greg.hellings):

 With 1.3.0_svn16161 from last night I get this error.


 libtool: link: /usr/bin/x86_64-w64-mingw32-g++ -fshow-column -Wall -W
 -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
 -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-
 null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -Wlogical-op
 -Wmissing-declarations -fvisibility=hidden -I/usr/x86_64-w64-mingw32/sys-
 root/mingw/include -O2 -g -pipe -Wall -fexceptions -fno-omit-frame-pointer
 -fno-optimize-sibling-calls --param=ssp-buffer-size=4 -mms-bitfields -Wl
 ,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -o bin/.libs
 /xapian-check.exe bin/bin_xapian_check-xapian-check.o bin
 /bin_xapian_check-xapian-check-brass.o bin/bin_xapian_check-xapian-check-
 chert.o -Wl,--enable-runtime-pseudo-reloc  -L/usr/x86_64-w64-mingw32/sys-
 root/mingw/lib ./.libs/libxapian.dll.a -lz -lws2_32 -lrpcrt4
 ./.libs/libbrasscheck.a ./.libs/libchertcheck.a
 /usr/lib/gcc/x86_64-w64-mingw32/4.6.2/libstdc++.dll.a
 -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib
 -L/usr/lib/gcc/x86_64-w64-mingw32/4.6.2
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:138: undefined reference
 to `BrassTable_base::block_free_at_start(unsigned int) const'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:140: undefined reference
 to `BrassTable_base::block_free_now(unsigned int)'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:142: undefined reference
 to `BrassTable_base::free_block(unsigned int)'
 ./.libs/libbrasscheck.a(brass_check.o): In function
 `Brass::Key::operator>=(Brass::Key) const':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_table.h:126: undefined reference
 to `Brass::Key::operator<(Brass::Key) const'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:175: undefined reference
 to `BrassTable::block_to_cursor(Brass::Cursor*, int, unsigned int) const'
 ./.libs/libbrasscheck.a(brass_check.o): In function
 `Brass::Key::operator>=(Brass::Key) const':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_table.h:126: undefined reference
 to `Brass::Key::operator<(Brass::Key) const'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:191: undefined reference
 to `Brass::Key::operator<(Brass::Key) const'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:184: undefined reference
 to `Brass::Key::operator<(Brass::Key) const'
 ./.libs/libbrasscheck.a(brass_check.o): In function `BrassTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.h:40: undefined reference
 to `BrassTable::BrassTable(char const*, std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, bool, int, bool)'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:236: undefined reference
 to `BrassTable_base::block_free_at_start(unsigned int) const'
 ./.libs/libbrasscheck.a(brass_check.o): In function `~BrassTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.h:33: undefined reference
 to `BrassTable::~BrassTable()'
 ./.libs/libbrasscheck.a(brass_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.cc:255: undefined reference
 to `BrassTable_base::is_empty() const'
 ./.libs/libbrasscheck.a(brass_check.o): In function `~BrassTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/brass/brass_check.h:33: undefined reference
 to `BrassTable::~BrassTable()'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:137: undefined reference
 to `ChertTable_base::block_free_at_start(unsigned int) const'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:139: undefined reference
 to `ChertTable_base::block_free_now(unsigned int)'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:141: undefined reference
 to `ChertTable_base::free_block(unsigned int)'
 ./.libs/libchertcheck.a(chert_check.o): In function `Key::operator>=(Key)
 const':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_table.h:124: undefined reference
 to `Key::operator<(Key) const'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:174: undefined reference
 to `ChertTable::block_to_cursor(Cursor*, int, unsigned int) const'
 ./.libs/libchertcheck.a(chert_check.o): In function `Key::operator>=(Key)
 const':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_table.h:124: undefined reference
 to `Key::operator<(Key) const'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:190: undefined reference
 to `Key::operator<(Key) const'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:183: undefined reference
 to `Key::operator<(Key) const'
 ./.libs/libchertcheck.a(chert_check.o): In function `ChertTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.h:40: undefined reference
 to `ChertTable::ChertTable(char const*, std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, bool, int, bool)'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:235: undefined reference
 to `ChertTable_base::block_free_at_start(unsigned int) const'
 ./.libs/libchertcheck.a(chert_check.o): In function `~ChertTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.h:33: undefined reference
 to `ChertTable::~ChertTable()'
 ./.libs/libchertcheck.a(chert_check.o):/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.cc:254: undefined reference
 to `ChertTable_base::is_empty() const'
 ./.libs/libchertcheck.a(chert_check.o): In function `~ChertTableCheck':
 /tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/backends/chert/chert_check.h:33: undefined reference
 to `ChertTable::~ChertTable()'
 collect2: ld returned 1 exit status
 make[3]: *** [bin/xapian-check.exe] Error 1
 make[3]: Leaving directory `/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/build-64'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/build-64'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/tmp/buildd/mingw64-x-xapian-
 core-1.3.0+svn16161/build-64'
 make: *** [build-stamp] Error 2

-- 
Ticket URL: <http://trac.xapian.org/ticket/567#comment:10>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list