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

Unable to build openocd #96

Open
maaakit opened this issue Feb 11, 2024 · 1 comment
Open

Unable to build openocd #96

maaakit opened this issue Feb 11, 2024 · 1 comment

Comments

@maaakit
Copy link

maaakit commented Feb 11, 2024

I'm trying to build openocd on fresh repository clone. Bootstrap script fails as follows:

marcin@marcin-VirtualBox:~/pico$ sudo apt install make libtool pkg-config autoconf automake texinfo 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
make is already the newest version (4.3-4.1build1).
libtool is already the newest version (2.4.7-7).
pkg-config is already the newest version (1.8.1-2).
autoconf is already the newest version (2.71-3).
automake is already the newest version (1:1.16.5-1.3).
texinfo is already the newest version (7.0.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
marcin@marcin-VirtualBox:~/pico$ git clone https://github.com/raspberrypi/openocd.git --branch picoprobe --depth=1 --no-single-branch
Cloning into 'openocd'...
remote: Enumerating objects: 6009, done.
remote: Counting objects: 100% (6009/6009), done.
remote: Compressing objects: 100% (2891/2891), done.
remote: Total 6009 (delta 3988), reused 4606 (delta 3049), pack-reused 0
Receiving objects: 100% (6009/6009), 5.41 MiB | 13.58 MiB/s, done.
Resolving deltas: 100% (3988/3988), done.
marcin@marcin-VirtualBox:~/pico$ cd openocd
marcin@marcin-VirtualBox:~/pico/openocd$ ./bootstrap 
bash: ./bootstrap: cannot execute: required file not found
@lurch
Copy link

lurch commented Feb 11, 2024

Your usage of --branch picoprobe indicates that you must be following very out-of-date instructions? You might want to try the instructions in the latest version of https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf (latest version of that PDF currently says build-date: 2024-02-02 on page 1).

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

2 participants