fix 'make menuconfig' requires the ncurses libraries issue on fedora#90
Open
funcnet wants to merge 1 commit intomirror:masterfrom
Open
fix 'make menuconfig' requires the ncurses libraries issue on fedora#90funcnet wants to merge 1 commit intomirror:masterfrom
funcnet wants to merge 1 commit intomirror:masterfrom
Conversation
|
From my experience, this also fixes the issue on arch as well. |
42-Slices-of-Cheese
approved these changes
Feb 6, 2025
|
This fixes the error in Ubuntu as well. |
gissf1
reviewed
Jun 2, 2025
| $cc -x c - -o $tmp 2>/dev/null <<'EOF' | ||
| #include CURSES_LOC | ||
| main() {} | ||
| int main() {} |
There was a problem hiding this comment.
If you are defining main() as returning int, you should probably also add a return 0; to avoid any warnings about it not returning a value that some compilers may throw. This would obviously become fatal if -Werror is active as well. It is probably not significant in the current usage, but not returning a value can also sometimes cause random return values. This would mean potential unexpected failures in the future if something decides to execute this build or test the exit code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix 'make menuconfig' requires the ncurses libraries issue on fedora. refer to https://bbs.archlinux.org/viewtopic.php?id=295859