Jasinsky opened a new pull request, #15702:
URL: https://github.com/apache/nuttx/pull/15702

   ## Summary
   
   CMake build was broken with undefined reference to bt_bridge_register 
function.
   ```
   [9/11] Linking C executable nuttx
   FAILED: nuttx 
   : && /usr/bin/cc  -Wl,--gc-sections -Wl,-no-pie 
-Wl,-Ttext-segment=0x40000000 -Wl,-z,noexecstack -T nuttx.ld 
@CMakeFiles/nuttx.rsp -o nuttx && :
   /usr/bin/ld: nuttx.rel: in function `bt_driver_register_with_id':
   /home/dan/priv/nuttx/nuttx/drivers/wireless/bluetooth/bt_driver.c:100: 
undefined reference to `bt_bridge_register'
   ```
   
   It was because bt_bridge.c file is missing in 
drivers/wireless/bluetooth/CMakeLists.txt. 
   
   ## Impact
   
   Minor impact, makefile based build worked fine, CMake based build is fixed 
now.
   
   ## Testing
   
   Host used:
   ```
   Linux 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec  9 
15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
   ```
   ```
   gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
   ```
   
   Target:
   ```
   cmake .. -G Ninja -DBOARD_CONFIG=sim:btuart
   ```
   
   
   


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to