Date: Thu, 19 Dec 1996 09:06:44 +0200 (IST) From: Eli Zaretskii To: ZionHill cc: djgpp AT delorie DOT com Subject: Re: HELP: undefined reference to 'inportb' - outdated lib file? In-Reply-To: <32B88B0D.2D3F@ot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 18 Dec 1996, ZionHill wrote: > 3. when I go to link it the message occurs: undefined reference to > 'inportb' Are you using DJGPP v1.x? If so, append -lpc to your link command line, since this function is in libpc.a (which isn't searched by default).