This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sample makefile


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]