Page 1 of 1

errors when creating nrnmech.dll

Posted: Fri Nov 09, 2007 2:11 am
by ttpuff
Hey, when I compile the MOD files, the following message shows up:

gcc -mno-cygwin -I/cygdrive/c/nrn60/src/scopmath -I/cygdrive/c/nrn60/src/nrnoc -I/cygdrive/c/nrn60/src/oc -I/cygdrive/c/nrn60/lib -I/cygdrive/c/nrn60/mingw -c mod_func.c
ld -d -S -x -r -o nrnmech.dll mod_func.o Copy.o of.o ExIAF.o EFixSyn.o EPlasSom.o EPlasSyn.o EtoISom.o ExIAF.o IFixSyn.o INPUT.o INPUT2.o IPlasSom.o IPlasSyn.o InhIAF.o noise.o -L/cygdrive/c/nrn60/lib -lscpmt
ld: Copy.o: No such file: No such file or directory
make: *** [nrnmech.dll] Error 1

There was an error in the process of creating nrnmech.dll

What happen here? Any error in the MOD file? Thanks.

Posted: Fri Nov 09, 2007 10:17 am
by ted
Does your project directory contain a file called Copy.mod? What happens if you delete all
.c, .h, and .o files in that directory, and then run mknrndll again?

Posted: Sat Nov 10, 2007 1:17 am
by ttpuff
Thanks, I figured it out. I made a mistake by simply copying one of existed MOD file.

ted wrote:Does your project directory contain a file called Copy.mod? What happens if you delete all
.c, .h, and .o files in that directory, and then run mknrndll again?

Posted: Sat Nov 10, 2007 12:30 pm
by ted
It's always best when users are able to figure out problems for themselves. Thanks for
tracking this down.