Subj : ./configure question To : comp.os.linux From : pakdog Date : Thu Sep 02 2004 12:37 am Trying to compile MyODBC on my RH 9 system. Running ./configure with directions given to mysql/lib, mysql/include, mysql/src I get the following error: gcc -o conftest -g -O2 conftest.c -lmysqlclient -L/usr/local/mysql/lib -lz 1>&5 /usr/local/mysql/lib/libmysqlclient.a(my_malloc.o)(.text+0x28): In function `my_malloc': : undefined reference to `errno' /usr/local/mysql/lib/libmysqlclient.a(my_realloc.o)(.text+0x65): In function `my_realloc': : undefined reference to `errno' /usr/local/mysql/lib/libmysqlclient.a(my_lib.o)(.text+0x2e1): In function `my_dir': : undefined reference to `errno' /usr/local/mysql/lib/libmysqlclient.a(my_lib.o)(.text+0x3d1): In function `my_stat': : undefined reference to `errno' /usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)(.text+0x44): In function `my_getwd': : undefined reference to `errno' /usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)(.text+0xce): more undefined references to `errno' follow On Google I found a post from early 2003 with the exact error messages and the solution offered was to add -lc to the gcc command. I'd like to try that but don't know the syntax for adding the -lc options in the configure command (assuming that's how it's done). Can anyone here help me out? Kevin .