Note that the error messages do not come from incorporating incdir.c into the build system but rather from using immediate variables in Make.defs
On Sun, May 31, 2020 at 1:47 PM Abdelatif Guettouche <abdelatif.guettou...@gmail.com> wrote: > > > When I simply clone > > and configure NuttX, I get a repeated error. > > Yes, we are aware of those and actually have a solution (in > https://github.com/apache/incubator-nuttx/pull/1152) > However, we are still discussing other alternatives (or even reverting > the changes) > Sorry for the inconvenience. > > > On Sun, May 31, 2020 at 12:42 PM Maciej Wójcik <w8j...@gmail.com> wrote: > > > > > > > > PR 1149 has been merged. That means that the incdir.c program has now > > > been incorporated into the build system. > > > > > > There might be some regression within this solution. When I simply clone > > and configure NuttX, I get a repeated error. It might be related to recent > > change > > > > mkdir test > > cd test > > git clone https://bitbucket.org/nuttx/nuttx.git > > git clone https://bitbucket.org/nuttx/apps.git > > cd nuttx > > $ ./tools/configure.sh stm32f4discovery:nsh > > Copy files > > Select CONFIG_HOST_LINUX=y > > Refreshing... > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > /bin/sh: 1: /home/user/tmp/test/nuttx/tools/incdir: not found > > .... > > > > > > Am Sa., 30. Mai 2020 um 04:25 Uhr schrieb Gregory Nutt <spudan...@gmail.com > > >: > > > > > Johannes, > > > > > > PR 1149 has been merged. That means that the incdir.c program has now > > > been incorporated into the build system. It all checks out: I have > > > pretty thoroughly verified it on Cygwin and Abdelatif and Alan Carvalho > > > de Assis have checked it out well on Linux. The PR also passes all of > > > the PR build checks which verifies that it works correctly with Linux > > > and macOS. > > > > > > The only untested platform is MSYS and there could very well be issues > > > there. I have MSYS2 installed on two systems. I tried testing on my > > > laptop tonight but there is something screwed up in the MSYS2 > > > installation. I have both MSYS2 and Cygwin installed and I am thinking > > > that when I build with Cygwin , it messes up the MSYS2 configuration > > > (and vice versa). They share the same repository files. I am not sure > > > what is going on but I was not able to verify on MSYS2. I will try > > > again on my desktop in the morning. > > > > > > If you find problems, you can be pretty much assured that the problem is > > > in tools/incdir.c and I will work with you to resolve any issues that > > > you run across. If you do have problems, try using 'make V=1'. That > > > will show us the arguments to and the output from incdir.exe. > > > > > > Greg > > > > > >