Errors when trying to build
Posted: Thu Aug 15, 2019 5:51 pm
Hello all,
I have been facing errors trying to build for a custom board(VCB_OR). Keep getting this error (attaching a snippet towards the end):
compilation terminated.
network_lan.c:34:24: fatal error: lwip/netif.h: No such file or directory
#include "lwip/netif.h"
^
compilation terminated.
modnetwork.c:43:24: fatal error: lwip/netif.h: No such file or directory
#include "lwip/netif.h"
^
compilation terminated.
In file included from ../../lib/netutils/dhcpserver.c:38:0:
../../lib/netutils/dhcpserver.h:29:26: fatal error: lwip/ip_addr.h: No such file or directory
#include "lwip/ip_addr.h"
^
compilation terminated.
../../py/mkrules.mk:74: recipe for target 'build-VCB_OR/genhdr/qstr.i.last' failed
make: *** [build-VCB_OR/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-VCB_OR/genhdr/qstr.i.last'
It seems to be some sort of cross compiling issue or dependency issue but I am unsure how to fix it.
Any help would be appreciated.
I have been facing errors trying to build for a custom board(VCB_OR). Keep getting this error (attaching a snippet towards the end):
compilation terminated.
network_lan.c:34:24: fatal error: lwip/netif.h: No such file or directory
#include "lwip/netif.h"
^
compilation terminated.
modnetwork.c:43:24: fatal error: lwip/netif.h: No such file or directory
#include "lwip/netif.h"
^
compilation terminated.
In file included from ../../lib/netutils/dhcpserver.c:38:0:
../../lib/netutils/dhcpserver.h:29:26: fatal error: lwip/ip_addr.h: No such file or directory
#include "lwip/ip_addr.h"
^
compilation terminated.
../../py/mkrules.mk:74: recipe for target 'build-VCB_OR/genhdr/qstr.i.last' failed
make: *** [build-VCB_OR/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-VCB_OR/genhdr/qstr.i.last'
It seems to be some sort of cross compiling issue or dependency issue but I am unsure how to fix it.
Any help would be appreciated.