[unixODBC-dev] SQLAllocEnv

Alf C Stockton alf at stockton.co.za
Tue Nov 23 19:36:29 GMT 2004


I am getting "undefined reference to 'SQLAllocEnv'" when I attempt to build a 
odbc program that I created via cut and paste from isql.c

As a matter of interest this program compiles & links & successfully accesses MS 
SQL database quite successfully on Win XP but won't build on Linux.

I must be missing a #include ?????.h but cannot work out which .h to use.

---

Regards,
Alf Stockton	www.stockton.co.za

Jenkinson's Law:
 	It won't work.



More information about the unixODBC-dev mailing list