Page 1 of 1

neuron don't compile mod file now, need help

Posted: Mon Feb 13, 2006 4:29 pm
by xyang
Have not work on neuron for a long time, several months. No new version installed in computer. Same mod file supposed to be compiled before, could not be compiled now, sh show as follows

gcc -mno-cygwin -I/cygdrive/c/nrn/src/scopmath -I/cygdrive/c/nrn/src/nrnoc -I/cygdrive/c/nrn/src/oc -I/cygdrive/c/nrn/lib -I/cygdrive/c/nrn/mingw -c mod_func.c
c:\nrn\bin\cc1.exe: *** Couldn't reserve space for cygwin's heap (0x2840000) in child, cygheap, Win32 error 487
make: *** [mod_func.o] Error 1

There was an error in the process of creating nrnmech.dll
Press Return key to exit

And seems happend in several computers in lab. Not sure the reason.

Thanks for your help!

Posted: Mon Feb 13, 2006 5:28 pm
by Raj
The problem might be conflicting cygwin dll's. If you added cygwin to you system or updated cygwin after installing NEURON you can run into this problem. Searching the internet with your error message will give you several results of people struggling with similar problems.

For a solution have a look at the following posting:
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=183

In general you should have one and only one cygwin.dll on your system not to confuse the windows os.

Raj