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

   ### Description / Steps to reproduce the issue
   
   I was getting this error after enabling CAN example:
   
   LD: nuttx
   arm-none-eabi-ld: 
/home/alan/nuttxspace/nuttx/staging/libapps.a(can_main.c.home.alan.nuttxspace.apps.examples.can_1.o):
 in function `show_usage':
   can_main.c:(.text.show_usage+0x6): undefined reference to `lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0xe): undefined reference to 
`fprintf'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x14): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x1c): undefined reference to 
`fprintf'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x22): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x2a): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x30): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x38): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x3e): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x46): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x4c): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x54): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x5a): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x64): undefined reference to 
`fprintf'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x6a): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.show_usage+0x76): undefined reference to 
`fputs'
   arm-none-eabi-ld: 
/home/alan/nuttxspace/nuttx/staging/libapps.a(can_main.c.home.alan.nuttxspace.apps.examples.can_1.o):
 in function `can_main':
   can_main.c:(.text.can_main+0x54): undefined reference to `lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x84): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x8c): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0xb0): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0xce): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0xda): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x122): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x12a): undefined reference to 
`fputs'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x16e): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x172): undefined reference to 
`fflush'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x1da): undefined reference to 
`lib_get_stream'
   arm-none-eabi-ld: can_main.c:(.text.can_main+0x1de): undefined reference to 
`fflush'
   
   It was fixed after enabling CONFIG_FILE_STREAM=y
   
   ### On which OS does this issue occur?
   
   [OS: Other], [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu 24.04
   
   ### NuttX Version
   
   mainstream
   
   ### Issue Architecture
   
   [Arch: all]
   
   ### Issue Area
   
   [Area: Applications]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to