delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/09/05:30:47

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
Subject: Re: gcc and oracle Pro*C on NT: Couldn't reserve space for cygwin's
heap
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0305071056420 DOT 3212-100000 AT slinky DOT cs DOT nyu DOT edu>
From: Harald DOT Maier DOT BW AT t-online DOT de (Harald Maier)
Reply-To: Harald Maier <maierh AT myself DOT com>
Date: Fri, 09 May 2003 11:30:19 +0200
In-Reply-To: <Pine.GSO.4.44.0305071056420.3212-100000@slinky.cs.nyu.edu> (Igor
Pechtchanski's message of "Wed, 7 May 2003 11:01:08 -0400 (EDT)")
Message-ID: <m3znlwqxg4.fsf@ate.maierh>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
X-Sender: 320041125923-0001 AT t-dialin DOT net

I figured out the same problems. Do we have possibilities to debug
such a problem. I cannot imagine that the linked lib 'orasql9.dll'
(in my case) allocates more as 384 MB heap.

Harald


Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:

> On Wed, 7 May 2003, Paul N wrote:
>
>> To: pechtcha AT cs DOT nyu DOT edu, igor AT watson DOT ibm DOT com, ckirgios AT ajboggs DOT com,
>>     gnu-win32 AT cygnus DOT com, cygwin AT cygwin DOT com, jason AT tishler DOT net,
>>     cygwin AT sources DOT redhat DOT com, Ralf DOT Habacker AT freenet DOT de, kulack AT us DOT ibm DOT com,
>>     niraja AT npi DOT stpn DOT soft DOT net, lhall AT rfk DOT com
>
> Paul,
>
> FYI, most of the people this was addressed to are on the cygwin@ list (and
> you've also sent this to TWO of my e-mail addresses).  Please read
> <http://cygwin.com/problems.html> CAREFULLY, and don't do this anymore.
> The cygwin list is the right place to address Cygwin inquiries.
> 	Igor
>
>> Hello all,
>>
>> I'm trying to write a Pro*C program using cygwin gcc and Oracle for NT Precompiler.
>> So far I could make it to the exe file converting the oracle DLL (ORASQL8.DLL) that comes for VC
>> compiler into the lib file (orasql8.a using impdef and dlltool to create the lib), but when I run
>> the executable I get the following error:
>>
>>      19 [unknown (0x724)] ? 308 cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap (0x615F0000 <0x1240000>) in child, Win32 error 487 h:\src\dgn_connect.exe: *** m.AllocationBase 0x0, m.BaseAddress 0x615F0000, m.RegionSize 0x110000, m.State 0x10000
>>
>> I tried to "rebaseall" cygwin dlls as suggested on one of the posts on google, but with no luck
>>
>> below is the pc source:
>>
>> Please help
>>
>> Paul
>>
>>
>> #include <stdio.h>
>> #include <string.h>
>>
>> EXEC SQL BEGIN DECLARE SECTION;
>> #include <sqlca.h>
>> #define     UNAME_LEN      20
>> #define     PWD_LEN        40
>> #define	    SID_LEN        20
>>
>> VARCHAR     username[UNAME_LEN];
>> VARCHAR     password[PWD_LEN];
>> VARCHAR     sid[SID_LEN];
>> EXEC SQL END DECLARE SECTION;
>>
>>
>> void main()
>> {
>>   printf("hello\n");
>>   /* Connect to ORACLE.*/
>>   EXEC SQL CONNECT :username IDENTIFIED BY :password USING :sid;
>> }
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019