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=AWL,BAYES_00,UNPARSEABLE_RELAY |
X-Spam-Check-By: | sourceware.org |
X-Yahoo-SMTP: | mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw |
Message-ID: | <4B639C9C.3010101@sbcglobal.net> |
Date: | Sat, 30 Jan 2010 02:42:36 +0000 |
From: | Greg Chicares <gchicares AT sbcglobal DOT net> |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problems linking--"undefined reference to..." |
References: | <BAY127-W1749E0512E2F4772BE7B7EC55A0 AT phx DOT gbl> |
In-Reply-To: | <BAY127-W1749E0512E2F4772BE7B7EC55A0@phx.gbl> |
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 |
On 2010-01-30 01:49Z, Peter Mills wrote: > > g++ > -I/home/Petey/include -Wno-deprecated -O2 -o model2 model2.cc > traj_int_obj.o tcoord_defs.o -L/home/Petey/lib -ldataset-O2 -lpetey > -lsparse-O2 -lgsl -lgslcblas > model2.cc: In function `int main(int, > char**)': [...] > traj_int_obj.o:traj_int_obj.cc:(.text+0x12): undefined > reference to `_mcount' '_mcount' is used by gprof. If an object file was built with '-pg', then you need to use '-pg' for linking, too. -- 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 |