Comments (4)
@wfeldt Please look
from hwinfo.
It's a bit hard, 'modern' C features just creep in.
What's wrong with an explicit -std=gnu99
? I've seen no issues when I tried it.
from hwinfo.
It's:
+ cd hwinfo-21.80
+ make 'LDFLAGS=-Wl,-z,relro -Lsrc' CFLAGS=-std=gnu99 LIBDIR=/usr/lib64 HWINFO_VERSION=21.80
make[1]: Entering directory `/builddir/build/BUILD/hwinfo-21.80/src'
make[2]: Entering directory `/builddir/build/BUILD/hwinfo-21.80/src/hd'
make[2]: Leaving directory `/builddir/build/BUILD/hwinfo-21.80/src/hd'
make[2]: Entering directory `/builddir/build/BUILD/hwinfo-21.80/src/hd'
cc -c -std=gnu99 -Wl,-z,relro -Lsrc bios.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc block.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc braille.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc cpu.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc drm.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc dvd.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc edd.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc fb.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc floppy.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc hal.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc hd.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc hddb.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc hdp.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc input.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc int.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc isa.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc isapnp.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc isdn.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc kbd.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc klog.c
cc -c -std=gnu99 -Wl,-z,relro -Lsrc manual.c
manual.c:24:27: fatal error: hwclass_names.h: No such file or directory
#include <hwclass_names.h>
^
compilation terminated.
make[2]: *** [manual.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/hwinfo-21.80/src/hd'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/hwinfo-21.80/src'
make: *** [subdirs] Error 2
See https://koji.fedoraproject.org/koji/taskinfo?taskID=85439747
from hwinfo.
Let's forget about this. This is not critical. We have CentOS 8 and CentOS 9 already, where I have successfully upgraded hwinfo to 21.80. Let's leave 21.68 in CenOS 7 - not tried higher versions.
from hwinfo.
Related Issues (20)
- Add loongarch architecture support HOT 5
- No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/libhd.a'
- Some questions about cross compiling hwinfo HOT 2
- Can we optimize the compilation time of hwinfo? HOT 3
- error: hwinfo: signature from "Alexander F. Rødseth <[email protected]>" is marginal trust HOT 1
- Hang on hd_list, hw_disk
- Does this tool behave different if used with root
- Serial ID for drives attached by USB adapter HOT 1
- Request to provide serial number for any subcategory requested.
- Doesn't show the second port
- Cannot built on macOS : No rule to make target 'byteswap.h', needed by 'bios.o'. Stop.
- wrong git repo in hwinfo(8)
- hwinfo takes loooong to execute if a serial device is present
- incorrect specifier in format string
- Thank you!
- The CPU info is output twice in hwinfo 21.72
- Cross compilation to aarch64
- Will Hwinfo support the readout of 30 series memory junction temp?
- Hwinfo 21.7 issue
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 hwinfo.