This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to 'class::function' error

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


You're going to have to be more specific than that.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]