Re: [Ffts-develop] Re: libCommon
Status: Planning
Brought to you by:
mghiggins
|
From: s d <sea...@ho...> - 2001-05-19 02:02:19
|
Ok. Tried again. export QTDIR ,PSDIR, FFTS_DEV_DIR. source FFTS_Setup. ./MakeAll. Now it dies because it can't find lCommon. Here's the output from the make. AFAICS, it doesn't actually build libCommon.so and copy it to lib/. MakeAll tells it to build. I looked at the Makefile in common/. Can't figure out what's the problem. FWIW, I have make- 3.79.1. thanks jay . . . trade... g++ -fPIC -c CAccount.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c CTrade.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c CPositionList.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c TradeFns.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c CPortfolio.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -shared -Wl,-soname,libTrade.so -o libTrade.so CAccount.o CTrade.o CPositionList.o TradeFns.o CPortfolio.o cp libTrade.so /opt/ffts/FFTS/lib/libTrade.so common... g++ -fPIC -c CObjectFactory.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c OptionDataFns.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 utils... g++ -fPIC -c CCurveParser.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c CYahooCSVParser.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 >This is the source of problem (2), I'm afraid - you need to have >libCommon in there. > >How are you building the FFTS? libCommon should get built before >you need it for anything. > >You should do the following, in this order: > >1) Extract the FFTS code into some directory. I'll call it >/home/FFTS, but it can be whatever you want. > >2) Set the environment variable FFTS_DEV_DIR to the directory >you extracted the FFTS code, like > >export FFTS_DEV_DIR=/home/FFTS > >in bash. > >3) Change to $FFTS_DEV_DIR and do the following: > >source FFTS_Setup >./MakeAll > >This should build a bunch of projects, and eventually build >the "common" project. Poke around in the MakeAll script to >see what it's doing (it's just command-line bash). > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |