Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

PS4-esp32 has too many undefined Reference with Xiao ESP32-C3 Micro Controller #52

Open
ShinRasetsu opened this issue Mar 8, 2023 · 2 comments

Comments

@ShinRasetsu
Copy link

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

Compilation error: exit status 1
Screenshot 2023-03-08 125804

@ShinRasetsu ShinRasetsu changed the title PS4-esp32 has too many undefined Reference PS4-esp32 has too many undefined Reference using Xiao ESP32-C3 Mar 8, 2023
@ShinRasetsu ShinRasetsu changed the title PS4-esp32 has too many undefined Reference using Xiao ESP32-C3 PS4-esp32 has too many undefined Reference with Xiao ESP32-C3 Micro Controller Mar 8, 2023
@SaleJuice
Copy link

Same problem to me!

@ShinRasetsu
Copy link
Author

guys, please help me to make it to work with Xiao ESP32-C3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants