nbfc icon indicating copy to clipboard operation
nbfc copied to clipboard

Error while installing on debain

Open Rohitbhandari007 opened this issue 4 months ago • 0 comments

Bug Encountered an error while executing the make command on a Debian system. Screenshot_2024-03-07_21-43-08

To Reproduce The issue arises in the case Initialized_0_None at src/service.c, which is not handled. Proper handling needs to be implemented to address this.

Expected behavior The installation should proceed without any errors.

Steps Taken I commented on the code and re-ran the make command, and it worked fine. However, this might lead to potential problems later.

System information

  • Ubuntu 20.4 LTS Debain | Acer Nitro 5
  • NBFC version : nbfc 0.1.15
  • Command Executed: make
  • Error Details: cc -DNDEBUG -DSYSCONFDIR="/etc" -DDATADIR="/usr/share" -DRUNSTATEDIR="/run" -DVERSION="0.1.15" -Wall -Os -flto src/build.c -o src/nbfc_service -lm -s In file included from src/build.c:20: src/service.c: In function ‘Service_Cleanup’: src/service.c:334:10: error: label at end of compound statement 334 | case Initialized_0_None: | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:234: src/nbfc_service] Error 1

Error Snapshot (Code): Screenshot_2024-03-07_21-43-25

Rohitbhandari007 avatar Mar 07 '24 16:03 Rohitbhandari007