Sample makefile
Shankar Unni
shankar@cotagesoft.com
Mon Nov 4 10:21:00 GMT 2002
On 11/4/2002 9:18 AM, Brunda Sathi wrote:
> Here is the output from the linker
>
> D:\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
Whoa. Why are you linking "msvcrt.lib"?
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/
More information about the Cygwin
mailing list