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

Problem copiling from sources #10

Open
mapedraza opened this issue Sep 18, 2018 · 2 comments
Open

Problem copiling from sources #10

mapedraza opened this issue Sep 18, 2018 · 2 comments

Comments

@mapedraza
Copy link

mapedraza commented Sep 18, 2018

Im triying to compile as indicated, using following commands:

git clone https://github.com/loboris/ESP32-PPPOS-EXAMPLE.git
make menuconfig
make all && make flash

After a tons of libs compiled, i just obtain:

CC build/lwip/lwip/src/netif/ppp/polarssl/sha1.o
CC build/lwip/lwip/src/netif/ppp/polarssl/md4.o
CC build/lwip/lwip/src/netif/ppp/polarssl/md5.o
CC build/lwip/lwip/src/netif/ppp/polarssl/arc4.o
AR build/lwip/liblwip.a
CC build/main/pppos_client_main.o
/home/user/esp/projects/ESP32-PPPOS-EXAMPLE/main/pppos_client_main.c:33:25: fatal error: lwip/pppapi.h: No such file or directory
compilation terminated.
/home/user/esp/esp-idf/make/component_wrapper.mk:285: recipe for target 'pppos_client_main.o' failed
make[1]: *** [pppos_client_main.o] Error 1
/home/user/esp/esp-idf/make/project.mk:481: recipe for target 'component-main-build' failed
make: *** [component-main-build] Error 2

I am using v3.0.4 of esp-idf

Thanks in advance

@mapedraza
Copy link
Author

Just replace some dependencies paths and it compile

In main/pppos_client_main.c file:

#include "lwip/pppapi.h"
#include "apps/sntp/sntp.h"

to

#include "netif/ppp/pppapi.h"
#include "lwip/apps/sntp.h"

In componentes/pppos/libGSM.c file:
#include "lwip/pppapi.h"
To:
#include "netif/ppp/pppapi.h"

@maniprt
Copy link

maniprt commented Jul 8, 2020

Just replace some dependencies paths and it compile

In main/pppos_client_main.c file:

#include "lwip/pppapi.h"
#include "apps/sntp/sntp.h"

to

#include "netif/ppp/pppapi.h"
#include "lwip/apps/sntp.h"

In componentes/pppos/libGSM.c file:
#include "lwip/pppapi.h"
To:
#include "netif/ppp/pppapi.h"

hello expert how to build this project in Eclipse IDE. I'm new to esp32 and eclipse ide. pls help to solve this issue

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

2 participants