Date: Sat, 13 Jan 96 16:43:50 MST To: djgpp AT sun DOT soe DOT clarkson DOT edu From: enoch AT terranet DOT terranet DOT ab DOT ca (Peter Plum) Subject: Peter: Undefined reference & djgpp hlp Hi! I am constantly having troubel with the following error messages; undefined reference to ...... (New at this) For example this is the error I get..... GNU C++ Compile: WINDOCP2.c WINDOCP2.c(.text+0x17): undefined reference to `clrscr' WINDOCP2.c(.text+0x24): undefined reference to `window' WINDOCP2.c(.text+0x31): undefined reference to `cprintf' .....when compiling this program #include int main(void) { /* clear the screen */ clrscr(); /* in conio.h*/ /* create a text window */ window(10, 10, 80, 25); /* in conio.h*/ /* output some text in the window */ cprintf("Hello world\r\n"); /* in conio.h*/ /* wait for a key */ getch(); /* in conio.h*/ return 0; } This and many other examples work fine in TC Lite but not with djgpp. What am I doing wrong? As well, how do I invoke the info system for djgpp. I downloaded and unzipped it all but can't seem to find any information on running it and everything I've tried returns "Can't find dir:" or "Can't find file:" Thanks "In Him was life, and His life is the light of men He came unto His own but His own received Him not but He gave power to as many as would receive Him to become the sons of God!" Peter Plum RR1 Site10 Box 10 Grande Prairie. AB T8V 2Z8 403 538 4713