Hi all,
 
    I am trying to build a simple application that uses boost::asio on netbeans using CYGWIN.
    But the compiler is giving me some link errors:
 
    Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe -quiet -v -I../../../cygwin/usr/include/Common -I../../../cygwin/usr/include/Communication -MMD build/Debug/Cygwin-Windows/main.d -MF build/Debug/Cygwin-Windows/main.o.d -MP -MQ build/Debug/Cygwin-Windows/main.o -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api -D __USE_W32_SOCKETS -D _WIN32_WINNT=0x0501 main.cpp -quiet -dumpbase main.cpp -mtune=pentiumpro -auxbase-strip build/Debug/Cygwin-Windows/main.o -g -version -o /cygdrive/c/DOCUME~1/jacqueed/LOCALS~1/Temp/cccKQ1O6.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/include"
ignoring duplicate directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 ../../../cygwin/usr/include/Common
 ../../../cygwin/usr/include/Communication
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/i686-pc-cygwin
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include
 /usr/include
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api
End of search list.
GNU C++ version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) (i686-pc-cygwin)
        compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe -o build/Debug/Cygwin-Windows/main.o /cygdrive/c/DOCUME~1/jacqueed/LOCALS~1/Temp/cccKQ1O6.s
mkdir -p dist/Debug/Cygwin-Windows
g++.exe -D __USE_W32_SOCKETS -D _WIN32_WINNT=0x0501 -v    -o dist/Debug/Cygwin-Windows/quickfasttest build/Debug/Cygwin-Windows/main.o -L../../../cygwin/usr/lib -L../../Downloads/quickfast_win_src_1_2/Output/Release -lboost_thread-mt -lboost_filesystem-mt -lboost_serialization-mt -lboost_regex-mt -lboost_system-mt -lboost_filesystem-mt -lwsock32 -lwinmm -lws2_32 -lQuickFAST
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe -Bdynamic --dll-search-prefix=cyg -o dist/Debug/Cygwin-Windows/quickfasttest.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o -L../../../cygwin/usr/lib -L../../Downloads/quickfast_win_src_1_2/Output/Release -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. build/Debug/Cygwin-Windows/main.o -lboost_thread-mt -lboost_filesystem-mt -lboost_serialization-mt -lboost_regex-mt -lboost_system-mt -lboost_filesystem-mt -lwsock32 -lwinmm -lws2_32 -lQuickFAST -lstdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
build/Debug/Cygwin-Windows/main.o: In function `_ZStorSt13_Ios_FmtflagsS_':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiverD2Ev[QuickFAST::Communication::AsynchReceiver::~AsynchReceiver()]+0x4a): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioServiceD1Ev'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiverC2ERN5boost4asio10io_serviceE[QuickFAST::Communication::AsynchReceiver::AsynchReceiver(boost::asio::io_service&)]+0x63): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioServiceC1ERN5boost4asio10io_serviceE'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiver4stopEv[QuickFAST::Communication::AsynchReceiver::stop()]+0x1d): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioService11stopServiceEv'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiverD0Ev[QuickFAST::Communication::AsynchReceiver::~AsynchReceiver()]+0x4a): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioServiceD1Ev'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiverD1Ev[QuickFAST::Communication::AsynchReceiver::~AsynchReceiver()]+0x4a): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioServiceD1Ev'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiver11joinThreadsEv[QuickFAST::Communication::AsynchReceiver::joinThreads()]+0x12): undefined reference to `__imp___ZN9QuickFAST13Communication11AsioService11joinThreadsEv'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ios_base.h:(.text$_ZN9QuickFAST13Communication14AsynchReceiver10runThreadsEjb[QuickFAST::Communication::AsynchReceiver::runThreads(unsigned
 
 
Does anyone have an idea about what is going on?

Eduardo Jacques
BTG Pactual - IT Front Office BM&F
Praia de Botafogo, 501/5º andar, Botafogo
22250-040 Rio de Janeiro, RJ, Brasil
Telefone +55-21 3262 9617
Fax +55-21 3262 8600
eduardo.jacques@btgpactual.com
www.btgpactual.com

 

**********************************************************************
Visit our website at http://www.btgpactual.com

The content of this message is confidential and was intended solely to its recipient. In case this message is received by mistake, please destroy it and notify the sender immediately. Electronic mails are not a safe channel for data transmission and the sender accepts NO liability for eventual errors, delays, loss, interception or virus infection. When necessary, the receiver must request a hard-copy version.

O conteúdo desta mensagem é confidencial e destinado exclusivamente aos destinatários. Caso a receba por engano, favor destruí-la e notificar o remetente de imediato. O correio eletrônico não configura meio seguro para transmissão de dados e o remetente NÃO se responsabiliza por eventual erro, atraso, extravio, interceptação ou infecção por vírus. Cabe ao destinatário solicitar versão física sempre que necessário.
**********************************************************************