jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net
Other
2.58k stars 440 forks source link

build failed #1978

Open lxj5891 opened 2 years ago

lxj5891 commented 2 years ago

IN: ../apps/libapps.a -> staging/libapps.a make[1]: Entering directory '/root/nuttx/iotjs-nuttx/nuttx/net' CC: socket/net_clone.c In file included from socket/net_clone.c:52:0: ./tcp/tcp.h:166:22: error: field 'readahead' has incomplete type struct iob_queue_s readahead; / Read-ahead buffering / ^ Makefile:100: recipe for target 'net_clone.o' failed make[1]: [net_clone.o] Error 1 make[1]: Leaving directory '/root/nuttx/iotjs-nuttx/nuttx/net' tools/LibTargets.mk:74: recipe for target 'net/libnet.a' failed make: [net/libnet.a] Error 2 root@iZbp1h19odz9mkbivirwk4Z:~/nuttx/iotjs-nuttx/nuttx# cat ./tcp/tcp.h cat: ./tcp/tcp.h: No such file or directory root@iZbp1h19odz9mkbivirwk4Z:~/nuttx/iotjs-nuttx/nuttx#

lxj5891 commented 2 years ago
IN: ../apps/libapps.a -> staging/libapps.a
make[1]: Entering directory '/root/nuttx/iotjs-nuttx/nuttx/net'
CC:  socket/net_clone.c
In file included from socket/net_clone.c:52:0:
./tcp/tcp.h:166:22: error: field 'readahead' has incomplete type
   struct iob_queue_s readahead;   /* Read-ahead buffering */
                      ^
Makefile:100: recipe for target 'net_clone.o' failed
make[1]: *** [net_clone.o] Error 1
make[1]: Leaving directory '/root/nuttx/iotjs-nuttx/nuttx/net'
tools/LibTargets.mk:74: recipe for target 'net/libnet.a' failed
make: *** [net/libnet.a] Error 2
root@iZbp1h19odz9mkbivirwk4Z:~/nuttx/iotjs-nuttx/nuttx# cat ./tcp/tcp.h
cat: ./tcp/tcp.h: No such file or directory
root@iZbp1h19odz9mkbivirwk4Z:~/nuttx/iotjs-nuttx/nuttx#