Discussion:
[Bug compile/20106] New: compilation error in linux-nat.c due to missing declaration
hong.gyu.kim at lge dot com
2016-05-17 03:01:01 UTC
Permalink
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.
hong.gyu.kim at lge dot com
2016-05-17 03:02:44 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

Honggyu Kim <hong.gyu.kim at lge dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64
CC| |hong.gyu.kim at lge dot com
Host| |x86_64
Build| |ubuntu 14.04
--
You are receiving this mail because:
You are on the CC list for the bug.
keiths at redhat dot com
2016-05-17 17:33:11 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

Keith Seitz <keiths at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |keiths at redhat dot com
Component|compile |build

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
Reclassifying to build/.

PS. Questions like this are best left to the mailing list or #gdb on freenode.
--
You are receiving this mail because:
You are on the CC list for the bug.
hong.gyu.kim at lge dot com
2016-05-18 00:02:03 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

--- Comment #2 from Honggyu Kim <hong.gyu.kim at lge dot com> ---
(In reply to Keith Seitz from comment #1)
Post by keiths at redhat dot com
Reclassifying to build/.
PS. Questions like this are best left to the mailing list or #gdb on
freenode.
Thanks for your comment.
I thought that this kind of build error has to be fixed so that no one sees the
same error in the future. If I made a mistake on the build sequence, can you
please correct me?

Honggyu
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-04-19 15:27:24 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-04-19
CC| |tromey at sourceware dot org
Ever confirmed|0 |1

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Is this still a problem?

I imagine the bug might have been configuring in the srcdir.
This isn't really supported in gdb.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-08-07 18:37:02 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=20106

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
No response.
If you're still having a problem, please reopen, thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...