Article View: gnu.gcc.help
Article #42841"Undefined reference" error message.
From: Rod Falanga
Date: Sat, 28 Oct 1995 00:00
Date: Sat, 28 Oct 1995 00:00
16 lines
1138 bytes
1138 bytes
I am sure that I am doing something silly, but I'm too close to the situation
to see it. I've got a simple C++ program I'm writing, with 2 .C files and a
single .H file. At this point, I have only one class defined called Rates.
When I compile the code with gcc ver. 2.4 the next executable line after the
instantiation of a Rates variable returns the following error message:
undefined reference to `Rates::Rates(void)'
What am I doing wrong?
Rod
--
Rod Falanga | (voice) 505-841-2511 (FAX) 505-841-2543
Scientific Laboratory Division | rfalanga@numex.unm.edu
P.O. Box 4700 |
Albuquerque, NM 87196-4700 | The opinions expressed are mine alone.
Technical Details
Message-ID:
<RFALANGA.95Oct28080208@numex.unm.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,108cdbf98ad366c7,start X-Google-Attributes: gid11318c,public From: rfalanga@numex.unm.edu (Rod Falanga) Subject: "Undefined reference" error message. Date: 1995/10/28 Message-ID: <RFALANGA.95Oct28080208@numex.unm.edu> X-Deja-AN: 118261249 distribution: world organization: University of New Mexico, Albuquerque newsgroups: gnu.gcc.help