mknrndll not working on Yosemite

Post Reply
emoore
Posts: 1
Joined: Sun Nov 30, 2014 10:56 am

mknrndll not working on Yosemite

Post by emoore »

I am using NEURON for a graduate school class, and am not that familiar with how it works. However, I have followed all the instructions given in the course, read all the FAQs/tutorials online, and can't seem to figure out what is going on, and neither can the TA or instructor in my class. I have OSX Yosemite (Version 10.10.1). I have downloaded the most recent Xcode. I also was told to download a program called XQuartz/X11. None of this has changed the error, and everyone else in my class with a mac is getting it to work. The gui does work, just not the compilation process. I'm using the 32bit version of NEURON.

When I drag and drop the folder containing all the mod/hoc files I need to compile onto the mknrndll icon, I get these messages in the terminal:



xtra.c:60:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static _hoc_setdata() {
~~~~~~ ^
xtra.c:64:2: warning: implicit declaration of function 'ret' is invalid in C99
[-Wimplicit-function-declaration]
ret(1.);
^
xtra.c:65:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
xtra.c:137:9: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static _initlists();
~~~~~~ ^
xtra.c:138:2: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
_xtra_reg() {
^~~~~~~~~
xtra.c:141:3: warning: implicit declaration of function 'register_mech' is
invalid in C99 [-Wimplicit-function-declaration]
register_mech(_mechanism, nrn_alloc,(void*)0, (void*)0, (void*)0...
^
xtra.c:144:3: warning: implicit declaration of function
'hoc_register_dparam_size' is invalid in C99
[-Wimplicit-function-declaration]
hoc_register_dparam_size(_mechtype, 3);
^
xtra.c:145:3: warning: implicit declaration of function 'hoc_reg_ba' is invalid
in C99 [-Wimplicit-function-declaration]
hoc_reg_ba(_mechtype, _ba1, 11);
^
xtra.c:147:3: warning: implicit declaration of function 'hoc_register_var' is
invalid in C99 [-Wimplicit-function-declaration]
hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc);
^
xtra.c:148:3: warning: implicit declaration of function 'ivoc_help' is invalid
in C99 [-Wimplicit-function-declaration]
ivoc_help("help ?1 xtra /Users/elisabethmoore/Desktop/extracellu...
^
xtra.c:149:2: warning: implicit declaration of function 'hoc_register_limits' is
invalid in C99 [-Wimplicit-function-declaration]
hoc_register_limits(_mechtype, _hoc_parm_limits);
^
xtra.c:150:2: warning: implicit declaration of function 'hoc_register_units' is
invalid in C99 [-Wimplicit-function-declaration]
hoc_register_units(_mechtype, _hoc_parm_units);
^
xtra.c:151:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
xtra.c:158:8: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static _modl_cleanup(){ _match_recurse=1;}
~~~~~~ ^
xtra.c:158:42: warning: control reaches end of non-void function [-Wreturn-type]
static _modl_cleanup(){ _match_recurse=1;}
^
xtra.c:234:8: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static terminal(){}
~~~~~~ ^
xtra.c:234:19: warning: control reaches end of non-void function [-Wreturn-type]
static terminal(){}
^
xtra.c:236:8: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
static _initlists() {
~~~~~~ ^
xtra.c:238:16: error: non-void function '_initlists' should return a value
[-Wreturn-type]
if (!_first) return;



What could the problem be? Thanks!
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: mknrndll not working on Yosemite

Post by ted »

emoore wrote:I'm using the 32bit version of NEURON.
I didn't know a 32 bit version was available for OS X. Suggest you uninstall that and try either the most recent alpha dmg
http://www.neuron.yale.edu/ftp/neuron/v ... 10.9.5.dmg
or get and compile the latest source code from the mercurial repository as described here
http://www.neuron.yale.edu/neuron/download/getdevel
Post Reply