You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to compile the sketch for the ps3 controller to a esp32 but i always have the same errors.
I did not find any way to compile, also with older versions...
This is the errormessage i get:
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_config_ind_cback+0x0): undefined reference to L2CA_ConfigRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x4): undefined reference to L2CA_ErtmConnectRsp'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x8): undefined reference to L2CA_ConfigReq' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_init_service+0x14): undefined reference to L2CA_Register'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_send_hid+0x10): undefined reference to L2CA_DataWrite' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_config_ind_cback':
c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:263: undefined reference to L2CA_ConfigRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_connect_ind_cback':
c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:197: undefined reference to L2CA_ErtmConnectRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:200: undefined reference to L2CA_ErtmConnectRsp'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:203: undefined reference to L2CA_ConfigReq' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_init_service':
c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:152: undefined reference to L2CA_Register' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_send_hid':
c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:122: undefined reference to L2CA_DataWrite' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0x8): undefined reference to esp_bt_gap_set_scan_mode'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0xc): undefined reference to esp_spp_start_srv' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x14): undefined reference to esp_spp_register_callback'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x18): undefined reference to esp_spp_init' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_callback':
c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:145: undefined reference to esp_bt_gap_set_scan_mode' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:150: undefined reference to esp_spp_start_srv'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_init': c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:68: undefined reference to esp_spp_register_callback'
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:77: undefined reference to `esp_spp_init'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
Due to that i am quite new in programming i do not really understand whats wrong...
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Hello
I have been trying to compile the sketch for the ps3 controller to a esp32 but i always have the same errors.
I did not find any way to compile, also with older versions...
This is the errormessage i get:
c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_config_ind_cback+0x0): undefined reference to
L2CA_ConfigRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x4): undefined reference to
L2CA_ErtmConnectRsp'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x8): undefined reference to
L2CA_ConfigReq' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_init_service+0x14): undefined reference to
L2CA_Register'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_send_hid+0x10): undefined reference to
L2CA_DataWrite' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_config_ind_cback':c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:263: undefined reference to
L2CA_ConfigRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_connect_ind_cback':c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:197: undefined reference to
L2CA_ErtmConnectRsp' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:200: undefined reference to
L2CA_ErtmConnectRsp'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:203: undefined reference to
L2CA_ConfigReq' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_init_service':c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:152: undefined reference to
L2CA_Register' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_send_hid':c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:122: undefined reference to
L2CA_DataWrite' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0x8): undefined reference to
esp_bt_gap_set_scan_mode'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0xc): undefined reference to
esp_spp_start_srv' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x14): undefined reference to
esp_spp_register_callback'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x18): undefined reference to
esp_spp_init' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o: in function
ps3_spp_callback':c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:145: undefined reference to
esp_bt_gap_set_scan_mode' c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:150: undefined reference to
esp_spp_start_srv'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\heimdall\AppData\Local\Temp\arduino\sketches\F072B353037C46AF1828464146328B8D\libraries\PS3_Controller_Host\ps3_spp.c.o: in function
ps3_spp_init': c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:68: undefined reference to
esp_spp_register_callback'c:/users/heimdall/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: c:\Users\heimdall\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:77: undefined reference to `esp_spp_init'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
Due to that i am quite new in programming i do not really understand whats wrong...
Thank you for your help!
The text was updated successfully, but these errors were encountered: