我要用QEMU调试内核到GDB。
我在GDB上命令了“make&&sudo make install”,但出现了错误。
错误消息:

make[1]: Leaving directory '/home/ubuntu/work/Kernel/linux-kernel/qemu/binutils-gdb/gdb'
g++ -std=gnu++11 -g -02 -I. -I. -I./common -I./config -DLOCALEDIR=""/usr/local/share/locale"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gunlib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-write-strings -Wno-narrowing -Wformat-nonliteral -c -o dfp.o -MT dfp.o -MMD -MP -MF .deps/dfp.Tpo dfp.c
In file included from ../libdecnumber/decNumber.h:37:0,
                 from ../libdecnumber/dpd/decimal128.h:58,
                 from dfp.c:29:
../libdecnumber/decContext.h:54:61: fatal error: gstdint.h: No such file or directory
compilation terminated.
Makefile:1872: recipe for target 'dfp.o' failed
make: *** [dfp.o] Error 1enter code here

我该怎么办?求你了,帮帮我。
谢谢您。

最佳答案

在构建gdb之前,您需要在configure中运行libdecnumber

关于linux - 严重错误:gstdint.h:没有此类文件或目录,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/42188392/

10-15 03:08