Git Product home page Git Product logo

gdb-7.7.1's People

Contributors

levi-armstrong avatar maxgittelman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gdb-7.7.1's Issues

Failure while making

In Ubuntu 14.04 with ROS Indigo installed:

Compilation failed with the following output. Any ideas?

[...]

Configuring in ./gdb
configure: loading cache ./config.cache
configure: error: MAKEINFO' has changed since the previous run: configure: former value:/home/larmstrong/gdb_source/gdb-7.7.1/missing makeinfo --split-size=5000000'
configure: current value: makeinfo --split-size=5000000' configure: error:YACC' has changed since the previous run:
configure: former value: /home/larmstrong/gdb_source/gdb-7.7.1/missing bison -y' configure: current value:/home/adrianohrl/gdb-7.7.1/missing bison -y'
configure: error: in /home/adrianohrl/gdb-7.7.1/gdb': configure: error: changes in the environment can compromise the build configure: error: runmake distclean' and/or rm ./config.cache' and start over make[1]: *** [configure-gdb] Error 1 make[1]: Leaving directory/home/adrianohrl/gdb-7.7.1'
make: *** [all] Error 2

Failure to make

Warnings are being returned in regards to missing dependencies and preventing successful makes:

  • makeinfo
  • No curses library functions found

You can install makeinfo by running:
sudo apt-get install texinfo
NOTE: that is not a typo, there is only one t in texinfo

You can install missing curses library functions by running:
sudo apt-get install libncurses5-dev libncursesw5-dev

You will then need to reclone the gdb-7.7.1, running ./configure again does not update the configuration to see that the missing packages are now installed. From here follow the remaining instructions in the README.

in pulp-riscv-gnu toolchain make error

checking for dlfcn.h... yes
checking for windows.h... no
checking for library containing dlopen... -ldl
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc option to accept ANSI C... none needed
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
checking whether g++ supports C++11 features with +std=c++11... no
checking whether g++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.
Makefile:10424: recipe for target 'configure-gdb' failed
make[2]: *** [configure-gdb] Error 1
make[2]: Leaving directory '/home/uie24011/Desktop/pulp/pulp-riscv-gnu-toolchain/build-binutils-newlib'
Makefile:849: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/uie24011/Desktop/pulp/pulp-riscv-gnu-toolchain/build-binutils-newlib'
Makefile:210: recipe for target 'stamps/build-binutils-newlib' failed
make: *** [stamps/build-binutils-newlib] Error 2

fail in making

Hello, I am using ubuntu 18.04 and ROS_melodic.
I met the problem while making the package.
I have done the flex and bison installation and followed the READEME file. At first, I met some warnings while typing

make

command:

if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./regex.c -o regex.o
./regex.c: In function ‘byte_regex_compile’:
./regex.c:154:47: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #      define bzero(s, n) (memset (s, '\0', n), (s))
                           ~~~~~~~~~~~~~~~~~~~~^~~~~~
./regex.c:3126:13: note: in expansion of macro ‘bzero’
             bzero (b, (1 << BYTEWIDTH) / BYTEWIDTH);
             ^~~~~
./regex.c: In function ‘byte_re_compile_fastmap’:
./regex.c:154:47: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #      define bzero(s, n) (memset (s, '\0', n), (s))
                           ~~~~~~~~~~~~~~~~~~~~^~~~~~
./regex.c:4584:3: note: in expansion of macro ‘bzero’
   bzero (fastmap, 1 << BYTEWIDTH);  /* Assume nothing's valid.  */
   ^~~~~
In file included from ./regex.c:640:0:
./regex.c: In function ‘byte_re_match_2_internal’:
./regex.c:6699:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
       is_a_jump_n = true;
./regex.c:6700:19: note: here
                   case pop_failure_jump:
                   ^~~~
./regex.c:7122:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if ((re_opcode_t) p[-1] != pop_failure_jump)
       ^
./regex.c:7137:9: note: here
         case pop_failure_jump:
         ^~~~
./regex.c:1778:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
   set_regs_matched_done = 0;      \
   ~~~~~~~~~~~~~~~~~~~~~~^~~
