Date: Thu, 2 Jul 1998 09:15:52 +0300 (IDT) From: Eli Zaretskii To: djgpp AT delorie DOT com Subject: Re: library question In-Reply-To: <359ae4d7.16825528@news> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 2 Jul 1998, Bergholt wrote: > My problem is that the function in the curses libs conflict with the > conio functions in libc.a. This usually happens when you mix PDCurses functions with conio functions. You need to examine your code and replace all calls to conio functions with equivalent PDCurses functions. Then the problem should go away. > Is there a way to include most, but not all of the functions in > libc.a? The linker doesn't include all of the library (otherwise even a hello world program would take 600KB), it only includes those object modules that it needs to resolve the external references in your code. The problem is that all the conio functions are defined on a single module, since they are tightly coupled, so if you use even a single conio function, the linker links in all of them. The solution, as I said above, is to avoid mixing PDCurses and conio. They are incompatible.