Hi Graham, > -----Original Message----- > From: Graham Keys [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 11. November 2003 03:24 > To: [EMAIL PROTECTED] > Subject: Problem with undefined references in libsqlod.a > > > > > I'm attempting to link with libsqlod.a on LINUX but am > getting the following > errors below. I'm assuming that these defines should come > from ctype.h but > have this file in both SAPDB_HOME/incl directory and > /usr/include. Any > ideas would be most welcome.
The include file is only taken for compiling not linking. Therefore you have to specify somehow the right library. On the Linux platform I've at hand here a statically linked ODBC program (connect) gives: nm -a connect | grep ctype 08183cac B __ctype_b@@GLIBC_2.0 08183aa0 B __ctype_tolower@@GLIBC_2.0 08183ab0 B __ctype_toupper@@GLIBC_2.0 So, the c_type stuff belongs to the glibc, which should be linked with "-lc" or similar. On our machine, I've not to specify this library explictly. HTH Thomas ---------------------------------------------- Dr. Thomas K�tter SAP DB, SAP Labs Berlin Do you know SAP^H^H^H MaxDB ? www.sapdb.org -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
