Message-ID: <3638D91F.2189EFE7@badger1.net> From: Thrawn X-Mailer: Mozilla 4.5b2 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Problem compiling Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Thu, 29 Oct 1998 13:07:43 -0800 NNTP-Posting-Host: 207.113.50.8 X-Complaints-To: support AT newshosting DOT com X-Trace: news.siscom.net 909695977 207.113.50.8 (Thu, 29 Oct 1998 16:19:37 EDT) NNTP-Posting-Date: Thu, 29 Oct 1998 16:19:37 EDT Organization: Newshosting To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm having a problem compiling a C++ program and it's driving me insane!! Ok, I have 4 files. The first is a assembly file(fixed.asm) containing some inline functions used by an object. The object is defined in another file(fixedp.h) and the member functions are defined in another(fixedp.cpp). The final file is a tester file(main.cpp). I use NASM to compile the assembly file into an object file. I I then compile the object. Then the tester program. All of this works ok, but when I try to link all the object files into the finished executable, I get an undefined reference to an operator I defined in fixedp.cpp. The definition should have been in fixedp.o, but the compiler doesn't seem to find it there, what's wrong? Thrawn