Skip to content

facing issues in building QuickFAST  #130

@GoogleCodeExporter

Description

@GoogleCodeExporter
I am trying to build QuickFAST on Linux Operating System.

I followed exact steps suggested to configure the dependent packages for 
compiling QuickFAST. Following steps followed by me
What steps will reproduce the problem?
1.created new directory quickfast
2.placed xerces-c-3.1.1, boost_1_47_0, MPC-MPC_3_9_0 and quickfast_1_5_0 
packages in quickfast directory
3. configured and built successfully xerces-c-3.1.1
4. configured and built successfully boost_1_47_0
5. setup.sh in quickFast directory includes following information

export QUICKFAST_ROOT=`pwd`

if test "$MPC_ROOT" = ""
then
  export MPC_ROOT=~/quickfast/MPC-MPC_3_9_0
fi

if test "$BOOST_ROOT" = ""
then
  export BOOST_ROOT=~/quickfast/boost_1_47_0
fi

if test "$BOOST_ROOT_LIB" = ""
then
  export BOOST_ROOT_LIB=$BOOST_ROOT/~/quickfast/boost_1_47_0/lib/
fi

if test "$BOOST_CFG" = ""
then
  export BOOST_CFG=-gcc44-mt-1_47
fi

if test "$BOOST_VERSION" = ""
then
  export BOOST_VERSION=boost-1_47
fi

if test "$XERCES_ROOT" = ""
then
  export XERCES_ROOT=~/quickfast/xerces-c-3.1.1
fi

if test "$XERCES_LIBPATH" = ""
then
  export XERCES_LIBPATH=$XERCES_ROOT/src/.libs
fi

if test "$XERCES_LIBNAME" = ""
then
  export XERCES_LIBNAME=xerces-c-3.1
fi

if test "$XERCES_INCLUDE" = ""
then
  export XERCES_INCLUDE=$XERCES_ROOT/src
fi

export PATH=$QUICKFAST_ROOT/bin:$MPC_ROOT:$PATH
export 
LD_LIBRARY_PATH=$XERCESLIB:$QUICKFAST_ROOT/lib:$BOOST_ROOT_LIB:$LD_LIBRARY_PATH

6. Setup.sh and m.sh executed successfully
7. while trying to make for QuickFAST, there is a failure with following Error:


[amitj@DevNNFApp01 quickfast_1_5_0]$ . ./setup.sh
[amitj@DevNNFApp01 quickfast_1_5_0]$ echo $BOOST_CFG
-gcc44-mt-1_47
[amitj@DevNNFApp01 quickfast_1_5_0]$ ./m.sh
Generating 'make' output using QuickFAST.mwc
Skipping OPRADecode (Examples.mpc), it requires opra_support.
Skipping SprywareFileDecoder (Examples.mpc), it requires spryware_support.
Generation Time: 1s
[amitj@DevNNFApp01 quickfast_1_5_0]$ make
make[1]: Entering directory `/home/amitj/quickfast/quickfast_1_5_0/src'
g++  -fPIC -O -O3 -DUSING_PCH -D_REENTRANT 
-I"/home/amitj/quickfast/boost_1_47_0/include/boost-1_47" 
-I"/home/amitj/quickfast/boost_1_47_0/." -I"/include" -I"../src" 
-DXML_USE_PTHREADS -L"." 
-L"/home/amitj/quickfast/boost_1_47_0/~/quickfast/boost_1_47_0/lib/" -L"/lib" 
-shared Common/QuickFASTPch.o Application/DNDecoderConnectionImpl.o 
Application/CommandArgParser.o Application/DecoderConnection.o 
Codecs/FieldInstructionGroup.o Codecs/Encoder.o Codecs/Context.o 
Codecs/Decoder.o Codecs/SegmentBody.o Codecs/DictionaryIndexer.o 
Codecs/PresenceMap.o Codecs/MessagePerPacketAssembler.o 
Codecs/StreamingAssembler.o Codecs/SchemaElement.o 
Codecs/GenericMessageBuilder.o Codecs/FieldInstructionUtf8.o 
Codecs/TemplateRegistry.o Codecs/Template.o Codecs/XMLTemplateParser.o 
Codecs/DataSourceString.o Codecs/FieldOpIncrement.o Codecs/FieldOpDefault.o 
Codecs/FieldOpCopy.o Codecs/DataSourceStream.o 
Codecs/DataSourceBufferedStream.o Codecs/PacketSequencingAssembler.o 
Codecs/FieldInstructionByteVector.o Codecs/SingleMessageConsumer.o 
Codecs/FieldInstructionTemplateRef.o Codecs/FieldOpDelta.o 
Codecs/DataSourceBuffer.o Codecs/FastEncodedHeaderAnalyzer.o 
Codecs/FieldInstructionBlob.o Codecs/DataSource.o 
Codecs/FieldInstructionAscii.o Codecs/FieldOpTail.o Codecs/FieldInstruction.o 
Codecs/FieldOpConstant.o Codecs/FixedSizeHeaderAnalyzer.o 
Codecs/FieldInstructionDecimal.o Codecs/MulticastDecoder.o 
Codecs/FieldInstructionSequence.o Codecs/FieldOp.o Codecs/BasePacketAssembler.o 
Common/BitMap.o Common/Profiler.o Common/dllmain.o Common/WorkingBuffer.o 
Common/Decimal.o Common/Types.o Communication/MulticastReceiverHandle.o 
Communication/AsioService.o Communication/PCapReader.o 
Communication/AsynchFileSender.o Communication/FileSender.o 
Communication/AsynchSender.o Messages/FieldAscii.o Messages/MessageBuilder.o 
Messages/FieldInt64.o Messages/FieldIdentity.o Messages/FieldUInt32.o 
Messages/FieldInt16.o Messages/FieldString.o Messages/FieldGroup.o 
Messages/MessageFormatter.o Messages/MessageAccessor.o Messages/FieldUInt16.o 
Messages/FieldSequence.o Messages/FieldByteVector.o Messages/Field.o 
Messages/FieldInt32.o Messages/FieldUtf8.o Messages/FieldDecimal.o 
Messages/FieldUInt64.o Messages/FieldInt8.o Messages/FieldSet.o 
Messages/FieldUInt8.o Messages/Message.o -l"xerces-c" 
-l"boost_thread-gcc44-mt-1_47" -l"boost_system-gcc44-mt-1_47" 
-l"boost_filesystem-gcc44-mt-1_47" -ldl  -lpthread -o "../lib/libQuickFAST.so"
/usr/bin/ld: cannot find -lboost_thread-gcc44-mt-1_47
collect2: ld returned 1 exit status
make[1]: *** [../lib/libQuickFAST.so] Error 1
make[1]: Leaving directory `/home/amitj/quickfast/quickfast_1_5_0/src'
make: *** [QuickFAST] Error 2
[amitj@DevNNFApp01 quickfast_1_5_0]$



Expectation is, QuickFAST should get successfully compiled.

Many Thanks in advance.

Regards,
Amit

Original issue reported on code.google.com by dinchaka...@gmail.com on 22 Jul 2015 at 9:27

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions