Page 1 of 1

parse error when running mknrndll

Posted: Wed Jan 12, 2011 9:09 am
by jenskroeger
Hi,

I installed NEURON 6.2 on Windows XP. Before doing anything else, I ran mknrndll and it worked succesfully, i.e. creating the nrnmech.dll file in the directory. However, after I uploaded .mod files (previously used succesfully on another computer) onto that directory and tried to rerun mknrndll, the following error message appeared:

gcc -DDLL_EXPORT -DPIC -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/gccinc -I/cygdrive/c/nrn/gcc3inc -L/cygdrive/c/nrn/gcclib -c mod_func.c
mod_func.c: In function `modl_reg':
mod_func.c:46: error: parse error before "_reg"
mod_func.c:52: error: parse error before "_reg"
make: *** [mod_func.o] Error 1

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

I removed all .c, .o and .dll files from the directory, but that did not help.

Thank you in advance for any suggestions.

Re: parse error when running mknrndll

Posted: Wed Jan 12, 2011 10:51 am
by ted
Suggest you uninstall 6.2 (use NEURON's own uninstaller, in the NEURON program group), then install the latest alpha version, which is available from
http://www.neuron.yale.edu/ftp/neuron/versions/alpha/

Re: parse error when running mknrndll

Posted: Thu Jan 27, 2011 11:10 am
by jenskroeger
Hi Ted,

Thank you for your quick reply. Unfortunately, it seems like the .mod files that I am trying to use only work with NEURON versions 6.2 and older.

Best regards,

Jens

Re: parse error when running mknrndll

Posted: Thu Jan 27, 2011 8:09 pm
by ted
Had Cygwin or a different version of NEURON previously been installed on the PC where you are having trouble?