parse error when running mknrndll
Posted: Wed Jan 12, 2011 9:09 am
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.
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.