yamt commented on PR #13498:
URL: https://github.com/apache/nuttx/pull/13498#issuecomment-2426509546

   > i wonder what caused this error on the CI. i couldn't reproduce it with 
local docker container using the same 
`ghcr.io/apache/nuttx/apache-nuttx-ci-linux` image.
   > 
   > ```
   > FAILED: nuttx 
   > : && /tools/ccache/bin/gcc  -Wl,--gc-sections 
-Wl,-Ttext-segment=0x40000000 -T nuttx.ld 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostirq.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmemory.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmisc.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hosttime.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostuart.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostsmp.c.o 
CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostfs.c.o 
CMakeFiles/nuttx.dir/empty.c.o -o nuttx  nuttx.rel  -lpthread  -lz  -lrt  -lm 
&& :
   > /usr/bin/ld: nuttx.rel: in function `loop_writev':
   > /github/workspace/sources/nuttx/drivers/loop/loop.c:89: undefined 
reference to `iovec_total_len'
   > /usr/bin/ld: nuttx.rel: in function `devnull_writev':
   > /github/workspace/sources/nuttx/drivers/misc/dev_null.c:94: undefined 
reference to `iovec_total_len'
   > /usr/bin/ld: nuttx.rel: in function `devzero_readv':
   > /github/workspace/sources/nuttx/drivers/misc/dev_zero.c:79: undefined 
reference to `iovec_total_len'
   > /usr/bin/ld: nuttx.rel: in function `devzero_writev':
   > /github/workspace/sources/nuttx/drivers/misc/dev_zero.c:108: undefined 
reference to `iovec_total_len'
   > /usr/bin/ld: nuttx.rel: in function `file_readv':
   > /github/workspace/sources/nuttx/fs/vfs/fs_read.c:97: undefined reference 
to `iovec_compat_readv'
   > /usr/bin/ld: nuttx.rel: in function `file_writev':
   > /github/workspace/sources/nuttx/fs/vfs/fs_write.c:93: undefined reference 
to `iovec_compat_writev'
   > collect2: error: ld returned 1 exit status
   > ninja: build stopped: subcommand failed.
   > cp: cannot stat 'nuttx': No such file or directory
   > ```
   
   this was because of missing changes to cmakefile. fixed.


-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to