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

AGPS with SUPL

When I try to build the AGPS sample (west build --pristine -b nrf9160dk_nrf9160ns) with SUPL support (added CONFIG_AGPS_SRC_SUPL=y) I get the following error:

cmd.exe /C "cd . && C:\gnuarmemb\bin\arm-none-eabi-gcc.exe @CMakeFiles\zephyr_prebuilt.rsp -o zephyr\zephyr_prebuilt.elf && cd ."
c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmodem
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Is there a config flag to add the modem lib or should I remove something else?

Parents Reply
  • Hi Erik,

     

    My apologies for the mixup. I'm glad to hear you got it running, but since you use bsdlib (not libmodem), you should consider downloading libsupl v0.6.1.

    We recently updated the text on our website, specifically for libsupl:

    If you use bsdlib, the latest compatible version of libsupl is 0.6.1. For libmodem usage, you should use v0.7.0 or newer

     

    Kind regards,

    Håkon

Children
No Data
Related