Thanx, boxes defined _GNU_SOURCE on linux, I changed that to __GLIBC__ and it worked nicely. And bvi I changed sys_errlist[errno] to strerror(errno) and it worked. Well it's time for some bug reports ;) ===== James Morrison University of Waterloo Computer Science - Digital Hardware 1B __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/