mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-26 00:56:01 +03:00
[GH-ISSUE #1385] Error while installing on debain #1192
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#1192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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
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):

@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