Re: Fail to build tools/all
On Mon, May 02, 2016 at 12:20:08PM +0200, Thomas Renninger wrote: > On Sunday, May 01, 2016 01:11:33 PM Sean Fu wrote: > > Hi guys: > > I encountered a build error when running "make V=1 tools/all". > > Shall we write a patch to fix it? > > This is not a bug. > > > The following is error log. > > > > start == > > commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf > > Merge: cf78031 db5dd0d > > Author: Linus Torvalds> > Date: Fri Apr 1 20:03:33 2016 -0500 > > = end = > > > > == start === > > mkdir -p > > /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower > > && make O=/home/sean/work/source/upstream/kernel.linus/linux > > subdir=tools/power/cpupower --no-print-directory -C power/cpupower > > gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" > > -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe > > -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare > > -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG > > -I./lib -I ./utils -o > > /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o > > -c utils/helpers/amd.c > > utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or > > directory > > #include > > You need pciutils header and library: > ftp://ftp.kernel.org/pub/software/utils/pciutils > > Thomas Thanks
Re: Fail to build tools/all
On Mon, May 02, 2016 at 12:20:08PM +0200, Thomas Renninger wrote: > On Sunday, May 01, 2016 01:11:33 PM Sean Fu wrote: > > Hi guys: > > I encountered a build error when running "make V=1 tools/all". > > Shall we write a patch to fix it? > > This is not a bug. > > > The following is error log. > > > > start == > > commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf > > Merge: cf78031 db5dd0d > > Author: Linus Torvalds > > Date: Fri Apr 1 20:03:33 2016 -0500 > > = end = > > > > == start === > > mkdir -p > > /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower > > && make O=/home/sean/work/source/upstream/kernel.linus/linux > > subdir=tools/power/cpupower --no-print-directory -C power/cpupower > > gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" > > -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe > > -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare > > -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG > > -I./lib -I ./utils -o > > /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o > > -c utils/helpers/amd.c > > utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or > > directory > > #include > > You need pciutils header and library: > ftp://ftp.kernel.org/pub/software/utils/pciutils > > Thomas Thanks
Re: Fail to build tools/all
On Sunday, May 01, 2016 01:11:33 PM Sean Fu wrote: > Hi guys: > I encountered a build error when running "make V=1 tools/all". > Shall we write a patch to fix it? This is not a bug. > The following is error log. > > start == > commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf > Merge: cf78031 db5dd0d > Author: Linus Torvalds> Date: Fri Apr 1 20:03:33 2016 -0500 > = end = > > == start === > mkdir -p > /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower > && make O=/home/sean/work/source/upstream/kernel.linus/linux > subdir=tools/power/cpupower --no-print-directory -C power/cpupower > gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" > -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe > -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare > -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG > -I./lib -I ./utils -o > /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o > -c utils/helpers/amd.c > utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or > directory > #include You need pciutils header and library: ftp://ftp.kernel.org/pub/software/utils/pciutils Thomas
Re: Fail to build tools/all
On Sunday, May 01, 2016 01:11:33 PM Sean Fu wrote: > Hi guys: > I encountered a build error when running "make V=1 tools/all". > Shall we write a patch to fix it? This is not a bug. > The following is error log. > > start == > commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf > Merge: cf78031 db5dd0d > Author: Linus Torvalds > Date: Fri Apr 1 20:03:33 2016 -0500 > = end = > > == start === > mkdir -p > /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower > && make O=/home/sean/work/source/upstream/kernel.linus/linux > subdir=tools/power/cpupower --no-print-directory -C power/cpupower > gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" > -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe > -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare > -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG > -I./lib -I ./utils -o > /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o > -c utils/helpers/amd.c > utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or > directory > #include You need pciutils header and library: ftp://ftp.kernel.org/pub/software/utils/pciutils Thomas
Fail to build tools/all
Hi guys: I encountered a build error when running "make V=1 tools/all". Shall we write a patch to fix it? The following is error log. start == commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf Merge: cf78031 db5dd0d Author: Linus TorvaldsDate: Fri Apr 1 20:03:33 2016 -0500 = end = == start === mkdir -p /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower && make O=/home/sean/work/source/upstream/kernel.linus/linux subdir=tools/power/cpupower --no-print-directory -C power/cpupower gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG -I./lib -I ./utils -o /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o -c utils/helpers/amd.c utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory #include ^ compilation terminated. Makefile:218: recipe for target '/home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o' failed make[2]: *** [/home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o] Error 1 Makefile:56: recipe for target 'cpupower' failed make[1]: *** [cpupower] Error 2 Makefile:1548: recipe for target 'tools/all' failed make: *** [tools/all] Error 2 === end == BestRegards Sean
Fail to build tools/all
Hi guys: I encountered a build error when running "make V=1 tools/all". Shall we write a patch to fix it? The following is error log. start == commit 05cf8077e54b20dddb756eaa26f3aeb5c38dd3cf Merge: cf78031 db5dd0d Author: Linus Torvalds Date: Fri Apr 1 20:03:33 2016 -0500 = end = == start === mkdir -p /home/sean/work/source/upstream/kernel.linus/linux/tools/power/cpupower && make O=/home/sean/work/source/upstream/kernel.linus/linux subdir=tools/power/cpupower --no-print-directory -C power/cpupower gcc -DVERSION=\"4.6.rc1.190.g05cf80\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux...@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -O1 -g -DDEBUG -I./lib -I ./utils -o /home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o -c utils/helpers/amd.c utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory #include ^ compilation terminated. Makefile:218: recipe for target '/home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o' failed make[2]: *** [/home/sean/work/source/upstream/kernel.linus/linux/utils/helpers/amd.o] Error 1 Makefile:56: recipe for target 'cpupower' failed make[1]: *** [cpupower] Error 2 Makefile:1548: recipe for target 'tools/all' failed make: *** [tools/all] Error 2 === end == BestRegards Sean