/usr/local/include/lber.h:164: error: previous declaration of 'Seqorset' was here lber-int.h:134: error: syntax error before "ldap_x_iovec" lber-int.h:150: error: syntax error before "BERTranslateProc" lber-int.h:172: error: syntax error before "LDAP_IOF_READ_CALLBACK" lber-int.h:183: error: syntax error before "LDAP_X_EXTIOF_READ_CALLBACK" lber-int.h:192: error: syntax error before "LBER_SOCKET" lber-int.h:201: error: syntax error before "LBER_SOCKET" lber-int.h:208: error: field `sb_ext_io_fns' has incomplete type decode.c:47: error: syntax error before "ber_get_tag" decode.c:54: error: syntax error before "if" gmake[5]: *** [decode.o] Error 1 gmake[5]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap/libraries/liblber' gmake[4]: *** [export] Error 2 gmake[4]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap/libraries' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk' gmake[1]: *** [ldap] Error 2 gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla' gmake: *** [default] Error 2 *** Error code 2