FIX8-1.4.0 cannot be built if it is configured with --enable-libmemcached flag

100 views
Skip to first unread message

Victor Kovalevich

unread,
Oct 25, 2016, 10:24:27 AM10/25/16
to fix8 support
The software has been built by using of the instruction below:

./bootstrap
./configure --enable-ssl --enable-debug --enable-zeromq --enable-bdb --enable-libhiredis --enable-libmemcached --enable-f8test --enable-doxygen --with-pic --prefix=/usr/local/fix8-1.4.0

Unfortunately it cannot be built. The process is broken with following diagnostics:


$ make
make  all-recursive
make[1]: Entering directory '/home/vkc/Development/1/fix8-1.4.0'
Making all in runtime
make[2]: Entering directory '/home/vkc/Development/1/fix8-1.4.0/runtime'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -Wall -MT configuration.lo -MD -MP -MF .deps/configuration.Tpo -c -o configuration.lo configuration.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -Wall -MT configuration.lo -MD -MP -MF .deps/configuration.Tpo -c configuration.cpp  -fPIC -DPIC -o .libs/configuration.o
configuration.cpp: In member function ‘FIX8::Persister* FIX8::Configuration::create_persister(const XmlElement*, const FIX8::SessionID*, bool) const’:
configuration.cpp:210:16: error: ‘MemcachedPersister’ was not declared in this scope
     unique_ptr<MemcachedPersister> result(new MemcachedPersister);
                ^~~~~~~~~~~~~~~~~~
configuration.cpp:210:34: error: template argument 1 is invalid
     unique_ptr<MemcachedPersister> result(new MemcachedPersister);
                                  ^
configuration.cpp:210:34: error: template argument 2 is invalid
configuration.cpp:210:47: error: ‘MemcachedPersister’ does not name a type
     unique_ptr<MemcachedPersister> result(new MemcachedPersister);
                                               ^~~~~~~~~~~~~~~~~~
configuration.cpp:211:15: error: base operand of ‘->’ is not a pointer
     if (result->initialise(config_str, db, flag))
               ^~
configuration.cpp:212:20: error: request for member ‘release’ in ‘result’, which is of non-class type ‘int’
      return result.release();
                    ^~~~~~~
Makefile:575: recipe for target 'configuration.lo' failed
make[2]: *** [configuration.lo] Error 1
make[2]: Leaving directory '/home/vkc/Development/1/fix8-1.4.0/runtime'
Makefile:566: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vkc/Development/1/fix8-1.4.0'
Makefile:471: recipe for target 'all' failed
make: *** [all] Error 2

The issue has occurred on Fedora 24, used C++ compiler  c++ (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2), libmemcached development package is present too:

$ rpm -qa libmemcached\* memcached\*
memcached-1.4.25-1.fc24.x86_64
memcached-devel-1.4.25-1.fc24.x86_64
libmemcached-devel-1.0.18-7.fc24.x86_64
libmemcached-1.0.18-7.fc24.x86_64
libmemcached-libs-1.0.18-7.fc24.x86_64

Sergey Sedreev

unread,
Dec 1, 2016, 1:54:31 PM12/1/16
to fix8 support
Is it still a problem?

Regards,
Sergey

вторник, 25 октября 2016 г., 17:24:27 UTC+3 пользователь Victor Kovalevich написал:

Patrick Luck

unread,
Jul 6, 2020, 5:17:25 PM7/6/20
to fix8 support
Hi,

I'm receiving the same errors that Victor has mentioned in his post. I am using Ubuntu 18.04.2 LTS with FIX8-1.4.1.

Can anyone help me troubleshoot this please?

Thanks,

Patrick
Reply all
Reply to author
Forward
0 new messages