-
Notifications
You must be signed in to change notification settings - Fork 122
PS4-esp32 has too many undefined Reference with Xiao ESP32-C3 Micro Controller #52
Description
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_l2cap.c.o: in function ps4_l2cap_disconnect_ind_cback': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:280: undefined reference to L2CA_DisconnectRsp'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_l2cap.c.o: in function ps4_l2cap_config_ind_cback': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:244: undefined reference to L2CA_ConfigRsp'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_l2cap.c.o: in function ps4_l2cap_connect_ind_cback': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:193: undefined reference to L2CA_ErtmConnectRsp'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:196: undefined reference to L2CA_ErtmConnectRsp' c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:199: undefined reference to L2CA_ConfigReq'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_l2cap.c.o: in function ps4_l2cap_init_service': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:150: undefined reference to L2CA_Register'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_l2cap.c.o: in function ps4_l2cap_send_hid': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_l2cap.c:118: undefined reference to L2CA_DataWrite'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_spp.c.o: in function sppCallback': g:\Documents\Arduino\libraries\PS4Controller\src/ps4_spp.c:87: undefined reference to esp_bt_gap_set_scan_mode'
c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: g:\Documents\Arduino\libraries\PS4Controller\src/ps4_spp.c:92: undefined reference to esp_spp_start_srv' c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\strik\AppData\Local\Temp\arduino\sketches\D83DAA48CD58193970ED3B3742AB9272\libraries\PS4Controller\ps4_spp.c.o: in function sppInit':
g:\Documents\Arduino\libraries\PS4Controller\src/ps4_spp.c:56: undefined reference to esp_spp_register_callback' c:/users/strik/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: g:\Documents\Arduino\libraries\PS4Controller\src/ps4_spp.c:62: undefined reference to esp_spp_init'
collect2.exe: error: ld returned 1 exit status
exit status 1
