errors when creating nrnmech.dll

NMODL and the Channel Builder.
Post Reply
ttpuff

errors when creating nrnmech.dll

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

Post 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?
ttpuff

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

Post by ted »

It's always best when users are able to figure out problems for themselves. Thanks for
tracking this down.
Post Reply