Newsgroups: comp.os.msdos.djgpp From: Mike Habicher Subject: Linking Multi-File Project w/Templates Sender: news AT novice DOT uwaterloo DOT ca (Mr. News) Message-ID: <32EFCB46.11FC@ELECOM2.Watstar.UWaterloo.CA> Date: Wed, 29 Jan 1997 22:12:22 GMT Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Nntp-Posting-Host: centiped.watstar.uwaterloo.ca Mime-Version: 1.0 Organization: University of Waterloo Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I still can't get ld to link my multi-file project. The project involves a class that has its declarations stored in a .h file, which is included in two C++ files: the first one containing the actual code of the class' member functions, and the second one which is supposed to exercise the class to locate any possible coding errors. The class uses templates, and while the source files compile without errors, I get a whole bunch of "unresolved" errors when I try to link them together. Is there some sort of parameter I need to specify during the compile to get templates to compile properly? Or some modification I need to make to source files? The documentation that comes with DJGPP and the FAQ have been of no help. This is URGENT!! Thanks, --Mike. :)