<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AGPS with SUPL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71593/agps-with-supl</link><description>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 &amp;quot;cd . &amp;amp;&amp;amp; C:\gnuarmemb\bin\arm-none-eabi-gcc.exe @CMakeFiles\zephyr_prebuilt.rsp</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Feb 2021 07:45:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71593/agps-with-supl" /><item><title>RE: AGPS with SUPL</title><link>https://devzone.nordicsemi.com/thread/294534?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 07:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b47fc2c1-b1ba-497f-bf85-0e32497b4e32</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Erik,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for the mixup. I&amp;#39;m glad to hear you got it running, but since you use bsdlib (not libmodem), you should consider downloading libsupl v0.6.1.&lt;/p&gt;
&lt;p&gt;We recently updated the text on our website, specifically for libsupl:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1613461432238v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;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&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AGPS with SUPL</title><link>https://devzone.nordicsemi.com/thread/294486?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 19:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1a040ed-1248-4ab6-a06f-d161a294bbb2</guid><dc:creator>E.</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I used version 1.4.0 of nrf and version 0.7.0 of the supl library.&amp;nbsp;I also tried to nrf version 1.4.2 but with the same result.&lt;/p&gt;
&lt;p&gt;I do think that the supl lib is where the problem comes from indeed:&lt;br /&gt;target_link_libraries(${SUPL_CLIENT_TARGET} INTERFACE modem -lc)&lt;/p&gt;
&lt;p&gt;Removing the modem dependency from the interface in CMakeLists.txt makes it compile again.&lt;/p&gt;
&lt;p&gt;Thnx,&lt;/p&gt;
&lt;p&gt;Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AGPS with SUPL</title><link>https://devzone.nordicsemi.com/thread/294339?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 10:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38ee51e2-4370-42cc-9ed7-dda40e983cb5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]cmd.exe /C &amp;quot;cd . &amp;amp;&amp;amp; C:\gnuarmemb\bin\arm-none-eabi-gcc.exe @CMakeFiles\zephyr_prebuilt.rsp -o zephyr\zephyr_prebuilt.elf &amp;amp;&amp;amp; cd .&amp;quot;&lt;br /&gt;c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmodem&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.[/quote]
&lt;p&gt;Which version libsupl are you using? With master, ie. the name change of bsdlib to libmodem; you need to use libsupl v0.7 or newer. You can download it from our website by re-applying here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs"&gt;https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>