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

Cannot built on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. #130

Open
sebma opened this issue Jun 20, 2023 · 0 comments

Comments

@sebma
Copy link

sebma commented Jun 20, 2023

Hi,
I'm trying to build hwinfo on macOS :

$ system_profiler SPSoftwareDataType | grep Version
      System Version: macOS 12.6.6 (21G646)
      Kernel Version: Darwin 21.6.0
$ git clone https://github.com/openSUSE/hwinfo
Cloning into 'hwinfo'...
remote: Enumerating objects: 14729, done.
remote: Counting objects: 100% (151/151), done.
remote: Compressing objects: 100% (73/73), done.
remote: Total 14729 (delta 85), reused 135 (delta 78), pack-reused 14578
Receiving objects: 100% (14729/14729), 11.26 MiB | 3.32 MiB/s, done.
Resolving deltas: 100% (8706/8706), done.
$ cd hwinfo
$ gmake -v
GNU Make 4.4
Built for x86_64-apple-darwin21.6.0
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ gmake
clang: warning: argument unused during compilation: '-Lsrc' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-Lsrc' [-Wunused-command-line-argument]
make[2]: *** No rule to make target `byteswap.h', needed by `bios.o'.  Stop.
make[1]: *** [subdirs] Error 2
gmake: *** [Makefile.common:52: subdirs] Error 2
@sebma sebma changed the title Build on macOS : No rule to make target byteswap.h', needed by bios.o'. Stop. Build on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. Jun 20, 2023
@sebma sebma changed the title Build on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. Help build on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. Jun 20, 2023
@sebma sebma changed the title Help build on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. Cannot built on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop. Jun 20, 2023
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