Date: Sun, 9 May 1999 11:54:17 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: solderer AT my-dejanews DOT com cc: djgpp AT delorie DOT com Subject: Re: Need Help ! With compiling serio In-Reply-To: <7gsom2$ddp$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 6 May 1999 solderer AT my-dejanews DOT com wrote: > Creating: seritest.exe > Error: test.o: in funktion 'main': > test.c(32) Error: undefined reference to 'sio_openport' > and more like this :-( This looks like you aren't linking the library into the program, so the functions defined inside the library aren't found. I suggest to follow the instructions in the package. Perhaps you are supposed to use a Makefile and the Make utility, not RHIDE. > But the mentioned variables are there in the includ file ! I can read them, > Why cant DJGPP find them ? The headers do not define the functions, they just declare their prototypes. The actual code for these functions is in the library, and you need to tell the linker to use that library.