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

fix libphidget22 build on riscv64 #166

Open
wants to merge 1 commit into
base: humble
Choose a base branch
from

Conversation

sihuan
Copy link

@sihuan sihuan commented Jul 11, 2023

The config.guess in the lib is too old to recognise the riscv64 architecture and I get the following error:

[  636s] information to handle your system.
[  636s] 
[  636s] config.guess timestamp = 2013-06-10
[  636s] 
[  636s] uname -m = riscv64
[  636s] uname -r = 5.10.0-153.1.0.80.oe2203.riscv64
[  636s] uname -s = Linux
[  636s] uname -v = #1 SMP Mon Mar 23 19:10:41 UTC 2020
[  636s] 
[  636s] /usr/bin/uname -p = riscv64
[  636s] /bin/uname -X     = 
[  636s] 
[  636s] hostinfo               = 
[  636s] /bin/universe          = 
[  636s] /usr/bin/arch -k       = 
[  636s] /bin/arch              = riscv64
[  636s] /usr/bin/oslevel       = 
[  636s] /usr/convex/getsysinfo = 
[  636s] 
[  636s] UNAME_MACHINE = riscv64
[  636s] UNAME_RELEASE = 5.10.0-153.1.0.80.oe2203.riscv64
[  636s] UNAME_SYSTEM  = Linux
[  636s] UNAME_VERSION = #1 SMP Mon Mar 23 19:10:41 UTC 2020
[  636s] configure: error: cannot guess build type; you must specify one

This patch can update config.guess and config.sub and build successfully on riscv64 machines.

update config.guess and config.sub
@mintar mintar added the ros2 label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants