Aaaarrrggg... Incorrect order of linking. > > make cli1.exe > gcc -g -mthreads -lodbc32 cli1.c Should be... gcc -g -mthreads cli1.c -lodbc32 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com