This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Attempt to assign the value 'x' to the undefined symbol 'y'

OS: Windows 10

NRF Repository at branch master, commit bd67811aa123a49cb36991be886f3fafb4730449.
Zephyr version: 2.1.0
SES version: 4.20a

Have tried running SES on administrator.

Log:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=C:/ncs2/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/ncs2/nrf/applications/asset_tracker/build -HC:/ncs2/nrf/applications/asset_tracker -DPYTHON_EXECUTABLE=C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python37_64/python.exe -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/ncs/SEGGER/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/ncs2/nrf/applications/asset_tracker'
Zephyr version: 2.1.0
-- Selected BOARD nrf9160_pca10090ns
-- Cache files will be written to: C:\Users\Thomas Aunvik\AppData\Local/.cache/zephyr
USING OUT OF TREE BOARD
-- Loading C:/ncs2/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
Devicetree configuration written to C:/ncs2/nrf/applications/asset_tracker/build/zephyr/include/generated/generated_dts_board.conf
C:/ncs2/nrf/applications/asset_tracker/prj.conf:22: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL
Parsing Kconfig tree in C:/ncs2/nrf/applications/asset_tracker/Kconfig
Loaded configuration 'C:/ncs2/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
Merged configuration 'C:/ncs2/nrf/applications/asset_tracker/prj.conf'
C:/ncs2/nrf/applications/asset_tracker/prj.conf:23: warning: attempt to assign the value 'y' to the undefined symbol LTE_NETWORK_MODE_LTE_M_GPS
C:/ncs2/nrf/applications/asset_tracker/prj.conf:24: warning: attempt to assign the value 'n' to the undefined symbol LTE_AUTO_INIT_AND_CONNECT
C:/ncs2/nrf/applications/asset_tracker/prj.conf:25: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL_LOG_LEVEL_DBG
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parents
  • Hi,

    I am not able to reproduce this. Using a clean checkout of bd67811aa123a49cb36991be886f3fafb4730449 everything builds both from the command line and SES when I test. Did you remember to use "west update" before building the application (after updating the nrf repo)? Do you have any local changes?

  • Hi, yes, i did use west update after checkout. And i have tried on the command line too and it gotten me the same issue.
    Though now i did try it on linux and all that, and it worked perfectly (except for some missing path/environment variable requirements that wasnt in the get started guide), still not working on windows though.

  • Hi,

    Are you building the specified hash (bd67811aa123a49cb36991be886f3fafb4730449) without any changes? I ask since that is what I tested, and the asset tracker from that hash builds with west and SES on Windows 10 for me. If unmodified, then I think we should look at your toolchain. Can you make sure it is up to date? Particularly the python modules? Can you try installing the requirements again (something like "pip3 install --user -r zephyr/scripts/requirements.txt" and "pip3 install --user -r nrf/scripts/requirements.txt")?

Reply
  • Hi,

    Are you building the specified hash (bd67811aa123a49cb36991be886f3fafb4730449) without any changes? I ask since that is what I tested, and the asset tracker from that hash builds with west and SES on Windows 10 for me. If unmodified, then I think we should look at your toolchain. Can you make sure it is up to date? Particularly the python modules? Can you try installing the requirements again (something like "pip3 install --user -r zephyr/scripts/requirements.txt" and "pip3 install --user -r nrf/scripts/requirements.txt")?

Children
No Data