Here is some additional info on the compile errors:
make[2]: Entering directory `/home/dbeery/exim-3.13/build-Linux-i386/lookups'
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups cdb.c
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups dbmdb.c
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups dnsdb.c
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups ldap.c
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups lsearch.c
gcc -c -O -I/usr/local/include -I /home/dbeery/exim-3.13/src/lookups mysql.c
mysql.c:38: parse error before `MYSQL'
mysql.c:38: warning: no semicolon at end of struct or union
mysql.c:39: warning: data definition has no type or storage class
mysql.c:41: parse error before `*'
mysql.c:41: warning: data definition has no type or storage class
mysql.c: In function `mysql_tidy':
mysql.c:68: `cn' undeclared (first use in this function)
mysql.c:68: (Each undeclared identifier is reported only once
mysql.c:68: for each function it appears in.)
mysql.c: In function `perform_mysql_search':
mysql.c:106: `MYSQL' undeclared (first use in this function)
mysql.c:106: `mysql_handle' undeclared (first use in this function)
mysql.c:107: `MYSQL_RES' undeclared (first use in this function)
mysql.c:107: `mysql_result' undeclared (first use in this function)
mysql.c:108: `MYSQL_ROW' undeclared (first use in this function)
mysql.c:108: parse error before `mysql_row_data'
mysql.c:109: `MYSQL_FIELD' undeclared (first use in this function)
mysql.c:109: `fields' undeclared (first use in this function)
mysql.c:111: parse error before `int'
mysql.c:117: `cn' undeclared (first use in this function)
mysql.c:143: `i' undeclared (first use in this function)
mysql.c:181: warning: comparison between pointer and integer
mysql.c:230: `num_fields' undeclared (first use in this function)
mysql.c:237: `mysql_row_data' undeclared (first use in this function)
mysql.c:239: warning: initialization makes pointer from integer without a cast
mysql.c:241: `result' undeclared (first use in this function)
mysql.c:242: `ssize' undeclared (first use in this function)
mysql.c:242: `offset' undeclared (first use in this function)
mysql.c:285: `yield' undeclared (first use in this function)
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/home/dbeery/exim-3.13/build-Linux-i386/lookups'
David Beery
--
Wireless First (V) 231-922-2367
http://www.speedconnect.com (F) 231-922-2370