Comments (5)
These errors do not occur when compiling the original branch (https://github.com/openocd-org/openocd).
from openocd.
Oh, and the error codes ERROR_SUCCESS
, E_FAIL
, ERROR_TIMEOUT
, ERROR_BAD_ARGUMENTS
and ERROR_INSUFFICIENT_BUFFER
are undefined, too.
from openocd.
Moreover:
The linker can not find stricmp
on linux.
stricmp
is Windows-specific. Use strcasecmp
for linux instead.
from openocd.
I think the main issue comes from the fact, that you never built on Linux or other platforms than Windows. Maybe you can try building the software on a different platform and fix the issues?
Thanks!
from openocd.
I created a pull request where I pushed the changes that I made to your code. With these changes the project builds on Linux and macOS. This should help to see where changes are necessary, however, these changes are more or less "hacks". Most of the changes should not make it into a release.
For instance, I removed the following flash definitions, since the linker had problems finding them:
Undefined symbols for architecture x86_64:
"_aducm302x_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_aducm4x50_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_msp432p4_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_pic32mm_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_plugin_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_rs14100_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_stm32g0x_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_stm32g4x_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
"_stm32l5x_flash", referenced from:
_flash_drivers in libopenocd.a(drivers.o)
Maybe you have a better idea how to define these symbols in order that the linker finds them.
from openocd.
Related Issues (10)
- building issue
- Error using interface picoprobe and target nrf52
- Add support for PEMicro debug probes HOT 2
- Error connecting DP: cannot read IDR HOT 1
- Will not build with gcc 11.2.0
- Pin mux and QSPI set up should be done in reset-init, not reset-end HOT 3
- Is there any to build this project under Ubuntu? HOT 4
- error testing debugger and debugging: couldn't bind tcl to socket on port 6666: No error
- Trying to generate a DLL Target instead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openocd.