Open phodina opened 3 years ago
Hi,
I'm attempting to build the hwinfo on Guix and I run into problem of not having the correct path to libhd.a.
hwinfo
libhd.a
... starting phase `build' gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -I/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd -Lsrc hwinfo.c make: *** No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/libhd.a', needed by 'hwinfo'. Stop. make: *** Waiting for unfinished jobs.... make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src' make[2]: Entering directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd' gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -I/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../../src/hd -Lsrc bios.c ... make[2]: Leaving directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/ids' gcc -shared -O2 -Wall -Wno-pointer-sign -pipe -g -I/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC -I../src/hd -Lsrc -Wl,--whole-archive ../src/libhd.a -Wl,--no-whole-archive \ -Wl,-soname=libhd.so.21 \ -o ../src/libhd.so.21.75 -luuid -lx86emu ln -snf libhd.so.21.75 libhd.so.21 ln -snf libhd.so.21 libhd.so make[1]: Leaving directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src' command "make" "-j" "16" "DESTDIR=/gnu/store/68lynd13flfqzk2jxyybnpvvb10lpspz-hwinfo-21.75" "CC=gcc" "HWINFO_VERSION=21.75" failed with status 2
Yet when I check the directory the files are there.
$ ls /tmp/guix-build-hwinfo-21.75.drv-5/source/src/ hd/ ids/ isdn/ libhd.a libhd.so libhd.so.21 libhd.so.21.75 Makefile smp/
Could you help me? I'm not that familiar with multiple levels of Makefiles.
Hi,
I'm attempting to build the
hwinfo
on Guix and I run into problem of not having the correct path tolibhd.a
.Yet when I check the directory the files are there.
Could you help me? I'm not that familiar with multiple levels of Makefiles.