delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <28010814.post@talk.nabble.com> |
Date: | Tue, 23 Mar 2010 22:27:48 -0700 (PDT) |
From: | crmpteltd <crmpteltd AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Cygwin problem make Linux c++ app in windows |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi all, I am a new user of Cygwin, seeking advice on a make problem in Cygwin. I downloaded a Linux C++ app source file and was looking forward to compiling in windows using the makefile. However, I got a long list of error below. I checked with the author, and the app has no problem in Linux. from the first few error log, it seems there is a problem recognizing pthread.h the Linux lib used are: #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> #include <pthread.h> #include <sys/stat.h> The make command was g++ -c -Wall main.cpp http_client.cpp string.cpp g++ -lpthread main.o http_client.o string.o -o main Is there some settings I need to change to compile Linux apps in windows? main.o: In function `main': main.cpp:(.text+0x278): undefined reference to `pthread_create' main.cpp:(.text+0x2b0): undefined reference to `_ZSt4cout' main.cpp:(.text+0x2b5): undefined reference to `_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E' main.cpp:(.text+0x2c5): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x2d1): undefined reference to `_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E' main.cpp:(.text+0x2e1): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x2e9): undefined reference to `_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_' main.cpp:(.text+0x2f1): undefined reference to `_ZNSolsEPFRSoS_E' main.cpp:(.text+0x333): undefined reference to `pthread_join' main.cpp:(.text+0x365): undefined reference to `_ZSt4cout' main.cpp:(.text+0x36a): undefined reference to `_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E' main.cpp:(.text+0x37a): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x386): undefined reference to `_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E' main.cpp:(.text+0x396): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x39e): undefined reference to `_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_' main.cpp:(.text+0x3a6): undefined reference to `_ZNSolsEPFRSoS_E' main.cpp:(.text+0x406): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x40b): undefined reference to `__stack_chk_fail' main.o: In function `_Z5getObPv': main.cpp:(.text+0x452): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0x46d): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0x479): undefined reference to `time' main.cpp:(.text+0x48d): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x4ad): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x4e8): undefined reference to `_Znwj' main.cpp:(.text+0x510): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x51e): undefined reference to `_ZdlPv' main.cpp:(.text+0x536): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x54a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x55e): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x572): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x5c9): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x5e3): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x5f7): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x60e): undefined reference to `localtime' main.cpp:(.text+0x62d): undefined reference to `strftime' main.cpp:(.text+0x63b): undefined reference to `_ZNKSs5c_strEv' main.cpp:(.text+0x64b): undefined reference to `mkdir' main.cpp:(.text+0x66f): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x68e): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x707): undefined reference to `_ZNKSs5c_strEv' main.cpp:(.text+0x71d): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode' main.cpp:(.text+0x72b): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x73f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x753): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x767): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x77f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x793): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x7a7): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x7bf): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x7d3): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x7e7): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x7ff): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x813): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x829): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x839): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x84d): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x865): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x87e): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x88e): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x896): undefined reference to `_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_' main.cpp:(.text+0x89e): undefined reference to `_ZNSolsEPFRSoS_E' main.cpp:(.text+0x8ac): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x8bd): undefined reference to `time' main.cpp:(.text+0x8d1): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x904): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0x90c): undefined reference to `_ZNKSs5emptyEv' main.cpp:(.text+0x91c): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x930): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x952): undefined reference to `localtime' main.cpp:(.text+0x971): undefined reference to `strftime' main.cpp:(.text+0x984): undefined reference to `__cxa_begin_catch' main.cpp:(.text+0x999): undefined reference to `_ZSt4cout' main.cpp:(.text+0x99e): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x9b0): undefined reference to `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc' main.cpp:(.text+0x9b8): undefined reference to `_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_' main.cpp:(.text+0x9c0): undefined reference to `_ZNSolsEPFRSoS_E' main.cpp:(.text+0x9c5): undefined reference to `__cxa_end_catch' main.cpp:(.text+0x9d0): undefined reference to `__cxa_end_catch' main.cpp:(.text+0x9f1): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0xa10): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0xa39): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xa4d): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xa61): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0xa6f): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0xa83): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xa9b): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0xabc): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0xaef): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0xaf7): undefined reference to `_ZNKSs5emptyEv' main.cpp:(.text+0xb07): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xb1b): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xb2f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xb43): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xbb3): undefined reference to `_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E' main.cpp:(.text+0xbbb): undefined reference to `_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_' main.cpp:(.text+0xbc3): undefined reference to `_ZNSolsEPFRSoS_E' main.cpp:(.text+0xbd1): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xbe5): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xc03): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0xc1c): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xc30): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xc54): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xc68): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xc8c): undefined reference to `_ZNSsD1Ev' main.o:main.cpp:(.text+0xca0): more undefined references to `_ZNSsD1Ev' follow main.o: In function `_Z5getObPv': main.cpp:(.text+0xcb0): undefined reference to `localtime' main.cpp:(.text+0xcdb): undefined reference to `_ZdlPv' main.cpp:(.text+0xcee): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd02): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd16): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0xd2a): undefined reference to `_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0xd3e): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd52): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd66): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd7a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xd8e): undefined reference to `_ZNSsD1Ev' main.o:main.cpp:(.text+0xdb0): more undefined references to `_ZNSsD1Ev' follow main.o: In function `_Z5getObPv': main.cpp:(.text+0xdbc): undefined reference to `_Unwind_Resume' main.cpp:(.text+0xdc1): undefined reference to `__stack_chk_fail' main.o: In function `_ZN5StockC1Ev': main.cpp:(.text+0xddf): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0xded): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0xdfe): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xe0a): undefined reference to `_Unwind_Resume' main.o: In function `_ZN5StockD1Ev': main.cpp:(.text+0xe28): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xe33): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xe49): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xe55): undefined reference to `_Unwind_Resume' main.o: In function `_Z13getRepositoryv': main.cpp:(.text+0xe93): undefined reference to `_ZNKSs5c_strEv' main.cpp:(.text+0xead): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode' main.cpp:(.text+0xf29): undefined reference to `_ZNKSs5c_strEv' main.cpp:(.text+0xf43): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode' main.cpp:(.text+0xf51): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xf65): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xf79): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xf8d): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0xfa5): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xfb9): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0xfcd): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0xfe5): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1006): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x1034): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1054): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1084): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1098): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x10ac): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x10d7): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0x10eb): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1138): undefined reference to `_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E' main.cpp:(.text+0x114c): undefined reference to `_ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv' main.cpp:(.text+0x117b): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x118f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x11a3): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x11b7): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x11d5): undefined reference to `_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E' main.cpp:(.text+0x11e9): undefined reference to `_ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv' main.cpp:(.text+0x1204): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x1218): undefined reference to `_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev' main.cpp:(.text+0x1260): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1275): undefined reference to `__stack_chk_fail' main.o: In function `_Z14buildPattern_5v': main.cpp:(.text+0x12a4): undefined reference to `time' main.cpp:(.text+0x12b2): undefined reference to `localtime' main.cpp:(.text+0x12d1): undefined reference to `strftime' main.cpp:(.text+0x12de): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x12f7): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1339): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x134a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x135b): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x136c): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x137d): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x139e): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x13aa): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x13af): undefined reference to `__stack_chk_fail' main.o: In function `_Z9delayTimeSs': main.cpp:(.text+0x13d1): undefined reference to `_ZNKSs5c_strEv' main.cpp:(.text+0x13e0): undefined reference to `_Znwj' main.cpp:(.text+0x13fd): undefined reference to `strptime' main.cpp:(.text+0x1456): undefined reference to `strftime' main.cpp:(.text+0x1461): undefined reference to `_ZdlPv' main.cpp:(.text+0x146e): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1484): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x148f): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x14ab): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x14b7): undefined reference to `_Unwind_Resume' main.o: In function `_Z7getDataSs': main.cpp:(.text+0x14cd): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x14e8): undefined reference to `_ZNKSs4findERKSsj' main.cpp:(.text+0x14ff): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x150f): undefined reference to `_ZNKSs6lengthEv' main.cpp:(.text+0x1533): undefined reference to `_ZNKSs6substrEjj' main.cpp:(.text+0x1551): undefined reference to `_ZNKSs4findERKSsj' main.cpp:(.text+0x1568): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x1578): undefined reference to `_ZNKSs6lengthEv' main.cpp:(.text+0x159c): undefined reference to `_ZNKSs6substrEjj' main.cpp:(.text+0x15b1): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0x15bc): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x15cd): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x15fd): undefined reference to `_ZNKSs4findERKSsj' main.cpp:(.text+0x1614): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x1624): undefined reference to `_ZNKSs6lengthEv' main.cpp:(.text+0x1637): undefined reference to `_ZNKSs6lengthEv' main.cpp:(.text+0x1645): undefined reference to `_ZNKSs6lengthEv' main.cpp:(.text+0x1665): undefined reference to `_ZNKSs6substrEjj' main.cpp:(.text+0x167a): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0x1685): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1696): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x16ba): undefined reference to `_ZNKSs4findERKSsj' main.cpp:(.text+0x16d1): undefined reference to `_ZNSsC1Ev' main.cpp:(.text+0x170b): undefined reference to `_ZNKSs6substrEjj' main.cpp:(.text+0x1719): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1733): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x173e): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1758): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x177c): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x178d): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x179e): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x17a9): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x17ba): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x17cd): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x17de): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x180d): undefined reference to `_ZNSspLERKSs' main.cpp:(.text+0x181e): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x182f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1840): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1851): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1862): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1890): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0x18a1): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x18b2): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x18c3): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x18cf): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x18da): undefined reference to `_ZNSsD1Ev' main.o: In function `_ZN5StockC1ERKS_': main.cpp:(.text+0x1904): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0x191c): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text+0x192d): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1939): undefined reference to `_Unwind_Resume' main.o: In function `_ZN5StockaSERKS_': main.cpp:(.text+0x1958): undefined reference to `_ZNSsaSERKSs' main.cpp:(.text+0x1970): undefined reference to `_ZNSsaSERKSs' main.o: In function `_Z41__static_initialization_and_destruction_0ii': main.cpp:(.text+0x19a0): undefined reference to `_ZNSt8ios_base4InitC1Ev' main.cpp:(.text+0x19a5): undefined reference to `_ZNSt8ios_base4InitD1Ev' main.cpp:(.text+0x19ad): undefined reference to `__dso_handle' main.cpp:(.text+0x19bd): undefined reference to `__cxa_atexit' main.cpp:(.text+0x19c8): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x19e3): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x19ee): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x19f3): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x19fb): undefined reference to `__dso_handle' main.cpp:(.text+0x1a0b): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1a16): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1a31): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1a42): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1a4e): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1a59): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1a5e): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1a66): undefined reference to `__dso_handle' main.cpp:(.text+0x1a76): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1a81): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1a9c): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1aad): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1ab9): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1ac4): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1ac9): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1ad1): undefined reference to `__dso_handle' main.cpp:(.text+0x1ae1): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1aec): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1b07): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1b18): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1b24): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1b2f): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1b34): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1b3c): undefined reference to `__dso_handle' main.cpp:(.text+0x1b4c): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1b57): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1b72): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1b83): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1b8f): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1b9a): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1b9f): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1ba7): undefined reference to `__dso_handle' main.cpp:(.text+0x1bb7): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1bc2): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1bdd): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1bee): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1bfa): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1c05): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1c0a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1c12): undefined reference to `__dso_handle' main.cpp:(.text+0x1c22): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1c2d): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1c48): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1c59): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1c65): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1c70): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1c75): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1c7d): undefined reference to `__dso_handle' main.cpp:(.text+0x1c8d): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1ca2): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1caa): undefined reference to `__dso_handle' main.cpp:(.text+0x1cba): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1cc5): undefined reference to `_ZNSaIcEC1Ev' main.cpp:(.text+0x1ce0): undefined reference to `_ZNSsC1EPKcRKSaIcE' main.cpp:(.text+0x1cf1): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1cfd): undefined reference to `_Unwind_Resume' main.cpp:(.text+0x1d08): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1d0d): undefined reference to `_ZNSsD1Ev' main.cpp:(.text+0x1d15): undefined reference to `__dso_handle' main.cpp:(.text+0x1d25): undefined reference to `__cxa_atexit' main.cpp:(.text+0x1d36): undefined reference to `_ZNSaIcED1Ev' main.cpp:(.text+0x1d42): undefined reference to `_Unwind_Resume' http_client.o: In function `_ZN10HttpClient15createTcpSocketEv': http_client.cpp:(.text+0x1e): undefined reference to `socket' http_client.cpp:(.text+0x37): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x4f): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0x57): undefined reference to `__cxa_throw' http_client.o: In function `_ZN10HttpClient5getIpESs': http_client.cpp:(.text+0x77): undefined reference to `_Znaj' http_client.cpp:(.text+0x97): undefined reference to `memset' http_client.cpp:(.text+0xa2): undefined reference to `_ZNKSs5c_strEv' http_client.cpp:(.text+0xaa): undefined reference to `gethostbyname' http_client.cpp:(.text+0xc4): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0xdc): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0xe4): undefined reference to `__cxa_throw' http_client.cpp:(.text+0x10a): undefined reference to `inet_ntop' http_client.cpp:(.text+0x11f): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x137): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0x13f): undefined reference to `__cxa_throw' http_client.o: In function `_ZN10HttpClient13buildGetQueryESsSs': http_client.cpp:(.text+0x206): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x217): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x228): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x239): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x24a): undefined reference to `_ZNSsD1Ev' http_client.o:http_client.cpp:(.text+0x25b): more undefined references to `_ZNSsD1Ev' follow http_client.o: In function `_ZN10HttpClient13buildGetQueryESsSs': http_client.cpp:(.text+0x2b9): undefined reference to `_Unwind_Resume' http_client.o: In function `_ZN10HttpClientC2ESsSs': http_client.cpp:(.text+0x2d0): undefined reference to `_ZNSsC1Ev' http_client.cpp:(.text+0x2e2): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x305): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x316): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x331): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x343): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x37b): undefined reference to `_ZNSsaSERKSs' http_client.cpp:(.text+0x386): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x397): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x3a8): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x3b9): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x3ca): undefined reference to `_ZNSsD1Ev' http_client.o:http_client.cpp:(.text+0x3e4): more undefined references to `_ZNSsD1Ev' follow http_client.o: In function `_ZN10HttpClientC2ESsSs': http_client.cpp:(.text+0x408): undefined reference to `_Unwind_Resume' http_client.o: In function `_ZN10HttpClientC1ESsSs': http_client.cpp:(.text+0x41e): undefined reference to `_ZNSsC1Ev' http_client.cpp:(.text+0x430): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x453): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x464): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x47f): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x491): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0x4c9): undefined reference to `_ZNSsaSERKSs' http_client.cpp:(.text+0x4d4): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x4e5): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x4f6): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x507): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x518): undefined reference to `_ZNSsD1Ev' http_client.o:http_client.cpp:(.text+0x532): more undefined references to `_ZNSsD1Ev' follow http_client.o: In function `_ZN10HttpClientC1ESsSs': http_client.cpp:(.text+0x556): undefined reference to `_Unwind_Resume' http_client.o: In function `_ZN10HttpClientD2Ev': http_client.cpp:(.text+0x56a): undefined reference to `_ZdlPv' http_client.cpp:(.text+0x578): undefined reference to `_ZNSsD1Ev' http_client.o: In function `_ZN10HttpClientD1Ev': http_client.cpp:(.text+0x58e): undefined reference to `_ZdlPv' http_client.cpp:(.text+0x59c): undefined reference to `_ZNSsD1Ev' http_client.o: In function `_ZN10HttpClient7getHtmlEv': http_client.cpp:(.text+0x5cf): undefined reference to `_ZNSsC1Ev' http_client.cpp:(.text+0x5f1): undefined reference to `_Znwj' http_client.cpp:(.text+0x633): undefined reference to `inet_pton' http_client.cpp:(.text+0x64e): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x666): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0x66e): undefined reference to `__cxa_throw' http_client.cpp:(.text+0x689): undefined reference to `_ZNSaIcEC1Ev' http_client.cpp:(.text+0x6ae): undefined reference to `_ZNSsC1EPKcRKSaIcE' http_client.cpp:(.text+0x6c0): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x6e9): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x6fb): undefined reference to `__cxa_free_exception' http_client.cpp:(.text+0x711): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x725): undefined reference to `_ZSt9terminatev' http_client.cpp:(.text+0x733): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0x73b): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0x74b): undefined reference to `__cxa_throw' http_client.cpp:(.text+0x759): undefined reference to `_ZSt9terminatev' http_client.cpp:(.text+0x76f): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0x78d): undefined reference to `htons' http_client.cpp:(.text+0x7b8): undefined reference to `connect' http_client.cpp:(.text+0x7cb): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x7e3): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0x7eb): undefined reference to `__cxa_throw' http_client.cpp:(.text+0x80b): undefined reference to `_ZNKSs6lengthEv' http_client.cpp:(.text+0x824): undefined reference to `_ZNKSs5c_strEv' http_client.cpp:(.text+0x84c): undefined reference to `send' http_client.cpp:(.text+0x867): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0x87f): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0x887): undefined reference to `__cxa_throw' http_client.cpp:(.text+0x8a4): undefined reference to `_ZNKSs6lengthEv' http_client.cpp:(.text+0x943): undefined reference to `select' http_client.cpp:(.text+0x96e): undefined reference to `memset' http_client.cpp:(.text+0x998): undefined reference to `_ZNSaIcEC1Ev' http_client.cpp:(.text+0x9ae): undefined reference to `strstr' http_client.cpp:(.text+0x9ca): undefined reference to `_ZNSsC1EPKcRKSaIcE' http_client.cpp:(.text+0x9e2): undefined reference to `_ZNSsaSERKSs' http_client.cpp:(.text+0x9f0): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xa08): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xa1c): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xa2a): undefined reference to `_ZNKSs6lengthEv' http_client.cpp:(.text+0xa4f): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xa75): undefined reference to `_ZNSaIcEC1Ev' http_client.cpp:(.text+0xa97): undefined reference to `_ZNSsC1EPKcRKSaIcE' http_client.cpp:(.text+0xaaf): undefined reference to `_ZNSspLERKSs' http_client.cpp:(.text+0xabd): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xad5): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xae9): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xb01): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xb2b): undefined reference to `memset' http_client.cpp:(.text+0xb55): undefined reference to `recv' http_client.cpp:(.text+0xb82): undefined reference to `__cxa_allocate_exception' http_client.cpp:(.text+0xb9a): undefined reference to `_ZTIPKc' http_client.cpp:(.text+0xba2): undefined reference to `__cxa_throw' http_client.cpp:(.text+0xbb3): undefined reference to `_ZdlPv' http_client.cpp:(.text+0xbc3): undefined reference to `close' http_client.cpp:(.text+0xbd7): undefined reference to `_ZNSsC1ERKSs' http_client.cpp:(.text+0xbe5): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xc0d): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xc19): undefined reference to `_Unwind_Resume' http_client.cpp:(.text+0xc1e): undefined reference to `__stack_chk_fail' http_client.o: In function `_Z41__static_initialization_and_destruction_0ii': http_client.cpp:(.text+0xc56): undefined reference to `_ZNSt8ios_base4InitC1Ev' http_client.cpp:(.text+0xc5b): undefined reference to `_ZNSt8ios_base4InitD1Ev' http_client.cpp:(.text+0xc63): undefined reference to `__dso_handle' http_client.cpp:(.text+0xc73): undefined reference to `__cxa_atexit' http_client.cpp:(.text+0xc7e): undefined reference to `_ZNSaIcEC1Ev' http_client.cpp:(.text+0xc99): undefined reference to `_ZNSsC1EPKcRKSaIcE' http_client.cpp:(.text+0xca4): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xca9): undefined reference to `_ZNSsD1Ev' http_client.cpp:(.text+0xcb1): undefined reference to `__dso_handle' http_client.cpp:(.text+0xcc1): undefined reference to `__cxa_atexit' http_client.cpp:(.text+0xcd2): undefined reference to `_ZNSaIcED1Ev' http_client.cpp:(.text+0xcde): undefined reference to `_Unwind_Resume' string.o: In function `_Z12find_replaceRSsSsSs': string.cpp:(.text+0x14): undefined reference to `_ZNKSs6lengthEv' string.cpp:(.text+0x22): undefined reference to `_ZNKSs6lengthEv' string.cpp:(.text+0x4d): undefined reference to `_ZNSs7replaceEjjRKSs' string.cpp:(.text+0x6c): undefined reference to `_ZNKSs4findERKSsj' string.o: In function `_Z8tokenizeRKSsRSt6vectorISsSaISsEES0_': string.cpp:(.text+0x9e): undefined reference to `_ZNKSs17find_first_not_ofERKSsj' string.cpp:(.text+0xba): undefined reference to `_ZNKSs13find_first_ofERKSsj' string.cpp:(.text+0xe7): undefined reference to `_ZNKSs6substrEjj' string.cpp:(.text+0x107): undefined reference to `_ZNSsD1Ev' string.cpp:(.text+0x120): undefined reference to `_ZNKSs17find_first_not_ofERKSsj' string.cpp:(.text+0x13c): undefined reference to `_ZNKSs13find_first_ofERKSsj' string.cpp:(.text+0x150): undefined reference to `_ZNSsD1Ev' string.cpp:(.text+0x15c): undefined reference to `_Unwind_Resume' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain AT 16' main.o:(.gcc_except_table+0x15c): undefined reference to `_ZTIPKc' main.o: In function `_ZNSt11char_traitsIcE7compareEPKcS2_j': main.cpp:(.text._ZNSt11char_traitsIcE7compareEPKcS2_j[_ZNSt11char_traitsIcE7compareEPKcS2_j]+0x1b): undefined reference to `memcmp' main.o: In function `_ZNSt11char_traitsIcE6lengthEPKc': main.cpp:(.text._ZNSt11char_traitsIcE6lengthEPKc[_ZNSt11char_traitsIcE6lengthEPKc]+0xd): undefined reference to `strlen' main.o: In function `_ZNSt6vectorI5StockSaIS0_EED1Ev': main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EED1Ev[_ZNSt6vectorI5StockSaIS0_EED1Ev]+0x57): undefined reference to `_Unwind_Resume' main.o: In function `_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_': main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x20): undefined reference to `_ZNSsC1Ev' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x2b): undefined reference to `_ZNKSs4sizeEv' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x3e): undefined reference to `_ZNSs7reserveEj' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x56): undefined reference to `_ZNSs6appendEPKcj' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x67): undefined reference to `_ZNSs6appendERKSs' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x77): undefined reference to `_ZNSsD1Ev' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_]+0x83): undefined reference to `_Unwind_Resume' main.o: In function `_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_': main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_]+0x19): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_]+0x2a): undefined reference to `_ZNSs6appendEPKc' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_]+0x3a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_PKS3_]+0x46): undefined reference to `_Unwind_Resume' main.o: In function `_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_': main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_]+0x19): undefined reference to `_ZNSsC1ERKSs' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_]+0x2a): undefined reference to `_ZNSs6appendERKSs' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_]+0x3a): undefined reference to `_ZNSsD1Ev' main.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_]+0x46): undefined reference to `_Unwind_Resume' main.o: In function `_ZNSt6vectorISsSaISsEED1Ev': main.cpp:(.text._ZNSt6vectorISsSaISsEED1Ev[_ZNSt6vectorISsSaISsEED1Ev]+0x57): undefined reference to `_Unwind_Resume' main.o: In function `_ZNSt12_Vector_baseI5StockSaIS0_EED2Ev': main.cpp:(.text._ZNSt12_Vector_baseI5StockSaIS0_EED2Ev[_ZNSt12_Vector_baseI5StockSaIS0_EED2Ev]+0x61): undefined reference to `_Unwind_Resume' main.o: In function `_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_': main.cpp:(.text._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_[_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_]+0xf): undefined reference to `_ZNKSs4sizeEv' main.cpp:(.text._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_[_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_]+0x1c): undefined reference to `_ZNKSs4sizeEv' main.cpp:(.text._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_[_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_]+0x2b): undefined reference to `_ZNKSs4sizeEv' main.cpp:(.text._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_[_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_]+0x38): undefined reference to `_ZNKSs4dataEv' main.cpp:(.text._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_[_ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKSbIS3_St11char_traitsIS3_ESaIS3_EESC_]+0x45): undefined reference to `_ZNKSs4dataEv' main.o: In function `_ZNSt12_Vector_baseISsSaISsEED2Ev': main.cpp:(.text._ZNSt12_Vector_baseISsSaISsEED2Ev[_ZNSt12_Vector_baseISsSaISsEED2Ev]+0x61): undefined reference to `_Unwind_Resume' main.o: In function `_ZN9__gnu_cxx13new_allocatorI5StockE9constructEPS1_RKS1_': main.cpp:(.text._ZN9__gnu_cxx13new_allocatorI5StockE9constructEPS1_RKS1_[_ZN9__gnu_cxx13new_allocatorI5StockE9constructEPS1_RKS1_]+0x51): undefined reference to `_Unwind_Resume' main.o: In function `_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_': main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_]+0xcf): undefined reference to `_Unwind_Resume' main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_]+0x253): undefined reference to `__cxa_begin_catch' main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_]+0x2b4): undefined reference to `__cxa_rethrow' main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_]+0x2bd): undefined reference to `__cxa_end_catch' main.cpp:(.text._ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[_ZNSt6vectorI5StockSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_]+0x2c9): undefined reference to `_Unwind_Resume' main.o: In function `_ZNKSt6vectorI5StockSaIS0_EE12_M_check_lenEjPKc': main.cpp:(.text._ZNKSt6vectorI5StockSaIS0_EE12_M_check_lenEjPKc[_ZNKSt6vectorI5StockSaIS0_EE12_M_check_lenEjPKc]+0x36): undefined reference to `_ZSt20__throw_length_errorPKc' main.o: In function `_ZN9__gnu_cxx13new_allocatorI5StockE10deallocateEPS1_j': main.cpp:(.text._ZN9__gnu_cxx13new_allocatorI5StockE10deallocateEPS1_j[_ZN9__gnu_cxx13new_allocatorI5StockE10deallocateEPS1_j]+0xd): undefined reference to `_ZdlPv' main.o: In function `_ZN9__gnu_cxx13new_allocatorI5StockE8allocateEjPKv': main.cpp:(.text._ZN9__gnu_cxx13new_allocatorI5StockE8allocateEjPKv[_ZN9__gnu_cxx13new_allocatorI5StockE8allocateEjPKv]+0x24): undefined reference to `_ZSt17__throw_bad_allocv' main.cpp:(.text._ZN9__gnu_cxx13new_allocatorI5StockE8allocateEjPKv[_ZN9__gnu_cxx13new_allocatorI5StockE8allocateEjPKv]+0x32): undefined reference to `_Znwj' main.o: In function `_ZN9__gnu_cxx13new_allocatorISsE10deallocateEPSsj': main.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE10deallocateEPSsj[_ZN9__gnu_cxx13new_allocatorISsE10deallocateEPSsj]+0xd): undefined reference to `_ZdlPv' main.o: In function `_ZSt8_DestroyISsEvPT_': main.cpp:(.text._ZSt8_DestroyISsEvPT_[_ZSt8_DestroyISsEvPT_]+0xd): undefined reference to `_ZNSsD1Ev' main.o: In function `_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_': main.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_]+0x59): undefined reference to `__cxa_begin_catch' main.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_]+0x92): undefined reference to `__cxa_rethrow' main.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_]+0x9b): undefined reference to `__cxa_end_catch' main.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIP5StockS3_EET0_T_S5_S4_]+0xa7): undefined reference to `_Unwind_Resume' string.o: In function `_ZN9__gnu_cxx13new_allocatorISsE9constructEPSsRKSs': string.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE9constructEPSsRKSs[_ZN9__gnu_cxx13new_allocatorISsE9constructEPSsRKSs]+0x31): undefined reference to `_ZNSsC1ERKSs' string.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE9constructEPSsRKSs[_ZN9__gnu_cxx13new_allocatorISsE9constructEPSsRKSs]+0x51): undefined reference to `_Unwind_Resume' string.o: In function `_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs': string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0x5b): undefined reference to `_ZNSsC1ERKSs' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0xa4): undefined reference to `_ZNSsaSERKSs' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0xaf): undefined reference to `_ZNSsD1Ev' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0xc3): undefined reference to `_ZNSsD1Ev' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0xcf): undefined reference to `_Unwind_Resume' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0x253): undefined reference to `__cxa_begin_catch' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0x2b4): undefined reference to `__cxa_rethrow' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0x2bd): undefined reference to `__cxa_end_catch' string.cpp:(.text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs]+0x2c9): undefined reference to `_Unwind_Resume' string.o: In function `_ZNKSt6vectorISsSaISsEE12_M_check_lenEjPKc': string.cpp:(.text._ZNKSt6vectorISsSaISsEE12_M_check_lenEjPKc[_ZNKSt6vectorISsSaISsEE12_M_check_lenEjPKc]+0x36): undefined reference to `_ZSt20__throw_length_errorPKc' string.o: In function `_ZN9__gnu_cxx13new_allocatorISsE7destroyEPSs': string.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE7destroyEPSs[_ZN9__gnu_cxx13new_allocatorISsE7destroyEPSs]+0xd): undefined reference to `_ZNSsD1Ev' string.o: In function `_ZN9__gnu_cxx13new_allocatorISsE8allocateEjPKv': string.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE8allocateEjPKv[_ZN9__gnu_cxx13new_allocatorISsE8allocateEjPKv]+0x24): undefined reference to `_ZSt17__throw_bad_allocv' string.cpp:(.text._ZN9__gnu_cxx13new_allocatorISsE8allocateEjPKv[_ZN9__gnu_cxx13new_allocatorISsE8allocateEjPKv]+0x32): undefined reference to `_Znwj' string.o: In function `_ZNSt20__copy_move_backwardILb0ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSsS3_EET0_T_S5_S4_': string.cpp:(.text._ZNSt20__copy_move_backwardILb0ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSsS3_EET0_T_S5_S4_[_ZNSt20__copy_move_backwardILb0ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSsS3_EET0_T_S5_S4_]+0x30): undefined reference to `_ZNSsaSERKSs' string.o: In function `_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_': string.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_]+0x39): undefined reference to `_ZNSsC1ERKSs' string.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_]+0x59): undefined reference to `__cxa_begin_catch' string.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_]+0x92): undefined reference to `__cxa_rethrow' string.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_]+0x9b): undefined reference to `__cxa_end_catch' string.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_[_ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPSsS2_EET0_T_S4_S3_]+0xa7): undefined reference to `_Unwind_Resume' http_client.o:(.rodata._ZTISs[_ZTISs]+0x0): undefined reference to `_ZTVN10__cxxabiv117__class_type_infoE' main.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' main.o:(.eh_frame+0xbb): undefined reference to `__gxx_personality_v0' http_client.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' http_client.o:(.eh_frame+0x83): undefined reference to `__gxx_personality_v0' string.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' string.o:(.eh_frame+0x83): more undefined references to `__gxx_personality_v0' follow collect2: ld returned 1 exit status make: *** [main] Error 1 -- View this message in context: http://old.nabble.com/Cygwin-problem-make-Linux-c%2B%2B-app-in-windows-tp28010814p28010814.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |