From: Mark W. <ma...@os...> - 2006-08-01 18:21:30
|
ro...@ci... wrote: > Hi Mark, > > I am not in my notebook now, but I think I'm using libpqxx-2.6.6. > I think that this escape function was defined after 2.6, not sure. > > You can download pqxx from here: > http://thaiopensource.org/download/software/libpqxx Ok, I've upgraded to 2.6.7 and I don't get that compiler error anymore. :) I get the previous EntryWorker linker error though. :( Any ideas? Perhaps there's something else I have that is old... g++ -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -o BrokerageHouseMain DateTime.o CSocket.o TxnHarnessSendToMarket.o BrokerageHouseMain.o DBConnection.o TxnBaseDB.o MarketFeedDB.o TradeCleanupDB.o DataMaintenanceDB.o MarketWatchDB.o SecurityDetailDB.o BrokerVolumeDB.o CustomerPositionDB.o TradeUpdateDB.o TradeLookupDB.o TradeResultDB.o TradeOrderDB.o TradeStatusDB.o BrokerageHouse.o -L/usr/lib64 -lpqxx -L/usr/lib64 -R/usr/lib64 -lpq g++: unrecognized option `-R/usr/lib64' BrokerageHouse.o: In function `TPCE::CBrokerageHouse::Listener()': BrokerageHouse/BrokerageHouse.cpp:310: undefined reference to `TPCE::EntryWorkerThread(void*)' collect2: ld returned 1 exit status Thanks, Mark |