Error compiling in Cygwin

Posted by Mancko on Sun 29 Jul 2007 10:47 PM — 6 posts, 27,139 views.

#0
I've been trying and trying to compile SMAUG 1.4a in Cygwin, and have followed the directions in "How to Compile" several times from start to finish, but I consistently get this same error message when I try to compile:

$ make
make smaug
make[1]: Entering directory `/cygdrive/g/smaug/dist/src'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
2 [main] ? 3748 init_cheap: Couldn't reserve 3600336 bytes of space for cy
gwin's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3748): *** AllocationBase 0x0, B
aseAddress 0x61820000, RegionSize 0x360000, State 0x10000

2 [main] ? 416 init_cheap: Couldn't reserve 3600336 bytes of space for cyg
win's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (416): *** AllocationBase 0x0, Ba
seAddress 0x61820000, RegionSize 0x360000, State 0x10000

2 [main] ? 2932 init_cheap: Couldn't reserve 3600336 bytes of space for cy
gwin's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (2932): *** AllocationBase 0x0, B
aseAddress 0x61820000, RegionSize 0x360000, State 0x10000

2 [main] ? 2868 init_cheap: Couldn't reserve 3600336 bytes of space for cy
gwin's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (2868): *** AllocationBase 0x0, B
aseAddress 0x61820000, RegionSize 0x360000, State 0x10000

2 [main] ? 2280 init_cheap: Couldn't reserve 3600336 bytes of space for cy
gwin's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (2280): *** AllocationBase 0x0, B
aseAddress 0x61820000, RegionSize 0x360000, State 0x10000

18 [main] ? 3712 init_cheap: Couldn't reserve 3600336 bytes of space for cy
gwin's heap, Win32 error 487
g:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3712): *** AllocationBase 0x0, B
aseAddress 0x61820000, RegionSize 0x360000, State 0x10000

make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/cygdrive/g/smaug/dist/src'
make: *** [all] Error 2


I'm completely confused and have looked all over for someone with the same problem...

Any thoughts? Thanks!
USA #1
Hm, try Googling that error. I see many topics on that.

Also, make sure you have enough RAM and hard drive space.
USA #2
That's what I was thinking those error messages sounded like, not enough memory. *shrug*
#3
Yeah, I did some research after this. I suppose that's what it is, but I wonder why? I have cygwin sitting alone in a 10 gig volume, running XP with 1.5 GB memory.

I think I must have done something wrong installing cygwin. I am going to try it again, following the instructions very closely. I'll let you know what happens.

Thanks,

Mancko
USA #4
I googled for Win32 error 487 and found another person who had the same problem but in a different part of Cygwin:
http://cygwin.com/ml/cygwin/2005-09/msg00919.html

Maybe that will help you... it also looks like there are a lot more messages in that google search, I'd suggest poking around there a bit to learn more about this.
#5
David:

The link did indeed have the solution, though I have no idea what I did. But that's okay, it's part of the learning process.

I did see that page before, but I wasn't sure if the problem was the same, so I was looking for something more specific. But thanks, everyone, for the help...

Cheers!