This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug compile/20106] New: compilation error in linux-nat.c due to missing declaration
- From: "hong.gyu.kim at lge dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 17 May 2016 03:01:01 +0000
- Subject: [Bug compile/20106] New: compilation error in linux-nat.c due to missing declaration
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20106
Bug ID: 20106
Summary: compilation error in linux-nat.c due to missing
declaration
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: compile
Assignee: unassigned at sourceware dot org
Reporter: hong.gyu.kim at lge dot com
Target Milestone: ---
Hi all,
I would like to use gdb on master branch so just git cloned and compiled. But
I have compilation error on master branch. I just simply run the below
compilation sequences.
$ ./configure
$ make
...
g++ -g -O2 -I. -I. -I./common -I./config
-DLOCALEDIR="\"/home/honggyu/usr/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-gnulib/import -DTUI=1 -I/usr/include/python2.7
-I/usr/include/python2.7 -Wall -Wpointer-arith -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body
-Wno-sign-compare -Wno-write-strings -Wno-narrowing -Wformat-nonliteral -Werror
-c -o linux-nat.o -MT linux-nat.o -MMD -MP -MF .deps/linux-nat.Tpo linux-nat.c
In file included from ../bfd/elf-bfd.h:28:0,
from linux-nat.c:43:
./../include/bfdlink.h:485:8: error: use of enum
âcompressed_debug_section_typeâ without previous declaration
enum compressed_debug_section_type compress_debug;
^
make: *** [linux-nat.o] Error 1
Can anyone please give me some ideas if I made a mistake while compiling?
I appreciate anyone's comments.
Thanks,
Honggyu
--
You are receiving this mail because:
You are on the CC list for the bug.