mknrndll.hoc: make Error 127

mknrndll.hoc: make Error 127

Postby kstadler » Wed Nov 04, 2009 12:10 pm

Hallo,

I just updated from Neuron 5.9 to 7.1 and now I can't compile mod files anymore.
When I use mknrndll.hoc I reproducible create the following:

gcc -DDLL_EXPORT -DPIC -I/cygdrive/c/programme/nrn71/src/scopmath -I/cygdrive/c/programme/nrn71/src/nrnoc -I/cygdrive/c/programme/nrn71/src/oc -I/cygdrive/c/programme/nrn71/lib -I/cygdrive/c/programme/nrn71/gccinc -I/cygdrive/c/programme/nrn71/gcc3inc -L/cygdrive/c/programme/nrn71/gcclib -c mod_func.c
make: gcc: Command not found
make: *** [mod_func.o] Error 127

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


I already
- un- and reinstalled Neuron
- tested mknrdll on some mod files from the distribution (camchan.mod), of course in a new directory without any .c or .o files
- installed Neuron on different Windows Systems (Windows XP or Windows 2000)

I did not install Neuron in a path containing blanks.

For me it seems that the error is somehow connected the cygwin or the gcc, but I am not at all a Linux expert...

I would be grateful for every advice
Konstantin
kstadler
 
Posts: 4
Joined: Wed Nov 04, 2009 11:44 am

Re: mknrndll.hoc: make Error 127

Postby ted » Wed Nov 04, 2009 7:36 pm

This happens if your PC already has an installation of Cygwin that is different from what is built into the nrn*setup.exe installer. You have to uninstall NEURON, then either (1) uninstall Cygwin and reinstall NEURON from the nrn*setup.exe, or (2) install InterViews and NEURON from the iv*tar.gz and nrn*tar.gz source files. (1) is what I'd do if I wasn't using Cygwin for anything in particular.
ted
Site Admin
 
Posts: 1958
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: mknrndll.hoc: make Error 127

Postby kstadler » Thu Nov 05, 2009 5:57 am

So, I
1) uninstalled Neuron
2) searched for any other neuron or nrn*.* file I could possibly have on the computer and deleted them
3) tried to uninstall cygwin -> I did not have any file or path named cygwin. Anyway I deleted every cygwin notation from the regfiles and rebooted
4) I reinstalled Neuron and
-> 5) the mknrndll still does not work (same error massage as described below)

Nevertheless I can start and run the NEURON Demo withou problems.
I don't know if it is of any importance, but the regentrys (in HKLM and HKCU) did not reappear after I installed Neuron but after the first start of mknrndll.

Regards
KST
kstadler
 
Posts: 4
Joined: Wed Nov 04, 2009 11:44 am

Re: mknrndll.hoc: make Error 127

Postby ted » Sat Nov 07, 2009 2:51 am

make: gcc: Command not found

Well, it turns out that the installer for MSWin didn't include gcc. A new installer has now been created which contains gcc--it's at http://www.neuron.yale.edu/ftp/neuron/v ... .setup.exe
ted
Site Admin
 
Posts: 1958
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: mknrndll.hoc: make Error 127

Postby kstadler » Mon Nov 09, 2009 8:25 am

Works, many thanks
KST
kstadler
 
Posts: 4
Joined: Wed Nov 04, 2009 11:44 am

Re: mknrndll.hoc: make Error 127

Postby ted » Mon Nov 09, 2009 2:40 pm

Sorry about the inconvenience. It's rare that something is omitted from the MSWin installer.
ted
Site Admin
 
Posts: 1958
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine


Return to MSWin

Who is online

Users browsing this forum: No registered users and 1 guest