Skip to content

cellular_modem example build error #90780

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

Open
1 task
TronicsMate opened this issue May 29, 2025 · 1 comment
Open
1 task

cellular_modem example build error #90780

TronicsMate opened this issue May 29, 2025 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@TronicsMate
Copy link

TronicsMate commented May 29, 2025

Cellur_modem example build error

I have been trying to build mdem_cellular example with different boards, but with each board I am getting this error.
I tried with nRF52840_DK also. no success. please check.

D:/Zephyr/external/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_ALIAS_modem_ORD' undeclared here (not in a function)
   96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
D:/Zephyr/external/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
  137 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
D:/Zephyr/external/zephyr/include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT'
   96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
D:/Zephyr/external/zephyr/include/zephyr/device.h:263:37: note: in expansion of macro 'DEVICE_NAME_GET'
  263 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
D:/Zephyr/external/zephyr/include/zephyr/device.h:280:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  280 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
D:/Zephyr/cellular_modem/src/main.c:25:30: note: in expansion of macro 'DEVICE_DT_GET'
   25 | const struct device *modem = DEVICE_DT_GET(DT_ALIAS(modem));
      |                              ^~~~~~~~~~~~~
[82/290] Generating linker_zephyr_pre0.cmd
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'd:\Zephyr\cellular_modem\build\rp2040_zero'

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

No response

Additional Context

No response

@TronicsMate TronicsMate added the bug The issue is a bug, or the PR is fixing a bug label May 29, 2025
Copy link

Hi @TronicsMate! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

1 participant