Date: Sat, 13 Jan 96 18:27:54 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: Again!! undefined reference!!! Error Message: GNU C++ Compile: CUBESCPR.c CUBESCPR.c(.text+0x3b): undefined reference to `cprintf' CUBESCPR.c(.text+0x6a): undefined reference to `cprintf' Program: #include main() { int i; cprintf("Table of cubes\r\n"); for(i=1; i<11; i++) { cprintf("The cube of %2d is %4d\r\n", i, i*i*i); } } Answer: Look at the documentation, read through my many books, works with TC Lite. "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