delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/09/09:53:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 9 Oct 2003 09:53:26 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Kai Xu (Kevin)" <kaixu AT itee DOT uq DOT edu DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: undefined reference to 'class::function' error
In-Reply-To: <028901c38e6a$a028eca0$db406682@itee.uq.edu.au>
Message-ID: <Pine.GSO.4.56.0310090950450.15176@slinky.cs.nyu.edu>
References: <028301c38e65$3d4a5ab0$db406682 AT itee DOT uq DOT edu DOT au>
<Pine DOT GSO DOT 4 DOT 56 DOT 0310090904550 DOT 15176 AT slinky DOT cs DOT nyu DOT edu>
<028901c38e6a$a028eca0$db406682 AT itee DOT uq DOT edu DOT au>
Importance: Normal
MIME-Version: 1.0

On Thu, 9 Oct 2003, Kai Xu (Kevin) wrote:

> I guess I can only post a example of the errors here, as the main program is
> about 2k lines and compiler doesn't tell where the error occurs.
>
> I am not good at c++ and this is not my program, so please let me know
> if I am not posting the right thing or anything is missing.
>
> Cheers,
> Kevin
>
> The error message:
> undefined reference to `NList::insert(Cone*, double, int)'
> [snip]

Ok, so it's a linking error.  Is the file that defines this function
linked into the resulting executable?  Can you please post the exact
command used to invoke the compiler to link the final executable?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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