Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030507152926.98746.qmail@web13905.mail.yahoo.com> Date: Wed, 7 May 2003 08:29:26 -0700 (PDT) From: Paul N Subject: gcc and oracle Pro*C on NT: Couldn't reserve space for cygwin's heap To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 #include EXEC SQL BEGIN DECLARE SECTION; #include #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; } __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -- 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/