You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "gcmurray1990 (via GitHub)" <gi...@apache.org> on 2024/03/16 17:07:29 UTC

[I] How to fix: undefined reference to `arm_netinitialize' when configuring pppd on nucleo-f103rb:nsh [nuttx]

gcmurray1990 opened a new issue, #11928:
URL: https://github.com/apache/nuttx/issues/11928

   I am trying to enable the pppd example on nuttx version 12.2.2.1 for the nucleo-f103rb:nsh configuration. 
   I want to do this so that I can dial a phone call(using SIM7600-G-H, and I figured that pppd would be the best way to do this. That being said, I am using pppd to connect to my SIM.
   However, after enabling network support, tcp support, and wireless support, I am getting the same error message:
   arm-none-eabi-ld:/nuttxspace/nuttx/staging/libarch.a(arm_initialize.o): in function `up_initialize':
   nuttxspace/nuttx/arch/arm/src/common/arm_initialize.c:139: undefined reference to `arm_netinitialize'
   
   In the file listed: it says 
   #if defined(CONFIG_NET) && !defined(CONFIG_NETDEV_LATEINIT)
   void arm_netinitialize(void);
   #else
   #  define arm_netinitialize()
   #endif
   
   But network support is already enabled. 
   I also tried enabling all the different types of sockets, ARP, NET_TUN, and pretty much tried enabling every network setting to no avail.
   
   How can I fix this undefined reference to arm_netinitialize so that I can get pppd working and try to dial a number?
   
   Any guidance is much appreciated and I am happy to provide more info if necessary.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to fix: undefined reference to `arm_netinitialize' when configuring pppd on nucleo-f103rb:nsh [nuttx]

Posted by "gcmurray1990 (via GitHub)" <gi...@apache.org>.
gcmurray1990 commented on issue #11928:
URL: https://github.com/apache/nuttx/issues/11928#issuecomment-2005730737

   Thank you! That fixed it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to fix: undefined reference to `arm_netinitialize' when configuring pppd on nucleo-f103rb:nsh [nuttx]

Posted by "gcmurray1990 (via GitHub)" <gi...@apache.org>.
gcmurray1990 closed issue #11928: How to fix:  undefined reference to `arm_netinitialize' when configuring pppd on nucleo-f103rb:nsh
URL: https://github.com/apache/nuttx/issues/11928


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to fix: undefined reference to `arm_netinitialize' when configuring pppd on nucleo-f103rb:nsh [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #11928:
URL: https://github.com/apache/nuttx/issues/11928#issuecomment-2002458274

   Hi @gcmurray1990 you need to enable CONFIG_NETDEV_LATEINIT to avoid the symbol be requested. Since PPP means the network will be enabled after the system boot, then calling arm_netinitialize() doesn't make sense.
   
   Note: for PPP support you don't need to enable wireless support, although modem is a kind a "wire - less connection", it is not wireless.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org