Newsgroups: comp.os.msdos.djgpp From: Mike Habicher Subject: Problem linking multi-file program with templates Sender: news AT novice DOT uwaterloo DOT ca (Mr. News) Message-ID: <32ED3279.36EC@ELECOM2.Watstar.UWaterloo.CA> Date: Mon, 27 Jan 1997 22:55:53 GMT Reply-To: mhabiche AT novice DOT uwaterloo DOT ca Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Nntp-Posting-Host: lunamoth.watstar.uwaterloo.ca Mime-Version: 1.0 Organization: University of Waterloo Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I'm having a problem convincing DJGPP to link a program of mine. The structure of the program is a header file which contains a class declaration. The class uses a template. This header is then included in a file which defines the member functions of the class, and in a program file designed to exercise the functionality of the class. All the files compile properly, but when I go to link them, I get a whole string of error messages complaining about unresolved functions [all of them are calls to the class member functions]. I was wondering if anyone could tell me if there are any command line switches or other special considerations I need to implement to address this problem. I've been through this newsgroup and the FAQ to no avail. Any help you can provide would be greatly appreciated, especially if you Email a reply. [It might be a while before I get back here.] Thanks in advance, --Mike. :)