delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/09/09:00:33

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
Message-ID: <028301c38e65$3d4a5ab0$db406682@itee.uq.edu.au>
Reply-To: "Kai Xu \(Kevin\)" <kaixu AT itee DOT uq DOT edu DOT au>
From: "Kai Xu \(Kevin\)" <kaixu AT itee DOT uq DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: undefined reference to 'class::function' error
Date: Thu, 9 Oct 2003 22:59:56 +1000
Organization: ITEE, The Univeristy of Queensland
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Spam-Checked: This message probably not SPAM
X-Spam-Score: 0
X-Scanned-By: MIMEDefang 2.35
Note-from-DJ: This may be spam

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



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