When I was trying to set up PrizmSDK on my Laptop (Ubuntu 22.04.1), when trying to build binutils 2.22 running "make" I get the following error:


Code:
../../binutils/./bfd/coffgen.c: In function ‘coff_print_symbol’:
../../binutils/./bfd/coffgen.c:1996:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
 1996 |                   if (combined->u.syment.n_type == T_NULL)
      |                      ^
../../binutils/./bfd/coffgen.c:2013:17: note: here
 2013 |                 case C_EXT:
      |                 ^~~~
../../binutils/./bfd/coffgen.c:2015:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
 2015 |                   if (ISFCN (combined->u.syment.n_type))
      |                      ^
../../binutils/./bfd/coffgen.c:2033:17: note: here
 2033 |                 default:
      |                 ^~~~~~~

make[4]: *** [Makefile:1537: coffgen.lo] Error 1
make[4]: Leaving directory '/usr/src/build-binutils/bfd'
make[3]: *** [Makefile:1579: install-recursive] Error 1
make[3]: Leaving directory '/usr/src/build-binutils/bfd'
make[2]: *** [Makefile:1716: install] Error 2
make[2]: Leaving directory '/usr/src/build-binutils/bfd'
make[1]: *** [Makefile:2573: install-bfd] Error 2
make[1]: Leaving directory '/usr/src/build-binutils'
make: *** [Makefile:2076: install] Error 2


Any ideas on how to solve this?
Not enough context: you haven't included the actual error message.
Tari wrote:
Not enough context: you haven't included the actual error message.


Forgot about that, I fixed the post
I predict this will be fixed by simply using a newer version of binutils: 2.22 is more than 10 years old.
May I ask how you solved this issue?

Mateo.hex wrote:
When I was trying to set up PrizmSDK on my Laptop (Ubuntu 22.04.1), when trying to build binutils 2.22 running "make" I get the following error:


Code:
../../binutils/./bfd/coffgen.c: In function ‘coff_print_symbol’:
../../binutils/./bfd/coffgen.c:1996:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
 1996 |                   if (combined->u.syment.n_type == T_NULL)
      |                      ^
../../binutils/./bfd/coffgen.c:2013:17: note: here
 2013 |                 case C_EXT:
      |                 ^~~~
../../binutils/./bfd/coffgen.c:2015:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
 2015 |                   if (ISFCN (combined->u.syment.n_type))
      |                      ^
../../binutils/./bfd/coffgen.c:2033:17: note: here
 2033 |                 default:
      |                 ^~~~~~~

make[4]: *** [Makefile:1537: coffgen.lo] Error 1
make[4]: Leaving directory '/usr/src/build-binutils/bfd'
make[3]: *** [Makefile:1579: install-recursive] Error 1
make[3]: Leaving directory '/usr/src/build-binutils/bfd'
make[2]: *** [Makefile:1716: install] Error 2
make[2]: Leaving directory '/usr/src/build-binutils/bfd'
make[1]: *** [Makefile:2573: install-bfd] Error 2
make[1]: Leaving directory '/usr/src/build-binutils'
make: *** [Makefile:2076: install] Error 2


Any ideas on how to solve this?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement