Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when all debug options are disabled #156

Closed
prasimix opened this issue Jul 18, 2017 · 1 comment
Closed

Compilation error when all debug options are disabled #156

prasimix opened this issue Jul 18, 2017 · 1 comment
Assignees
Milestone

Comments

@prasimix
Copy link
Member

I tried to compile sketch with all debug options disabled (i.e. CONF_DEBUG, CONF_DEBUG_LATEST) and got the following error:

Archiving built core (caching) in: /tmp/arduino_cache_262959/core/core_arduino_sam_arduino_due_x_dbg_a3e93ab440d82c6ab9eb01c8144007f3.a
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0xfc): undefined reference to `eez::psu::scpi::scpi_cmd_debug(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x104): undefined reference to `eez::psu::scpi::scpi_cmd_debugQ(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x10c): undefined reference to `eez::psu::scpi::scpi_cmd_debugWdog(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x114): undefined reference to `eez::psu::scpi::scpi_cmd_debugWdogQ(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x11c): undefined reference to `eez::psu::scpi::scpi_cmd_debugOntimeQ(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x124): undefined reference to `eez::psu::scpi::scpi_cmd_debugDirQ(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x12c): undefined reference to `eez::psu::scpi::scpi_cmd_debugFileQ(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x134): undefined reference to `eez::psu::scpi::scpi_cmd_debugVoltage(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x13c): undefined reference to `eez::psu::scpi::scpi_cmd_debugCurrent(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x144): undefined reference to `eez::psu::scpi::scpi_cmd_debugMeasureVoltage(_scpi_t*)'
sketch/scpi_psu.cpp.o:(.rodata._ZN3eez3psu4scpiL13scpi_commandsE+0x14c): undefined reference to `eez::psu::scpi::scpi_cmd_debugMeasureCurrent(_scpi_t*)'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Due (Programming Port).
@prasimix prasimix added this to the v1.01 milestone Jul 18, 2017
mvladic added a commit that referenced this issue Jul 18, 2017
@prasimix
Copy link
Member Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants