delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/30/12:31:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=ht
Og7ymTc3eSl5Sq+jtWwSXzNC25OwxRW2liKDKXoIMmgAPDp37Sqw+XiyCwyjnqkd
Ke2aflkmx82DfZt3rbwqoszCpQ+MljRn7Y9nfU1VfKE2aOx0iJ+tVOtDrPORffeb
XtHN7ZDUYQHHhDc9zeWV6Yjj09wza1UatLq63pOoU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=PKjuYWMs
GjO7woVa9rCUv+pVFOs=; b=i0JMVG1z6Ntdi1+6x26XbxkzQg6if3IFJ0JfI9LK
31f4/mNdhQiojo8KCH2T/NWD7UEaHzn9OlsYt98y9W+ngDa+TR6xel03G0RdKRls
mcAFK7ShM1R/1CPHCBq3ckuzyk8G9ltXx+G/mO5eEDILX+oaLpC4ZEIcaraZyMce
0KQ=
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
X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.182.79.165 with SMTP id k5mr9641324obx.31.1372609883516; Sun, 30 Jun 2013 09:31:23 -0700 (PDT)
In-Reply-To: <51CFC91B.7080104@gmail.com>
References: <fee89236a34f4d82ab3607bf14531e88 AT star-mountain DOT com> <51CFC91B DOT 7080104 AT gmail DOT com>
Date: Sun, 30 Jun 2013 09:31:23 -0700
Message-ID: <CAOgZ4k_hpuwcaGv2=+OpjyDguDn3GdSLC__M2HdSHw7ODcbECQ@mail.gmail.com>
Subject: Re: difficulty with c++ boost::thread (1.53.0) on Cygwin 1.7.20(0.266/5/3)
From: Lewis S <lewis DOT cygwin AT gmail DOT com>
To: cygwin AT cygwin DOT com

Thanks Marco!

I now get complaints about start_thread_noexcept:

$ g++ -D THREADED  multithread.cpp -l boost_system-mt -l boost_thread-mt
/tmp/ccfP6V1v.o:multithread.cpp:(.text$_ZN5boost6thread12start_threadEv[boost::thread::start_thread()]+0xe):
undefined reference to `boost::thread::start_thread_noexcept()'
collect2: ld returned 1 exit status

Can you (or anyone) tell me how to go from the "undefined reference"
error to the name of the library to be loaded?
Do the -l argument themselves require an order?  If so, how do I learn
the required ordering (w/o trial&error)

With gratitude,
Lewis

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019