mknrndll fils with undefined reference
Posted: Thu Sep 05, 2019 2:50 pm
I recently updated to NEURON 7.7 from NEURON 7.2 and was trying to recompile a mod file. I tried recompiling one of my mod files and the compilation failed with:
undefined reference to 'hoc_register_dparam_size' at line 75 in the mkrndll.mak file (NEURON version 7.7.2.7.7 2b7985ba)
After a lot of searching I found that another post on this forum which mentioned something about deleting old object files (.o) and c files (.c). I also deleted some old lo and la files that I had moved into that directory when having problems on a mac (I didn't know where to find the resulting lib file and thought the lo and la files might help)
viewtopic.php?f=8&t=3318
Deleting those files fixed the problem.
I was hoping to understand:
1. Why this step was needed. What exactly was causing the problem (if that can be deduced from the reported error)?
2. Whether or not this would be considered a bug or if it is expected behavior for some reason.
Thanks!
undefined reference to 'hoc_register_dparam_size' at line 75 in the mkrndll.mak file (NEURON version 7.7.2.7.7 2b7985ba)
After a lot of searching I found that another post on this forum which mentioned something about deleting old object files (.o) and c files (.c). I also deleted some old lo and la files that I had moved into that directory when having problems on a mac (I didn't know where to find the resulting lib file and thought the lo and la files might help)
viewtopic.php?f=8&t=3318
Deleting those files fixed the problem.
I was hoping to understand:
1. Why this step was needed. What exactly was causing the problem (if that can be deduced from the reported error)?
2. Whether or not this would be considered a bug or if it is expected behavior for some reason.
Thanks!