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

Fix telnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared #2716

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

xiaoxiang781216
Copy link
Contributor

@xiaoxiang781216 xiaoxiang781216 commented Oct 13, 2024

Summary

telnetd.c: In function 'telnetd_main':
Error: telnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared (first use in this function); did you mean 'CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY'?
   57 |     CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY

Impact

Kconfig

Testing

ci

xiaoxiang781216 added a commit to xiaoxiang781216/incubator-nuttx that referenced this pull request Oct 13, 2024
@xiaoxiang781216 xiaoxiang781216 changed the title system/telnetd: Let SYSTEM_TELNETD depends on SYSTEM_NSH Fix telnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared Oct 13, 2024
Copy link

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @xiaoxiang781216 :-)

@GUIDINGLI
Copy link
Contributor

There are more than one places take CI error.
I think firstly resolve this obvious error.

And there are 3 PR fixes which are similar:
#2713
#2717
#2716

I prefer this current one.
And I will merge this PR, and close others.

@GUIDINGLI GUIDINGLI merged commit 2eeb750 into apache:master Oct 14, 2024
15 of 36 checks passed
@lupyuen
Copy link
Member

lupyuen commented Oct 14, 2024

I think it's still failing, due to the defconfig?

Configuration/Tool: qemu-armv8a/netnsh_smp
Normalize qemu-armv8a/netnsh_smp
102d101
< CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE=8192

https://github.com/apache/nuttx-apps/actions/runs/11320114328/job/31477189995

@GUIDINGLI
Copy link
Contributor

Here is the fix:
apache/nuttx#14229

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

Successfully merging this pull request may close these issues.

4 participants