When attempting to build version 1.6.0, I proceeded through the building of
the library, however when the compile reached "at" it breaks with the
following errors. The STL errors actually go on for several hundred lines,
but I didn't want to swamp the mailing list.
This was my configure line:
./configure --with-stlport=/usr/local
I am using gcc 3.2.3 and stlport 4.5.3. I have previously successfully
built and installed QuickFIX 1.5.0. From the errors it would appear that
something (libquickfix?) has not correctly linked to the stlport libs, but
everything seems to be in place correctly. Any help would be apprecitated.
Thanks,
Howard
[root@dvblks02 .libs]# ldd libquickfix.so.1.0.0
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4027c000)
libstlport_gcc.so => /usr/local/lib/libstlport_gcc.so (0x402ad000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4037b000)
libz.so.1 => /usr/lib/libz.so.1 (0x40423000)
libm.so.6 => /lib/i686/libm.so.6 (0x40431000)
libc.so.6 => /lib/i686/libc.so.6 (0x40455000)
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x40591000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
make all-recursive
make[1]: Entering directory `/usr/local/src/quickfix-1.6.0'
Making all in src
make[2]: Entering directory `/usr/local/src/quickfix-1.6.0/src'
Making all in C++
make[3]: Entering directory `/usr/local/src/quickfix-1.6.0/src/C++'
Making all in test
make[4]: Entering directory `/usr/local/src/quickfix-1.6.0/src/C++/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/src/quickfix-1.6.0/src/C++/test'
make[4]: Entering directory `/usr/local/src/quickfix-1.6.0/src/C++'
rm -rf ../../lib/libquickfix.a
rm -rf ../../lib/libquickfix.la
rm -rf ../../lib/libquickfix.so
ln -s ../src/C++/.libs/libquickfix.a ../../lib/libquickfix.a
ln -s ../src/C++/.libs/libquickfix.la ../../lib/libquickfix.la
ln -s ../src/C++/.libs/libquickfix.so ../../lib/libquickfix.so
bash ./copy.sh ../../include/quickfix *.h
bash ./copy.sh ../../include/quickfix fix*/*.h
make[4]: Leaving directory `/usr/local/src/quickfix-1.6.0/src/C++'
make[3]: Leaving directory `/usr/local/src/quickfix-1.6.0/src/C++'
make[3]: Entering directory `/usr/local/src/quickfix-1.6.0/src'
/bin/sh ../libtool --mode=link c++ -g -O2 -Wall -
I/usr/local/include/stlport -I/usr/include/libxml2 -I/include -
I/include/linux -o at at.o C++/libquickfix.la -lpthread -L/usr/local/lib
-lstlport_gcc -L/usr/lib -lxml2 -lz -lm c++ -g -O2 -Wall -
I/usr/local/include/stlport -I/usr/include/libxml2 -I/include -
I/include/linux -o .libs/at at.o C++/.libs/libquickfix.so -L/usr/local/lib
-L/usr/lib -lpthread -lstlport_gcc /usr/lib/libxml2.so -lz -lm -Wl,--rpath -
Wl,/usr/local/lib
at.o: In function `_STL::less<_STL::pair<FIX::ClOrdID, FIX::SessionID>
>::operator()(_STL::pair<FIX::ClOrdID, FIX::SessionID> const &,
_STL::pair<FIX::ClOrdID, FIX::SessionID> const &) const':
/usr/local/include/stlport/stl/_tree.h(.text+0x15a): undefined reference to
`_STL::__node_alloc<true, 0>::_M_allocate(unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x1f2): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x269): undefined reference to
`_STL::cout'
/usr/local/include/stlport/stl/_tree.h(.text+0x278): undefined reference to
`_STL::cout'
/usr/local/include/stlport/stl/_tree.h(.text+0x2c2): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x472): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x66e): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x6c2): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
/usr/local/include/stlport/stl/_tree.h(.text+0x7ea): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
at.o(.text+0x835):/usr/local/include/stlport/stl/_tree.h: more undefined
references to `_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned
int)' follow
at.o: In function `_STL::less<_STL::pair<FIX::ClOrdID, FIX::SessionID>
>::operator()(_STL::pair<FIX::ClOrdID, FIX::SessionID> const &,
_STL::pair<FIX::ClOrdID, FIX::SessionID> const &) const':
/usr/local/include/stlport/stl/_tree.h(.text+0xac3): undefined reference to
`_STL::cout'
/usr/local/include/stlport/stl/_tree.h(.text+0xafe): undefined reference to
`_STL::__node_alloc<true, 0>::_M_deallocate(void *, unsigned int)'
|