parse error when running mknrndll

Post Reply
jenskroeger
Posts: 2
Joined: Mon Jan 10, 2011 12:05 pm

parse error when running mknrndll

Post 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.
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: parse error when running mknrndll

Post 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/
jenskroeger
Posts: 2
Joined: Mon Jan 10, 2011 12:05 pm

Re: parse error when running mknrndll

Post 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
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: parse error when running mknrndll

Post by ted »

Had Cygwin or a different version of NEURON previously been installed on the PC where you are having trouble?
Post Reply