Page 1 of 1

compillation error during nmodl file

Posted: Wed Jun 06, 2007 1:39 pm
by kazmer
Hi all,

I use NEURON in XP sice long time. It worked very well. However, now I want to compile a nmodl file I get the next message:

gcc -mno-cygwin -I/cygdrive/c/nrn59/src/scopmath -I/cygdrive/c/nrn59/src/nrnoc -I/cygdrive/c/nrn59/src/oc -I/cygdrive/c/nrn59/lib -I/cygdrive/c/nrn59/mingw -c mod_func.c
make: *** [mod_func.o] Error 1

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

I reinstall the system, but nothing happend.

Where is problem??????

Thank your helping!

Kazi

Posted: Thu Jun 07, 2007 10:51 pm
by ted
Remove all .c .o and .dll files from your project directory, then try again.

Posted: Fri Jun 08, 2007 8:21 am
by kazmer
Nothing happened.

Former I install X-win32, X-window system, on my XP. May it cause the problem?

However if I install Neuron 5.7, it works fine.

Kazi

Re: compillation error during nmodl file

Posted: Fri Jun 08, 2007 9:32 am
by ted
kazmer wrote:compile a nmodl file I get the next message:

gcc -mno-cygwin -I/cygdrive/c/nrn59/src/scopmath -I/cygdrive/c/nrn59/src/nrnoc -I/cygdrive/c/nrn59/src/oc -I/cygdrive/c/nrn59/lib -I/cygdrive/c/nrn59/mingw -c mod_func.c
make: *** [mod_func.o] Error 1

There was an error in the process of creating nrnmech.dll
Press Return key to exit
Was that the entire message? Was there anything more?

Posted: Fri Jun 08, 2007 10:59 am
by Raj
Did you update cygwin recently?

If so you might have a look at:
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=878