Menu

Build failure with x11-libs/wxGTK:3.0

2015-07-16
2015-07-16
  • Starikov Sergey

    Starikov Sergey - 2015-07-16

    x11-libs/wxGTK:2.8 follows x11-libs/wxGTK:2.6 being obsolete.
    I've tried to build ldapexplorertool-2.0.1 with x11-libs/wxGTK-3.0.2.0-r1 and got the following error:

    g++ -march=native -O2 -pipe -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include -DLDAP_DEPRECATED -D'XRC_DIR=wxT("/usr/share/ldapexplorertool2")' -c -o ldapclass.o ldapclass.cc
    ldapclass.cc: In member function ‘int LdapClass::Search(int&, const wxString&, int, const wxString&, wxArrayString, bool, u_short, long int, int)’:
    ldapclass.cc:394:104: warning: deprecated conversion from string constant to ‘char
    [-Wwrite-strings]
    Attributes = Build_Attribute_Array( LDAP_ALL_OPERATIONAL_ATTRIBUTES, NULL, LDAP_ALL_USER_ATTRIBUTES );
    ^
    ldapclass.cc:400:66: warning: deprecated conversion from string constant to ‘char[-Wwrite-strings]
    Attributes = Build_Attribute_Array( NULL, NULL, LDAP_NO_ATTRS );
    ^
    ldapclass.cc:405:67: warning: deprecated conversion from string constant to ‘char
    [-Wwrite-strings]
    Attributes = Build_Attribute_Array( NULL, NULL, LDAP_NO_ATTRS );

     
  • Starikov Sergey

    Starikov Sergey - 2015-07-16

    Attaching complete log of failed build.

     

Log in to post a comment.

MongoDB Logo MongoDB