/usr/local/ldap/lib/libldap50.a(search.o)(.text+0x882): In function `put_filter_list':
: undefined reference to `__ctype_b'
/usr/local/ldap/lib/libldap50.a(search.o)(.text+0x915): In function `is_valid_attr':
: undefined reference to `__ctype_b'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x332): In function `parse_subtypes':
: undefined reference to `__ctype_toupper'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x4d9): In function `check_lang_match':
: undefined reference to `__ctype_toupper'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x56d): In function `check_base_match':
: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make: *** [mybusiness.exe] Error 1
g++ 版本是3.4.3. 现在不知道是LDAP库的问题还是glibc的问题.LDAP库只有一个别人下载的现成的,找不到地方去下载(Netscape Directory SDK for c);glibc已经是比较新的版本了.头疼啊
: undefined reference to `__ctype_b'
/usr/local/ldap/lib/libldap50.a(search.o)(.text+0x915): In function `is_valid_attr':
: undefined reference to `__ctype_b'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x332): In function `parse_subtypes':
: undefined reference to `__ctype_toupper'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x4d9): In function `check_lang_match':
: undefined reference to `__ctype_toupper'
/usr/local/ldap/lib/libldap50.a(getvalues.o)(.text+0x56d): In function `check_base_match':
: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make: *** [mybusiness.exe] Error 1
g++ 版本是3.4.3. 现在不知道是LDAP库的问题还是glibc的问题.LDAP库只有一个别人下载的现成的,找不到地方去下载(Netscape Directory SDK for c);glibc已经是比较新的版本了.头疼啊