iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

build failed

Open lxj5891 opened this issue 3 years ago • 1 comments

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 avatar Mar 03 '22 11:03 lxj5891

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 avatar Mar 03 '22 11:03 lxj5891