AnhTVc / OpenVPN-IOS

Build OpenVPN source for IOS
GNU General Public License v3.0
124 stars 53 forks source link

How to make LZO enabled in ovpn #18

Open mfshiu opened 6 years ago

mfshiu commented 6 years ago

I need to enable lzo, I define "ENABLE_LZO" in syshead.h and execute "bash build-openvpn.sh", but some errors was happened, it seems some lzo packages was absent.

I would like to know how to set "comp-lzo" in tcp.ovpn and import it successfully?

Errors after define "ENABLE_LZO" in syshead.h:

In file included from comp.c:35: In file included from ./comp.h:99: ./lzo.h:122:3: error: unknown type name 'lzo_voidp' lzo_voidp wmem; ^ 1 error generated. make[3]: [comp.o] Error 1 make[3]: Waiting for unfinished jobs.... In file included from compstub.c:35: In file included from ./comp.h:99: ./lzo.h:122:3: error: unknown type name 'lzo_voidp' lzo_voidp wmem; ^ 1 error generated. make[3]: [compstub.o] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2