[GH-ISSUE #1385] Error while installing on debain #1192

Closed
opened 2026-02-26 00:34:37 +03:00 by kerem · 1 comment
Owner

Originally created by @Rohitbhandari007 on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1385

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

Originally created by @Rohitbhandari007 on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1385 **Bug** Encountered an error while executing the make command on a Debian system. ![Screenshot_2024-03-07_21-43-08](https://github.com/hirschmann/nbfc/assets/46572686/d31783de-10da-4573-8ae0-3810af78abda) **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](https://github.com/hirschmann/nbfc/assets/46572686/76a8abc1-8565-4317-948e-7f2683969dae)
kerem 2026-02-26 00:34:37 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Sep 5, 2024):

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed

<!-- gh-comment-id:2330346525 --> @github-actions[bot] commented on GitHub (Sep 5, 2024): This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#1192
No description provided.