Now I get a problem with authdlg. I want to have the authdlg but it wont compile. If I compile using --without-authdlg, it builds fine but the GUI ends up not being able to create a connection with the necessary options and the save button is grey'd out. Do I need to add some other sources?
[root TS_chroot]/ts/ports/contrib/networkmanager-openconnect/network-manage
r-openconnect-0-9-6# make
make all-recursive
make[1]: Entering directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6'
Making all in src
make[2]: Entering directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/src'
Making all in properties
make[2]: Entering directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/properties'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/properties'
Making all in po
make[2]: Entering directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/po'
Making all in auth-dialog
make[2]: Entering directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/auth-dialog'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/NetworkManager -I/usr/include/libnm-glib -I/usr/include/NetworkManager -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/PCSC -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DICONDIR=\""/usr/local/share/pixmaps"\" -DBINDIR=\""/usr/local/bin"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -DVERSION=\"0.9.6.2\" -g -O2 -MT nm_openconnect_auth_dialog-main.o -MD -MP -MF .deps/nm_openconnect_auth_dialog-main.Tpo -c -o nm_openconnect_auth_dialog-main.o `test -f 'main.c' || echo './'`main.c
main.c: In function 'combo_changed':
main.c:353:41: error: request for member 'name' in something not a structure or union
data->entry_text = sopt->choices[entry].name;
^
main.c: In function 'ui_add_select':
main.c:452:77: error: request for member 'label' in something not a structure or union
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), sopt->choices[i].label);
^
In file included from /usr/include/string.h:637:0,
from main.c:30:
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:454:49: error: request for member 'name' in something not a structure or union
!strcmp(data->entry_text, sopt->choices[i].name)) {
^
main.c:457:39: error: request for member 'name' in something not a structure or union
data->entry_text = sopt->choices[i].name;
^
main.c:462:38: error: request for member 'name' in something not a structure or union
data->entry_text = sopt->choices[0].name;
^
main.c: In function 'nm_process_auth_form':
main.c:752:14: error: 'struct oc_form_opt' has no member named 'value'
data->opt->value = g_strdup (data->entry_text);
^
main.c: At top level:
main.c:800:2: error: unknown type name 'OPENCONNECT_X509'
OPENCONNECT_X509 *peer_cert;
^
main.c: In function 'user_validate_cert':
main.c:833:10: warning: assignment makes pointer from integer without a cast [enabled by default]
details = openconnect_get_cert_details(ui_data->vpninfo, data->peer_cert);
^
main.c: At top level:
main.c:881:10: error: unknown type name 'OPENCONNECT_X509'
OPENCONNECT_X509 *peer_cert, const char *reason)
^
main.c: In function 'cookie_obtained':
main.c:1285:3: error: unknown type name 'OPENCONNECT_X509'
OPENCONNECT_X509 *cert;
^
main.c:1307:8: warning: assignment makes pointer from integer without a cast [enabled by default]
cert = openconnect_get_peer_cert (ui_data->vpninfo);
^
main.c: In function 'init_ui_data':
main.c:1645:11: error: 'validate_peer_cert' undeclared (first use in this function)
validate_peer_cert, write_new_config,
^
main.c:1645:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:1647:11: warning: passing argument 3 of 'openconnect_vpninfo_new' from incompatible pointer type [enabled by default]
ui_data);
^
In file included from main.c:51:0:
/usr/include/openconnect.h:537:26: note: expected 'openconnect_write_new_config_vfn' but argument is of type 'int (*)(void *, char *, int)'
struct openconnect_info *openconnect_vpninfo_new(const char *useragent,
^
Makefile:481: recipe for target 'nm_openconnect_auth_dialog-main.o' failed
make[2]: *** [nm_openconnect_auth_dialog-main.o] Error 1
make[2]: Leaving directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6/auth-dialog'
Makefile:519: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/ts/ports/contrib/networkmanager-openconnect/network-manager-openconnect-0-9-6'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2
[root TS_chroot]/ts/ports/contrib/networkmanager-openconnect/network-manage
r-openconnect-0-9-6#