[Ovmsdev] getting started, make errors from debug options?

Dale dalklein at gmail.com
Fri Dec 20 12:53:14 HKT 2019

Sorry, I'm still having trouble.  Dabbling in many things to become
dangerous, but mastering none.  I'm still not able to make successfully.

I'm not sure what I did to get past the previous make error.  Maybe
initially I didn't choose all the defaults and got something set wrong.  Do
I delete the sdkconfig file to get back to no settings and then it will ask
all the options first time running make?

I think I have openvehicles esp-idf and ovms latest versions from GIT
correctly installed.  I chose defaults in make menuconfig (except setting
the correct USB port), and chose defaults when GENCONFIG runs from make.
I changed to other OVMS versions between 3.2.000 and 3.2.008 and current
master, all with same error occurring.

It errors out in ovms_module, with module_tasks_data not declared in this
scope.   It looks like related to having debugging options selected or
not?  The #ifdef conditional sections contain the declaration of
module_tasks_data, so it doesn't get declared, but it is still used.

Am I missing setting some option for make or configuring compile options?
  It must be one of these?
#define NOGO 1
#define NOGO 1
#define NOGO 1

~/Leaf/OVMS/v3/vehicle/OVMS.V3$ make
Toolchain path:
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from
/homez/dklein/Documents/Projects/Leaf/OVMS/esp-idf/requirements.txt are

App "ovms3" version: 3.2.008-15-gca307f88-dirty

In function 'void module_eventhandler(st
d::__cxx11::string, void*)':
'module_tasks_data' was no
t declared in this scope
      module_tasks_data(0, NULL, NULL, 0, NULL);
In constructor 'OvmsModuleInit::OvmsModu
'module_tasks_data' was n
ot declared in this scope
    cmd_tasks->RegisterCommand("data","Output module task stats
component_wrapper.mk:289: recipe for target 'ovms_module.o' failed
make[1]: *** [ovms_module.o] Error 1
recipe for target 'component-main-build' failed
make: *** [component-main-build] Error 2

Thanks!     Dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20191219/2f1fd40c/attachment.html>

More information about the OvmsDev mailing list