Compilation problem with a few configure option

Emmanuel Engelhart kelson at kiwix.org
Mon Jun 20 21:46:18 BST 2016


$ c++ --version
c++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

On 20.06.2016 21:55, Kevin Duraj wrote:
> Emmanuel,
> Which version of C++ compiler are you using?
> 
> $ c++ --version
> c++ (GCC) 4.9.3
> Copyright (C) 2015 Free Software Foundation, Inc.
> 
> -Kevin
> 
> 
> On Mon, Jun 20, 2016 at 6:58 AM, Emmanuel Engelhart <kelson at kiwix.org
> <mailto:kelson at kiwix.org>> wrote:
> 
>     Hi
> 
>     Compilation of 1.3.7 dies with the following configuration:
> 
>     ====================================
>     ./configure --enable-shared --enable-static --disable-sse
>     --disable-backend-inmemory --disable-backend-remote
>     ====================================
> 
>     During the compilation I get the following error:
> 
>     ====================================
>     /bin/bash ./libtool  --tag=CXX   --mode=link 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
>     -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self
>     -fvisibility=hidden -g -O2 -std=gnu++11   -o bin/xapian-delve
>     bin/xapian-delve.o  libgetopt.la <http://libgetopt.la>
>     libxapian-1.3.la <http://libxapian-1.3.la>
>     libtool: link: 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 -Wlogical-op
>     -Wmissing-declarations -Wdouble-promotion -Winit-self
>     -fvisibility=hidden -g -O2 -std=gnu++11 -o bin/.libs/xapian-delve
>     bin/xapian-delve.o  ./.libs/libgetopt.a ./.libs/libxapian-1.3.so
>     <http://libxapian-1.3.so> -lrt
>     -lz -luuid
>     ./.libs/libxapian-1.3.so <http://libxapian-1.3.so>: undefined
>     reference to
>     `RemoteConnection::send_message(char, std::string const&, double)'
>     ./.libs/libxapian-1.3.so <http://libxapian-1.3.so>: undefined
>     reference to
>     `RemoteConnection::get_message_chunked(double)'
>     ./.libs/libxapian-1.3.so <http://libxapian-1.3.so>: undefined
>     reference to
>     `RemoteConnection::RemoteConnection(int, int, std::string const&)'
>     ./.libs/libxapian-1.3.so <http://libxapian-1.3.so>: undefined
>     reference to
>     `RemoteConnection::get_message_chunk(std::string&, unsigned long,
>     double)'
>     ./.libs/libxapian-1.3.so <http://libxapian-1.3.so>: undefined
>     reference to
>     `RemoteConnection::send_file(char, int, double)'
>     collect2: error: ld returned 1 exit status
>     make[2]: *** [bin/xapian-delve] Error 1
>     make[2]: Leaving directory
>     `/home/kelson/kiwix/src/dependencies/xapian-core-1.3.7'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory
>     `/home/kelson/kiwix/src/dependencies/xapian-core-1.3.7'
>     make: *** [all] Error 2
>     ====================================
> 
>     Does someone has an explanation?
> 
>     Regards
>     Emmanuel
> 
>     --
>     Kiwix - Wikipedia Offline & more
>     * Web: http://www.kiwix.org
>     * Twitter: https://twitter.com/KiwixOffline
>     * more: http://www.kiwix.org/wiki/Communication
> 
> 
> 


-- 
Kiwix - Wikipedia Offline & more
* Web: http://www.kiwix.org
* Twitter: https://twitter.com/KiwixOffline
* more: http://www.kiwix.org/wiki/Communication



More information about the Xapian-discuss mailing list