Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #1978

Open
lxj5891 opened this issue Mar 3, 2022 · 1 comment
Open

build failed #1978

lxj5891 opened this issue Mar 3, 2022 · 1 comment

Comments

@lxj5891
Copy link

lxj5891 commented Mar 3, 2022

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
Copy link
Author

lxj5891 commented Mar 3, 2022

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#
  • [ ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant