Open kovalroma opened 4 years ago
Yes, you need to export const char* path_preup from pppd to build this module.
Hello and thank you for you reply. I am not very familiar with configure&make tools. Can I ask you to write more details ? What should I put in terminal ?
Just comment this line - sstp-plugin.c:331 - everything will be ok. It is used only for internal integration purposes.
I have the same problem, where do I have to comment on that line?
[root@Herus sstp-client-ndm-1.0.12]# make
make all-recursive
make[1]: se ingresa al directorio /home/ycruz/Descargas/sstp-client-ndm-1.0.12' Making all in src/libsstp-log make[2]: se ingresa al directorio
/home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-log'
make[2]: No se hace nada para all'. make[2]: se sale del directorio
/home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-log'
Making all in src/libsstp-api
make[2]: se ingresa al directorio /home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-api' make[2]: No se hace nada para
all'.
make[2]: se sale del directorio /home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-api' Making all in src/libsstp-compat make[2]: se ingresa al directorio
/home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-compat'
make[2]: No se hace nada para all'. make[2]: se sale del directorio
/home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/libsstp-compat'
Making all in src/pppd-plugin
make[2]: se ingresa al directorio /home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/pppd-plugin' CC sstp_pppd_plugin_la-sstp-plugin.lo sstp-plugin.c: In function 'sstp_phasechange': sstp-plugin.c:331:17: error: 'path_preup' undeclared (first use in this function) script_sstp(path_preup); ^ sstp-plugin.c:331:17: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [sstp_pppd_plugin_la-sstp-plugin.lo] Error 1 make[2]: se sale del directorio
/home/ycruz/Descargas/sstp-client-ndm-1.0.12/src/pppd-plugin'
make[1]: [all-recursive] Error 1
make[1]: se sale del directorio `/home/ycruz/Descargas/sstp-client-ndm-1.0.12'
make: [all] Error 2
First I put
Then
This error appears on ./make command