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: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap


Kurt,

On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote:
> I recently upgraded to postgresql 7.4-1.  Now when I try to run my
> program linked with ecpg.dll I get:
> 
>      12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't
> reserve space for cygwin's heap (0x61600000 <0x470000>) in child,
> Win32 error 487
> C:\cygwin\home\kurt\tst.exe: *** m.AllocationBase 0x0,
> m.BaseAddress 0x61600000, m.RegionSize 0x80000, m.State 0x10000

Rebasing my system fixed the above problem:

    $ rebaseall
    ...
    $ ecpg tst.pgc
    $ gcc tst.c -o tst -lecpg
    $ ./tst
    $

Please read the rebase README:

    http://www.tishler.net/jason/software/rebase/rebase-2.2.README

Does rebaseall work for you too?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/


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