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

fs/procfs: The procfsversion should be under control of FS_PROCFS_EXCLUDE_VERSION #14763

Merged

Conversation

JianyuWang0623
Copy link
Contributor

Summary

The procfsversion should be under control of FS_PROCFS_EXCLUDE_VERSION

Env

#sim:nsh
- CONFIG_FS_PROCFS_EXCLUDE_PROCESS=y

Link error

LD:  nuttx
/usr/bin/ld: nuttx.rel:(.rodata.g_procfs_entries+0xc8): undefined reference to `g_version_operations'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:429: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2

Impact

fs/procfs

Testing

  1. Selftest: Using sim:nsh with CONFIG_FS_PROCFS_EXCLUDE_PROCESS disabled
  2. NuttX CI

…CLUDE_VERSION`

Env

  sim:nsh
  - CONFIG_FS_PROCFS_EXCLUDE_PROCESS=y

Error

  LD:  nuttx
  /usr/bin/ld: nuttx.rel:(.rodata.g_procfs_entries+0xc8): undefined reference to `g_version_operations'
  collect2: error: ld returned 1 exit status
  make[1]: *** [Makefile:429: nuttx] Error 1
  make: *** [tools/Unix.mk:551: nuttx] Error 2

Signed-off-by: wangjianyu3 <[email protected]>
@github-actions github-actions bot added Area: File System File System issues Size: XS The size of the change in this PR is very small labels Nov 13, 2024
@acassis acassis merged commit 4266580 into apache:master Nov 13, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: File System File System issues Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants