On 11/4/2002 9:18 AM, Brunda Sathi wrote:
Whoa. Why are you linking "msvcrt.lib"?Here is the output from the linkerD:\Oracle\ora92\oci\samples>ld -o cdemo81 cdemo81.o d: \oracle\ora92\oci\lib\msvc \oci.lib d:\oracle\ora92\oci\lib\msvc\msvcrt.lib -lc
I suspect your problems are because you're mixing msvcrt (Microsoft Visual C(++) RunTime) and the Cygwin libc.
Try removing msvcrt.lib and see what comes up undefined. Perhaps a better bet would be to provide stubs for any undefined libc functions referenced from oci.lib that turn around and call the Cygwin libc equivalent.
--
Shankar.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/