./regex.c:7149:13: note: in expansion of macro ‘POP_FAILURE_POINT’
             POP_FAILURE_POINT (sdummy, pdummy,
             ^~~~~~~~~~~~~~~~~
./regex.c:7155:2: note: here
  unconditional_jump:
  ^~~~~~~~~~~~~~~~~~
./regex.c:7455:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
                   is_a_jump_n = true;
./regex.c:7456:17: note: here
                 case maybe_pop_jump:
                 ^~~~
./regex.c: In function ‘byte_common_op_match_null_string_p’:
./regex.c:7720:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       p1 += 2 * OFFSET_ADDRESS_SIZE;
          ^
./regex.c:7722:5: note: here
     default:
     ^~~~~~~
./regex.c: In function ‘byte_regex_compile’:
./regex.c:2493:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
           if ((syntax & RE_BK_PLUS_QM)
              ^
./regex.c:2496:9: note: here
         handle_plus:
         ^~~~~~~~~~~
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./cplus-dem.c -o cplus-dem.o
./cplus-dem.c: In function ‘demangle_fund_type’:
./cplus-dem.c:3944:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if (!ISDIGIT ((unsigned char)**mangled))
          ^
./cplus-dem.c:3949:5: note: here
     case 'I':
     ^~~~
./cplus-dem.c: In function ‘demangle_signature’:
./cplus-dem.c:1602:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (AUTO_DEMANGLING || GNU_DEMANGLING)
       ^
./cplus-dem.c:1616:2: note: here
  default:
  ^~~~~~~
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./cp-demangle.c -o cp-demangle.o
./cp-demangle.c: In function ‘d_print_mod’:
./cp-demangle.c:5494:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       d_append_char (dpi, ' ');
       ^~~~~~~~~~~~~~~~~~~~~~~~
./cp-demangle.c:5495:5: note: here
     case DEMANGLE_COMPONENT_REFERENCE:
     ^~~~
./cp-demangle.c:5499:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       d_append_char (dpi, ' ');
       ^~~~~~~~~~~~~~~~~~~~~~~~
./cp-demangle.c:5500:5: note: here
     case DEMANGLE_COMPONENT_RVALUE_REFERENCE:
     ^~~~
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./md5.c -o pic/md5.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./md5.c -o md5.o
if [ x"" != x ]; then \

and

gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./hashtab.c -o hashtab.o
./hashtab.c: In function ‘iterative_hash’:
./hashtab.c:965:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 11: c+=((hashval_t)k[10]<<24);
              ~^~~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:966:5: note: here
     case 10: c+=((hashval_t)k[9]<<16);
     ^~~~
./hashtab.c:966:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 10: c+=((hashval_t)k[9]<<16);
              ~^~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:967:5: note: here
     case 9 : c+=((hashval_t)k[8]<<8);
     ^~~~
./hashtab.c:967:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 9 : c+=((hashval_t)k[8]<<8);
              ~^~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:969:5: note: here
     case 8 : b+=((hashval_t)k[7]<<24);
     ^~~~
./hashtab.c:969:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 8 : b+=((hashval_t)k[7]<<24);
              ~^~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:970:5: note: here
     case 7 : b+=((hashval_t)k[6]<<16);
     ^~~~
./hashtab.c:970:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 7 : b+=((hashval_t)k[6]<<16);
              ~^~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:971:5: note: here
     case 6 : b+=((hashval_t)k[5]<<8);
     ^~~~
./hashtab.c:971:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 6 : b+=((hashval_t)k[5]<<8);
              ~^~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:972:5: note: here
     case 5 : b+=k[4];
     ^~~~
./hashtab.c:972:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 5 : b+=k[4];
              ~^~~~~~
./hashtab.c:973:5: note: here
     case 4 : a+=((hashval_t)k[3]<<24);
     ^~~~
./hashtab.c:973:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 4 : a+=((hashval_t)k[3]<<24);
              ~^~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:974:5: note: here
     case 3 : a+=((hashval_t)k[2]<<16);
     ^~~~
./hashtab.c:974:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 3 : a+=((hashval_t)k[2]<<16);
              ~^~~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:975:5: note: here
     case 2 : a+=((hashval_t)k[1]<<8);
     ^~~~
./hashtab.c:975:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 2 : a+=((hashval_t)k[1]<<8);
              ~^~~~~~~~~~~~~~~~~~~~~~
./hashtab.c:976:5: note: here
     case 1 : a+=k[0];
     ^~~~
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ./hex.c -o pic/hex.o; \

Then my errors shown below:

coffgen.c: In function ‘coff_print_symbol’:
coffgen.c:2103:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
     if (combined->u.syment.n_type == T_NULL)
        ^
coffgen.c:2120:3: note: here
   case C_EXT:
   ^~~~
coffgen.c:2122:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
     if (ISFCN (combined->u.syment.n_type))
        ^
coffgen.c:2140:3: note: here
   default:
   ^~~~~~~
cc1: all warnings being treated as errors
Makefile:1618: recipe for target 'coffgen.lo' failed
make[4]: *** [coffgen.lo] Error 1
make[4]: Leaving directory '/home/shen/QtCreator/gdb-7.7.1/bfd'
Makefile:1660: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/shen/QtCreator/gdb-7.7.1/bfd'
Makefile:1142: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/shen/QtCreator/gdb-7.7.1/bfd'
Makefile:2599: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/home/shen/QtCreator/gdb-7.7.1'
Makefile:832: recipe for target 'all' failed
make: *** [all] Error 2

What could I do to figure it out?

Bionic Release 404 Not Found [IP: 91.189.95.83 80]

I am trying to install some PPAs for an OpenPTrack project and after typing

sudo add-apt-repository -y ppa:levi-armstrong/ppa

I get this oputput:

. . . Err:14 http://ppa.launchpad.net/levi-armstrong/ppa/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] . . . E: The repository 'http://ppa.launchpad.net/levi-armstrong/ppa/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

I don't know how to solve this issue and I am quite new with Linux OS, could someone help me please?

Failed to compile

In Ubuntu 14.04 with ROS Indigo installed:

Compilation failed with the following output. Any ideas?.

make[2]: Entering directory `/local/users/racuna/src/qt_ros_plugin/gdb-7.7.1/gdb'
CONFIG_HEADERS=config.h:config.in \
      CONFIG_COMMANDS="default depdir" \
      CONFIG_FILES= \
      CONFIG_LINKS= \
      /bin/bash config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
config.status: executing depdir commands
./observer.sh h ./doc/observer.texi observer.h
Creating observer.htmp
Moving observer.htmp to observer.h
./observer.sh inc ./doc/observer.texi observer.inc
Creating observer.itmp
Moving observer.itmp to observer.inc
if [ "/local/users/racuna/src/qt_ros_plugin/gdb-7.7.1/missing flex" ] && /local/users/racuna/src/qt_ros_plugin/gdb-7.7.1/missing flex --version >/dev/null 2>&1; then \
        /local/users/racuna/src/qt_ros_plugin/gdb-7.7.1/missing flex -oada-lex.c ada-lex.l && \
        rm -f ada-lex.c.new && \
        sed -e '/extern.*malloc/d' \
            -e '/extern.*realloc/d' \
            -e '/extern.*free/d' \
            -e '/include.*malloc.h/d' \
            -e 's/\([^x]\)malloc/\1xmalloc/g' \
            -e 's/\([^x]\)realloc/\1xrealloc/g' \
            -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
            -e 's/\([ \t;,(]\)free$/\1xfree/g' \
        -e 's/yy_flex_xrealloc/yyxrealloc/g' \
          < ada-lex.c > ada-lex.c.new && \
        rm -f ada-lex.c && \
        mv ada-lex.c.new ada-lex.c; \
    elif [ -f ada-lex.c ]; then \
        echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
    else \
        echo "ada-lex.c missing and flex not available."; \
        false; \
    fi
ada-lex.c missing and flex not available.
make[2]: *** [ada-lex.c] Error 1
make[2]: Leaving directory `/local/users/racuna/src/qt_ros_plugin/gdb-7.7.1/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/local/users/racuna/src/qt_ros_plugin/gdb-7.7.1'
make: *** [all] Error 2

I also failed compiling for gdb on Ubuntu 16.04

I also failed compiling for gdb on Ubuntu 16.04.

How can I solve this Error? I'm also installed flex and bison before I compiled it.

checking for catalogs to be installed...
checking whether /home/keti/gdb-7.7.1/missing makeinfo --split-size=5000000 supports @click... no
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... mawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for bison... bison -y
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-dlltool... dlltool
checking for x86_64-unknown-linux-gnu-windres... windres
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
Makefile:8582: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory '/home/keti/gdb-7.7.1'
Makefile:832: recipe for target 'all' failed
make: *** [all] Error 2

Nothing to be done during compile

In Ubuntu 16.04 with ROS Kinetic installed:
Compilation failed with "Nothing to be done for XXX" error in the following output. Any ideas?

make[5]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver'
make[6]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver'
make[7]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver'
make[8]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make all-recursive
make[9]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Nothing to be done for 'all-am'.
make[10]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make[9]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make[8]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver/import'
make[7]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver/build-gnulib-gdbserver'
make[5]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver'
make[4]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/gdbserver'
make[4]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/data-directory'
rm -rf ./syscalls
mkdir ./syscalls
files='gdb-syscalls.dtd arm-linux.xml ppc-linux.xml ppc64-linux.xml i386-linux.xml amd64-linux.xml sparc-linux.xml sparc64-linux.xml mips-o32-linux.xml mips-n32-linux.xml mips-n64-linux.xml' ;
for file in $files ; do
f=./../syscalls/$file ;
if test -f $f ; then
/usr/bin/install -c -m 644 $f ./syscalls ;
fi ;
done
touch stamp-syscalls
rm -rf ./python
files='gdb/init.py gdb/frames.py gdb/FrameIterator.py gdb/FrameDecorator.py gdb/types.py gdb/printing.py gdb/prompt.py gdb/command/bound_registers.py gdb/command/init.py gdb/command/frame_filters.py gdb/command/type_printers.py gdb/command/pretty_printers.py gdb/command/prompt.py gdb/command/explore.py gdb/function/init.py gdb/function/strfns.py' ;
for file in $files ; do
dir=echo "$file" | sed 's,/[^/]*$,,' ;
/bin/bash ./../../mkinstalldirs ./python/$dir ;
/usr/bin/install -c -m 644 ./../python/lib/$file ./python/$dir ;
done
mkdir -p -- ./python/gdb
mkdir -p -- ./python/gdb/command
mkdir -p -- ./python/gdb/function
touch stamp-python
rm -rf ./system-gdbinit
mkdir ./system-gdbinit
files='elinos.py wrs-linux.py' ;
for file in $files ; do
f=./../system-gdbinit/$file ;
if test -f $f ; then
/usr/bin/install -c -m 644 $f ./system-gdbinit ;
fi ;
done
touch stamp-system-gdbinit
make[4]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/data-directory'
make[4]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib'
make[5]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib'
make[6]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make all-recursive
make[7]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make[8]: Entering directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make[8]: Nothing to be done for 'all-am'.
make[8]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make[7]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make[6]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib/import'
make[5]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib'
make[4]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb/build-gnulib'
make[3]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb'
make[2]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1/gdb'
make[1]: Nothing to be done for 'all-target'.
make[1]: Leaving directory '/home/ubuxenial/gdb/gdb-7.7.1'

Fail to install: Error in coffgen.c

Hello,
I installed successfully ROS Qt Creator Plug-in according their instruction (Ubuntu 18.04 ROS Melodic https://ros-qtc-plugin.readthedocs.io/en/latest/_source/How-to-Install-Users.html). Also the setup according their instruction work fine besides the installation of this repository:

  1. I clone the repository, then follow the read-me
  2. execute $ ./configure
  3. make

then I get following error:

coffgen.c: In function ‘coff_print_symbol’:
coffgen.c:2103:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (combined->u.syment.n_type == T_NULL)
^
coffgen.c:2120:3: note: here
case C_EXT:
^~~~
coffgen.c:2122:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (ISFCN (combined->u.syment.n_type))
^
coffgen.c:2140:3: note: here
default:
^~~~~~~
cc1: all warnings being treated as errors
Makefile:1618: recipe for target 'coffgen.lo' failed
make[4]: *** [coffgen.lo] Error 1
make[4]: Leaving directory '/home/max/gdb-7.7.1/bfd'
Makefile:1660: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/max/gdb-7.7.1/bfd'
Makefile:1142: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/max/gdb-7.7.1/bfd'
Makefile:2599: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/home/max/gdb-7.7.1'
Makefile:832: recipe for target 'all' failed
make: *** [all] Error 2

What does this mean? How can I fix it? I did not find any information about it online. Flex and bison is installed. I would be very happy for any help about this!

Thanks in advance!

Max

Errors while executing sudo make

If I execute the "sudo make" statement I get a fallthrough error in the coffgen.c-file. Maybe because there aren't some breaks in a switch or something else. Anyone had that problem, too?

Here the error-message:
"coffgen.c: In function ‘coff_print_symbol’:
coffgen.c:2103:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
2103 | if (combined->u.syment.n_type == T_NULL)
| ^
coffgen.c:2120:3: note: here
2120 | case C_EXT:
| ^~~~
coffgen.c:2122:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
2122 | if (ISFCN (combined->u.syment.n_type))
| ^
coffgen.c:2140:3: note: here
2140 | default:
| ^~~~~~~
cc1: all warnings being treated as errors"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.