delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problem with make: undefined reference to vtable |
Date: | 24 Jun 2005 17:11:45 GMT |
Lines: | 21 |
Message-ID: | <3i2t6hFjk29aU2@news.dfncis.de> |
References: | <1119626620 DOT 773374 DOT 221740 AT g49g2000cwa DOT googlegroups DOT com> <1119627784 DOT 991069 DOT 124850 AT g44g2000cwa DOT googlegroups DOT com> |
X-Trace: | news.dfncis.de 1w1fuEhA0x6QsCasjVuosgH/1fjATKQZWti4XYHXINPDUgg8jRPHqM2/4B |
X-Orig-Path: | not-for-mail |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
arizvi <ahmadwaris AT hotmail DOT com> wrote: > I found out that there were problems with my makefile. Actually, that was just a side issue. At least one major problem still exists. > Instead of: > ./test_view.o:: test_view.cpp infoDialog.cpp > I had: > ./test_view.o:: infoDialog.cpp test_view.cpp Those are both equally wrong. This rule can only make sense if you #include one .cpp file into the other. Don't do that. Compile each separately, and leave it to the linker to combine them. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |