delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Shankar Unni <shankar AT cotagesoft DOT com> |
Subject: | Re: Sample makefile |
Date: | Mon, 04 Nov 2002 10:21:03 -0800 |
Lines: | 19 |
Message-ID: | <3DC6BA8F.2080204@cotagesoft.com> |
References: | <OF012EF8EF DOT 2B8FB4F3-ON85256C67 DOT 00564BC3 AT cc DOT telcordia DOT com> |
NNTP-Posting-Host: | adsl-64-165-207-58.dsl.snfc21.pacbell.net |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1036433979 17011 64.165.207.58 (4 Nov 2002 18:19:39 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Mon, 4 Nov 2002 18:19:39 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact) |
X-Accept-Language: | en-us, en |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |