Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code when trying to run the Ps3Demo example #69

Open
lp524 opened this issue Mar 20, 2024 · 0 comments
Open

Error code when trying to run the Ps3Demo example #69

lp524 opened this issue Mar 20, 2024 · 0 comments

Comments

@lp524
Copy link

lp524 commented Mar 20, 2024

Hello I am getting the following error when trying to run your Ps3Demo example.
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_config_ind_cback+0x0): undefined reference to L2CA_ConfigRsp' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x4): undefined reference to L2CA_ErtmConnectRsp'
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_connect_ind_cback+0x8): undefined reference to L2CA_ConfigReq' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_init_service+0x14): undefined reference to L2CA_Register'
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o:(.literal.ps3_l2cap_send_hid+0x10): undefined reference to L2CA_DataWrite' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_config_ind_cback':
c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:263: undefined reference to L2CA_ConfigRsp' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_connect_ind_cback':
c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:197: undefined reference to L2CA_ErtmConnectRsp' c:/users/lando/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\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:200: undefined reference to L2CA_ErtmConnectRsp'
c:/users/lando/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\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:203: undefined reference to L2CA_ConfigReq' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_init_service':
c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:152: undefined reference to L2CA_Register' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_send_hid':
c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:122: undefined reference to L2CA_DataWrite' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0x8): undefined reference to esp_bt_gap_set_scan_mode'
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_callback+0xc): undefined reference to esp_spp_start_srv' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x14): undefined reference to esp_spp_register_callback'
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o:(.literal.ps3_spp_init+0x18): undefined reference to esp_spp_init' c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_callback':
c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:145: undefined reference to esp_bt_gap_set_scan_mode' c:/users/lando/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\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:150: undefined reference to esp_spp_start_srv'
c:/users/lando/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\lando\AppData\Local\Temp\arduino\sketches\9A5DB8A604FFD0FB36B34B98DC6521F3\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_init': c:\Users\lando\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:68: undefined reference to esp_spp_register_callback'
c:/users/lando/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\lando\OneDrive\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

If you could help with this that would be great.
Thank you

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

No branches or pull requests

1 participant