hong.gyu.kim at lge dot com
2016-05-17 03:01:01 UTC
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
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.
You are receiving this mail because:
You are on the CC list for the bug.