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 think the problem is not due to the stlink because I can see it with lsusb and it worked for some times. Something is "broken" with libstlink.so I suppose.
I checked on the internet but could not find anything relevant to my problem.
If you have any idea of the cause of the problem, could you please tell me how to proceed?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Nightwalker-87
changed the title
[STM32 device name]: [undefined symbol: libusb_set_option]
STM32f103C8: undefined symbol: libusb_set_option
Jan 30, 2021
@dcmde: As far as I can see the given file path for the library is not correct.
This issue derives from a compilation error that has been fixed in #978.
I could not reproduce the st-info: symbol lookup error: /usr/lib/libstlink.so.1: undefined symbol: libusb_set_option
output with the same setup:
Instead I get the expected regular console output.
So as it appears this error is not generally reproducible and may be caused by unintended leftovers on the local build system.
A proper clean-up of the build routine can be achieved with sudo make uninstall && sudo make clean && hash -r.
I made serious effort to avoid creating duplicate or nearly similar issue
Programmer/board type: [Stlink v2-clone] (e.g Stlink /v1, /v2, /v2-clone, /v2-1)
Operating system and version: [Linux] (e.g Linux, Mac OS X, Windows)
Stlink tools version and/or git commit hash: [1.6.1-1] (e.g v1.1.0/git-c722056)
Stlink commandline tool name: [st-info] (e.g
st-info
,st-flash
,st-util
)Target chip (and board if applicable): [Stm32f103c8] (e.g STM32F402VG)
Commandline-Output:
Expected/description:
I installed the package on my Ubuntu 18.04,
Then I was able to use all commands st-info, st-flash, ...
But then I got this error all the time when running any command.
I think the problem is not due to the stlink because I can see it with
lsusb
and it worked for some times. Something is "broken" withlibstlink.so
I suppose.I checked on the internet but could not find anything relevant to my problem.
If you have any idea of the cause of the problem, could you please tell me how to proceed?
Thanks in advance.
The text was updated successfully, but these errors were encountered: