I get the following error from a program. setup.o: In function `setup': setup.o(.text+0xad6): undefined reference to `bsd_ioctl' setup.o(.text+0xcc6): undefined reference to `bsd_ioctl' I'm not sure what it means but I suspect that it got something to do with the 'iocl.h' header file. I made sure that the #include <sys/ioctl.h> is in the source code. The reference 'bsd_ioctl' is used nowhere in the program, only the function ioctl() is called within the code. Can someone please help me out with this. Thank you in advance Godfree Gert Department of Medical Physics University of the Orange Free State P O Box 339 Bloemfontein 9301 Tel: +27 51 4053158