openconnect compile error in cyanogenmod.

Jason openconnect at lakedaemon.net
Tue Jul 5 21:17:29 EDT 2011


All,

Don't get excited.  This is so far away from success it's not even
funny.

I'm attempting to build openconnect on Cyanogenmod and have run into the
following error:

### begin error msg ###################################################
target thumb C: openconnect <= external/openconnect/auth.c
target thumb C: openconnect <= external/openconnect/cstp.c
target thumb C: openconnect <= external/openconnect/dtls.c
In file included from external/libxml2/include/libxml/parser.h:799,
                 from external/openconnect/auth.c:38:
external/libxml2/include/libxml/encoding.h:31:26: error: unicode/ucnv.h:
No such file or directory
In file included from external/libxml2/include/libxml/parser.h:799,
                 from external/openconnect/auth.c:38:
external/libxml2/include/libxml/encoding.h:148: error: expected
specifier-qualifier-list before 'UConverter'
target thumb C: openconnect <= external/openconnect/http.c
target thumb C: openconnect <= external/openconnect/library.c
make: ***
[out/target/product/passion/obj/EXECUTABLES/openconnect_intermediates/auth.o]
Error 1
### end error msg #####################################################

It's wierd because libxml already built correctly earlier in the build.

For the curious, I just grepped the entire tree for openvpn and created
similar code / files for openconnect.  Once it builds, then I'll worry
about the details like making it work. ;-)

So does anyone have a clue why this error crops up now as opposed to
when libxml is built?

thx,

Jason.



More information about the openconnect-devel mailing list