Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing on debain #1385

Open
Rohitbhandari007 opened this issue Mar 7, 2024 · 0 comments
Open

Error while installing on debain #1385

Rohitbhandari007 opened this issue Mar 7, 2024 · 0 comments

Comments

@Rohitbhandari007
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant