cederom opened a new issue, #22134:
URL: https://github.com/apache/nuttx/issues/22134

   ### Description / Steps to reproduce the issue
   
   ```
   % uname -a
   FreeBSD hexagon 14.5-RELEASE-p4 FreeBSD 14.5-RELEASE-p4 
releng/14.5-n274932-1e85e58a3d48 GENERIC amd64
   
   % git reflog -3
   295bf8c385 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: reset: 
moving to HEAD
   295bf8c385 (HEAD -> master, origin/master, origin/HEAD) HEAD@{1}: pull: 
Fast-forward
   80a052ff9c HEAD@{2}: pull: Fast-forward
   
   % ./tools/configure.sh -B sim:nsh
   
   % gmake V=1
   (..)
   gmake[1]: Entering directory '/XXX/nuttx.git/arch/sim/src'
   gmake -C board libboard.a EXTRAFLAGS="-D__KERNEL__ "
   gmake[2]: Entering directory '/XXX/nuttx.git/boards/sim/sim/sim/src'
   gmake[2]: 'libboard.a' is up to date.
   gmake[2]: Leaving directory '/XXX/nuttx.git/boards/sim/sim/sim/src'
   CC:  sim/posix/sim_hostuart.c
   "cc" -c  "-g" -fomit-frame-pointer -fprofile-arcs -ftest-coverage 
-fno-inline -fno-common -fvisibility=hidden -ffunction-sections -fdata-sections 
-Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas 
-fno-pic -mcmodel=medium -no-pie  -D__KERNEL__  -D__SIM__ -fvisibility=default 
-I /XXX/nuttx.git/arch/sim/src -I /XXX/nuttx.git/arch/sim/src/chip 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 sim/posix/sim_hostuart.c -o 
sim_hostuart.o
   cc: warning: argument unused during compilation: '-no-pie' 
[-Wunused-command-line-argument]
   sim/posix/sim_hostuart.c:174:19: error: use of undeclared identifier 
'TIOCSPTLCK'
     174 |   ret = ioctl(fd, TIOCSPTLCK, &lock);
         |                   ^~~~~~~~~~
   1 error generated.
   gmake[1]: *** [Makefile:433: sim_hostuart.o] Error 1
   gmake[1]: Leaving directory '/XXX/nuttx.git/arch/sim/src'
   gmake: *** [tools/Unix.mk:581: nuttx] Error 2
   ```
   
   
   ### On which OS does this issue occur?
   
   [OS: BSD]
   
   ### What is the version of your OS?
   
   14.5-RELEASE-p4
   
   ### NuttX Version
   
   master/295bf8c3858f01002b533cc9ba21d57f3937d785
   
   ### Issue Architecture
   
   [Arch: simulator]
   
   ### Issue Area
   
   [Area: Build System]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to