You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "zouboan (via GitHub)" <gi...@apache.org> on 2023/11/01 15:22:09 UTC
[I] NuttX compile error [nuttx]
zouboan opened a new issue, #11109:
URL: https://github.com/apache/nuttx/issues/11109
Hi:
I haven't tested NuttX in a long time. Today I updated my local branch to master branch, but i was surprised to find that the compilation failed. The compilation log is as follows:
`
zouboan@mini:~/d/FeedForward/nuttx$ tools/configure.sh stm32f4discovery:nsh
Copy files
install: setting permissions for ‘/home/zouboan/d/FeedForward/nuttx/tools/../defconfig’: Operation not permitted
Failed to backup /home/zouboan/d/FeedForward/nuttx/tools/../boards/*/*/stm32f4discovery/configs/nsh/defconfig
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$ sudo tools/configure.sh stm32f4discovery:nsh[sudo] password for zouboan:
No configuration change.
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$ make
sed: preserving permissions for ‘/home/zouboan/d/FeedForward/nuttx/sedkOIREX’: Operation not permitted
/usr/bin/bash: line 1: tools/mkconfig: No such file or directory
make: *** [tools/Unix.mk:254: include/nuttx/config.h] Error 127
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$ sudo make
/usr/bin/bash: line 1: tools/mkconfig: No such file or directory
make: *** [tools/Unix.mk:254: include/nuttx/config.h] Error 127
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$
zouboan@mini:~/d/FeedForward/nuttx$ make distclean
gcc: error: unrecognized command-line option ‘-mfloat-abi=soft’
gcc: error: unrecognized command-line option ‘-mfloat-abi=soft’
Makefile:22: chip/Make.defs: No such file or directory
make[1]: *** No rule to make target 'chip/Make.defs'. Stop.
make: *** [tools/Unix.mk:748: arch/arm/src_clean] Error 2
`
Anyone who can give me some advice? thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "zouboan (via GitHub)" <gi...@apache.org>.
zouboan commented on issue #11109:
URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789790980
> why do you invoke configure.sh with sudo?
Because there's an error:Operation not permitted.
But a few months ago, there's no such error and it does not need sudo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "zouboan (via GitHub)" <gi...@apache.org>.
zouboan closed issue #11109: NuttX compile error
URL: https://github.com/apache/nuttx/issues/11109
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #11109:
URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789929825
Please remove sudo from your command.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "zouboan (via GitHub)" <gi...@apache.org>.
zouboan commented on issue #11109:
URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789952167
> Please remove sudo from your command.
zouboan@mini:~/d/FeedForward/nuttx$ tools/configure.sh stm32f4discovery:nsh
Copy files
install: setting permissions for ‘/home/zouboan/d/FeedForward/nuttx/tools/../defconfig’: Operation not permitted
Failed to backup /home/zouboan/d/FeedForward/nuttx/tools/../boards/*/*/stm32f4discovery/configs/nsh/defconfig
zouboan@mini:~/d/FeedForward/nuttx$
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #11109:
URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1789297590
why do you invoke configure.sh with sudo?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NuttX compile error [nuttx]
Posted by "zouboan (via GitHub)" <gi...@apache.org>.
zouboan commented on issue #11109:
URL: https://github.com/apache/nuttx/issues/11109#issuecomment-1791985763
The problem lies in the unexpected modification of nuttx directory permissions, thanks for your advice
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org