www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/23/20:07:11

Date: Tue, 23 May 95 18:46:05 -0400
From: Wonkoo Kim <wkim+@pitt.edu>
To: mdelaney AT bermuda DOT ucd DOT ie, djgpp users <djgpp AT sun DOT soe DOT clarkson DOT edu>
Reply-To: Wonkoo Kim <wkim+@pitt.edu>
Subject: Re: compilation error

> I seem to have installed djgpp O.K., the test program hello.c compiles.
> However when I try to compile my own program it complains that the function
> outportw/inmportw is undefined, even though I have included the include file
> pc.h for this function. This is the only error that occurs, so the other
> include files stdio.h etc. works fine.

I guess you forgot -lpc library switch.  You have to link with libpc.

//--------------------------------------------------------------------
// Wonkoo Kim
// wkim+@pitt.edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019