Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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:05:30 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Kai Xu (Kevin)" cc: cygwin AT cygwin DOT com Subject: Re: undefined reference to 'class::function' error In-Reply-To: <028301c38e65$3d4a5ab0$db406682@itee.uq.edu.au> Message-ID: References: <028301c38e65$3d4a5ab0$db406682 AT itee DOT uq DOT edu DOT au> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 9 Oct 2003, Kai Xu (Kevin) wrote: > Hi there, > > I guess this is a very simple question, but I searched all the achieves and > internet and just can not find a answer. I know little about c++ and UNIX, > so please bear with me. The problem is like this: > > I need to use someone else's c++ package under windows xp. The package is > initially developed using GCC in UNIX and works fine when I tried it under > UNIX. When I try to compile the main .cpp file using g++ of cygwin in xp, I > get a lot of error messages like: > > undefined reference to 'class::function' > > where the 'class' is defined in a separate .cpp file and its .h file is > included in the main file. The program compile properly under UNIX, is there > anyway to get it working using cygwin? > > Thanks in advance, > Kevin Kevin, You're going to have to be more specific than that. 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/