[Ovmsdev] Error compiling simcom and lwip

Geir Øyvind Vælidalo geir at validalo.net
Thu Oct 26 01:16:19 HKT 2017


Mark,

I just pulled the latest changes and now simcom and lwip won’t compile.

Here’s the compiler output:

CXX esp32can.o
In file included from /Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_peripherals.h:45:0,
                 from /Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32can/./esp32can.cpp:39:
/Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/simcom/src/simcom.h:135:5: error: 'ppp_pcb' does not name a type
     ppp_pcb*     m_ppp;
     ^
/Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/simcom/src/simcom.h:136:18: error: field 'm_ppp_netif' has incomplete type 'netif'
     struct netif m_ppp_netif;
                  ^
In file included from /Users/goev/esp/esp-idf/components/lwip/include/lwip/lwip/ip_addr.h:38:0,
                 from /Users/goev/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:47,
                 from /Users/goev/esp/esp-idf/components/esp32/include/esp_event.h:23,
                 from /Users/goev/esp/esp-idf/components/esp32/include/esp_wifi.h:68,
                 from /Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/./esp32wifi.h:38,
                 from /Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_peripherals.h:39,
                 from /Users/goev/Prosjekter/ovms3/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32can/./esp32can.cpp:39:
/Users/goev/esp/esp-idf/components/lwip/include/lwip/lwip/ip4_addr.h:86:8: note: forward declaration of 'struct netif'
 struct netif;
        ^
make[1]: *** [esp32can.o] Error 1
make: *** [esp32can-build] Error 2
Sylfest:OVMS.V3 goev$ make

Am I missing something? 

Geir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171025/95621f97/attachment.html>


More information about the OvmsDev mailing list