C++ Boost和OpenCV库与Eclipse CDR的静态链接。错误

C++ Boost和OpenCV库与Eclipse CDR的静态链接。错误,c++,boost,opencv,eclipse-cdt,static-linking,C++,Boost,Opencv,Eclipse Cdt,Static Linking,我尝试将我的项目与EclipseCDT中的Boost和OpenCV库静态链接。我在谷歌上搜索了我必须添加的库,并将它们添加到链接器中。但是错误信息仍然存在。我做错了什么 make all Building target: CalibServer Invoking: GCC C++ Linker g++ -L/usr/local/lib64 -static -o"CalibServer" ./src/CalibServer.o -lhighgui -lz -lrt -ltiff -ljpe

我尝试将我的项目与EclipseCDT中的Boost和OpenCV库静态链接。我在谷歌上搜索了我必须添加的库,并将它们添加到链接器中。但是错误信息仍然存在。我做错了什么

make all 
Building target: CalibServer
Invoking: GCC C++ Linker
g++ -L/usr/local/lib64 -static -o"CalibServer"  ./src/CalibServer.o   -lhighgui -lz -lrt -ltiff -ljpeg -lpng12 -lpthread -lcv -lboost_iostreams -lboost_date_time -lboost_regex -lcxcore -lcvaux -lboost_thread -lboost_filesystem
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(loadsave.o): In function `cv::imdecode_(cv::Mat const&, int, int, cv::Mat*)':
(.text._ZN2cvL9imdecode_ERKNS_3MatEiiPS0_+0x1db): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
./src/CalibServer.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:208: undefined reference to `boost::system::get_system_category()'
/usr/include/boost/system/error_code.hpp:209: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::get_system_category()'
./src/CalibServer.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::get_system_category()'
./src/CalibServer.o: In function `boost::asio::error::get_system_category()':
/usr/include/boost/asio/error.hpp:218: undefined reference to `boost::system::get_system_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `global constructors keyed to _ZN2cv13Jpeg2KDecoderC2Ev':
(.text._GLOBAL__I__ZN2cv13Jpeg2KDecoderC2Ev+0x5): undefined reference to `jas_init'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::JasperInitializer::~JasperInitializer()':
(.text._ZN2cv17JasperInitializerD1Ev[cv::JasperInitializer::~JasperInitializer()]+0x1): undefined reference to `jas_cleanup'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent16u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x3d): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent16u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x10a): undefined reference to `jas_image_writecmpt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent16u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x136): undefined reference to `jas_matrix_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent8u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0x3d): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent8u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0x10a): undefined reference to `jas_image_writecmpt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent8u(void*, cv::Mat const&)':
(.text._ZN2cv13Jpeg2KEncoder16writeComponent8uEPvRKNS_3MatE+0x136): undefined reference to `jas_matrix_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::close()':
(.text._ZN2cv13Jpeg2KDecoder5closeEv+0xe): undefined reference to `jas_stream_close'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::close()':
(.text._ZN2cv13Jpeg2KDecoder5closeEv+0x24): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x87): undefined reference to `jas_image_getcmptbytype'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x9b): undefined reference to `jas_image_getcmptbytype'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0xab): undefined reference to `jas_image_getcmptbytype'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x12f): undefined reference to `jas_matrix_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1ad): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1d4): undefined reference to `jas_image_readcmpt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x267): undefined reference to `jas_stream_close'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x27d): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x2b8): undefined reference to `jas_cmprof_createfromclrspc'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x2d4): undefined reference to `jas_image_chclrspc'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x2e7): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x2f3): undefined reference to `jas_cmprof_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x305): undefined reference to `jas_image_getcmptbytype'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readData(cv::Mat&)':
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x35a): undefined reference to `jas_cmprof_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0xe): undefined reference to `jas_stream_close'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0x24): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0x3a): undefined reference to `jas_stream_fopen'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0x56): undefined reference to `jas_image_decode'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0xfb): undefined reference to `jas_stream_close'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KDecoder::readHeader()':
(.text._ZN2cv13Jpeg2KDecoder10readHeaderEv+0x113): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0xc2): undefined reference to `jas_image_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x13e): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x20a): undefined reference to `jas_image_writecmpt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x23b): undefined reference to `jas_matrix_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x24e): undefined reference to `jas_stream_fopen'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x260): undefined reference to `jas_image_strtofmt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x274): undefined reference to `jas_image_encode'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x282): undefined reference to `jas_stream_close'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x28c): undefined reference to `jas_image_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x2e8): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::write(cv::Mat const&, std::vector<int, std::allocator<int> > const&)':
(.text._ZN2cv13Jpeg2KEncoder5writeERKNS_3MatERKSt6vectorIiSaIiEE+0x3aa): undefined reference to `jas_image_writecmpt'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogVSetField':
(.text+0x8f7): undefined reference to `deflateParams'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogCleanup':
(.text+0xa1c): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogCleanup':
(.text+0xa2d): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogPostEncode':
(.text+0xa81): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogEncode':
(.text+0x11ec): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogPreEncode':
(.text+0x25af): undefined reference to `deflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogSetupEncode':
(.text+0x268b): undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogDecode':
(.text+0x2823): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogDecode':
(.text+0x2e9d): undefined reference to `inflateSync'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogPreDecode':
(.text+0x3a0c): undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_pixarlog.o): In function `PixarLogSetupDecode':
(.text+0x3af5): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPCleanup':
(.text+0x285): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPCleanup':
(.text+0x29d): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPEncode':
(.text+0x318): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPPostEncode':
(.text+0x401): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPPreEncode':
(.text+0x4e3): undefined reference to `deflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPSetupEncode':
(.text+0x557): undefined reference to `deflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPSetupEncode':
(.text+0x584): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPDecode':
(.text+0x61e): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPDecode':
(.text+0x67e): undefined reference to `inflateSync'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPPreDecode':
(.text+0x778): undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPSetupDecode':
(.text+0x7f1): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPSetupDecode':
(.text+0x824): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libtiff.a(tif_zip.o): In function `ZIPVSetField':
(.text+0x8f7): undefined reference to `deflateParams'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-png.o): In function `png_calculate_crc':
(.text+0x1229): undefined reference to `crc32'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-png.o): In function `png_reset_crc':
(.text+0x125b): undefined reference to `crc32'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-png.o): In function `png_reset_zstream':
(.text+0x7dd): undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngread.o): In function `png_read_destroy':
(.text+0x23e): undefined reference to `inflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngread.o): In function `png_read_row':
(.text+0xa09): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngread.o): In function `png_read_init_3':
(.text+0x199e): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngread.o): In function `png_create_read_struct_2':
(.text+0x1e84): undefined reference to `inflateInit_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwrite.o): In function `png_write_destroy':
(.text+0x763): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwrite.o): In function `png_write_flush':
(.text+0x9e6): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngrutil.o): In function `png_inflate':
(.text+0x11f8): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngrutil.o): In function `png_inflate':
(.text+0x123c): undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngrutil.o): In function `png_read_finish_row':
(.text+0x18b9): undefined reference to `inflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngrutil.o): In function `png_read_finish_row':
(.text+0x1a34): undefined reference to `inflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_text_compress':
(.text+0x6f4): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_text_compress':
(.text+0x7ba): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_write_compressed_data_out':
(.text+0xe54): undefined reference to `deflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_write_finish_row':
(.text+0x2a29): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_write_finish_row':
(.text+0x2a92): undefined reference to `deflateReset'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_write_filtered_row':
(.text+0x2c92): undefined reference to `deflate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpng12.a(libpng12_la-pngwutil.o): In function `png_write_IHDR':
(.text+0x3ec8): undefined reference to `deflateInit2_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxsystem.o): In function `cv::getTickCount()':
(.text._ZN2cv12getTickCountEv+0xd): undefined reference to `clock_gettime'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxsystem.o): In function `cvGetTickCount':
(.text.cvGetTickCount+0xd): undefined reference to `clock_gettime'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::determinant(cv::Mat const&)':
(.text._ZN2cv11determinantERKNS_3MatE+0x38a): undefined reference to `dgetrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::determinant(cv::Mat const&)':
(.text._ZN2cv11determinantERKNS_3MatE+0x569): undefined reference to `sgetrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::eigen(cv::Mat const&, cv::Mat&, cv::Mat&, bool, int, int)':
(.text._ZN2cvL5eigenERKNS_3MatERS0_S3_bii+0x667): undefined reference to `dsyevr_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::eigen(cv::Mat const&, cv::Mat&, cv::Mat&, bool, int, int)':
(.text._ZN2cvL5eigenERKNS_3MatERS0_S3_bii+0x915): undefined reference to `dsyevr_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::eigen(cv::Mat const&, cv::Mat&, cv::Mat&, bool, int, int)':
(.text._ZN2cvL5eigenERKNS_3MatERS0_S3_bii+0xbf6): undefined reference to `ssyevr_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::eigen(cv::Mat const&, cv::Mat&, cv::Mat&, bool, int, int)':
(.text._ZN2cvL5eigenERKNS_3MatERS0_S3_bii+0xe7e): undefined reference to `ssyevr_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::SVD::operator()(cv::Mat const&, int)':
(.text._ZN2cv3SVDclERKNS_3MatEi+0x339): undefined reference to `dgesdd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::SVD::operator()(cv::Mat const&, int)':
(.text._ZN2cv3SVDclERKNS_3MatEi+0x571): undefined reference to `dgesdd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::SVD::operator()(cv::Mat const&, int)':
(.text._ZN2cv3SVDclERKNS_3MatEi+0x7dd): undefined reference to `sgesdd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::SVD::operator()(cv::Mat const&, int)':
(.text._ZN2cv3SVDclERKNS_3MatEi+0xc30): undefined reference to `sgesdd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0x771): undefined reference to `dgetri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0x811): undefined reference to `dgetrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xa71): undefined reference to `dpotrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xaf3): undefined reference to `sgetri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xe80): undefined reference to `sgetrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xec4): undefined reference to `sgetri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xf35): undefined reference to `dgetri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xf6c): undefined reference to `spotrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xf92): undefined reference to `spotri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::invert(cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv6invertERKNS_3MatERS0_i+0xfac): undefined reference to `dpotri_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0xc04): undefined reference to `dgelsd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0xc95): undefined reference to `spotrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x131e): undefined reference to `dgelsd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1717): undefined reference to `dgels_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x179b): undefined reference to `dgels_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x180b): undefined reference to `dgesv_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1854): undefined reference to `dpotrf_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x189c): undefined reference to `dpotrs_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1950): undefined reference to `sgelsd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x19f9): undefined reference to `sgelsd_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1afe): undefined reference to `sgels_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1b82): undefined reference to `sgels_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1d27): undefined reference to `spotrs_'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcxcore.a(cxlapack.o): In function `cv::solve(cv::Mat const&, cv::Mat const&, cv::Mat&, int)':
(.text._ZN2cv5solveERKNS_3MatES2_RS0_i+0x1d72): undefined reference to `sgesv_'
collect2: ld returned 1 exit status
make: *** [CalibServer] Error 1
makeall
构建目标:CalibServer
调用:GCC C++链接器
g++-L/usr/local/lib64-static-o“CalibServer”。/src/CalibServer.o-lhighgui-lz-lrt-ltiff-ljpeg-lpng12-lpthread-lcv-lboost_iostreams-lboost_日期_时间-lboost_regex-lcxcore-lcvaux-lboost_线程-lboost_文件系统
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../../lib/libhighgui.a(loadsave.o):在函数“cv::imdecode”(cv::Mat const&,int,int,cv::Mat*)中:
(.text._ZN2cvL9imdecode_ERKNS_3MatEiiPS0_+0x1db):警告:使用“tmpnam”是危险的,最好使用“mkstemp”
./src/CalibServer.o:在函数“静态初始化”和“销毁0”中:
/usr/include/boost/system/error_code.hpp:208:未定义对“boost::system::get_system_category()”的引用
/usr/include/boost/system/error_code.hpp:209:boost::system::get_generic_category()的未定义引用
/usr/include/boost/system/error_code.hpp:214:未定义对“boost::system::get_generic_category()的引用”
/usr/include/boost/system/error_code.hpp:215:boost::system::get_generic_category()的未定义引用
/usr/include/boost/system/error_code.hpp:216:boost::system::get_system_category()的未定义引用
./src/CalibServer.o:在函数“error\u code”中:
/usr/include/boost/system/error_code.hpp:315:未定义对“boost::system::get_system_category()”的引用
./src/CalibServer.o:在函数'boost::asio::error::get_system_category()'中:
/usr/include/boost/asio/error.hpp:218:boost::system::get\u system\u category()的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“键入到_ZN2cv13Jpeg2KDecoderC2Ev的全局构造函数”中:
(.text._GLOBAL_uuui_uuuzn2cv13jpeg2kdecoderc2ev+0x5):对“jas_init”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::JasperInitializer::~JasperInitializer()”中:
(.text._ZN2cv17JasperInitializerD1Ev[cv::JasperInitializer::~JasperInitializer()]+0x1):未定义对“jas_cleanup”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent16u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder17 writecomponent 16uepvrkns_3MatE+0x3d):未定义对“jas\u matrix\u create”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent16u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder17 writecomponent 16uepvrkns_3MatE+0x10a):对“jas_image_writecmpt”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent16u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder17 writecomponent 16uepvrkns_3MatE+0x136):未定义对“jas_矩阵”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent8u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder16 writecomponent 8uepvrkns_3MatE+0x3d):未定义对“jas\u matrix\u create”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent8u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder16 writecomponent 8uepvrkns_3MatE+0x10a):对“jas_image_writecmpt”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KEncoder::writeComponent8u(void*,cv::Mat const&)”中:
(.text._zn2cv13jpeg2kencoder16 writecomponent 8uepvrkns_3MatE+0x136):未定义对“jas_矩阵”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::close()”中:
(.text._ZN2cv13Jpeg2KDecoder5closeEv+0xe):未定义对“jas\u stream\u close”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::close()”中:
(.text._ZN2cv13Jpeg2KDecoder5closeEv+0x24):未定义对“jas_image_destroy”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x87):对“jas_image_getcmptbytype”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x9b):对“jas_image_getcmptbytype”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0xab):对“jas_image_getcmptbytype”的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x12f):对'jas_matrix_destroy'的未定义引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1ad):未定义对“jas\u matrix\u create”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x1d4):未定义对“jas_image_readcmpt”的引用
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../../../../lib/libhighgui.a(grfmt_jpeg2000.o):在函数“cv::Jpeg2KDecoder::readData(cv::Mat&)”中:
(.text._ZN2cv13Jpeg2KDecoder8readDataERNS_3MatE+0x267):未定义
/usr/include/boost/system/error_code.hpp:208: undefined reference to `boost::system::get_system_category()'
/usr/include/boost/system/error_code.hpp:209: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::get_generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::get_system_category()'
-Wl,-rpath,/path/to/boost -L/path/to/boost -lboost_system
-lboost_iostreams -lboost_date_time -lboost_regex -lboost_thread -lboost_filesystem
/usr/include/boost/system/error_code.hpp:208: undefined reference to boost::system::get_system_category()'  
(.text._ZN2cv13Jpeg2KEncoder17writeComponent16uEPvRKNS_3MatE+0x3d): undefined reference to `jas_matrix_create'
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libhighgui.a(grfmt_jpeg2000.o): In function `cv::Jpeg2KEncoder::writeComponent16u(void*, cv::Mat const&)':