Date: Sun, 5 Apr 1998 15:53:51 +0300 (IDT) From: Eli Zaretskii To: Joshua Hab cc: djgpp AT delorie DOT com Subject: Re: HELP! LD doesn't warn me about unresolved externals! In-Reply-To: <1998040419490401.OAA29622@ladder03.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 4 Apr 1998, Joshua Hab wrote: > For some reason, ld allows me to link and builds exe files even if there are > unresolved externals! When the program is run, it crashes whenever > it tries to execute an undefined subroutine! This could happen if you installed RSXNTDJ at some time. The linker which comes with it ignores unresolved externals (so that you could use DLLs). The solution is not to use that version of a linker when linking statically (i.e., NOT against a DLL).