r243946: /usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:114:30: error: expected '; ' after top level declarator,GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 07 Dec 2012 15:56:25 +0100
After bind9 commits, building FreeBSD 10.0-CURRENT #0 r243946: Thu Dec
6 12:18:13 CET 2012 refuses to work with the below error.

Regards,
Oliver

[...]
cc  -O3  -pipe -fno-strict-aliasing -march=native -march=native
-DVERSION='"9.8.4-P1"' -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE
-DLIBINTERFACE=89 -DLIBREVISION=1 -DLIBAGE=1 -DGSSAPI -DWANT_IPV6
-DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"'
-DNS_SYSCONFDIR='"/etc/namedb"'
-DNAMED_CONFFILE='"/etc/namedb/named.conf"'
-DRNDC_CONFFILE='"/etc/namedb/rndc.conf"'
-DRNDC_KEYFILE='"/etc/namedb/rndc.key"' -I/usr/src/lib/bind/dns/..
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDIG_SIGCHASE
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/unix/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/pthreads/include
-I/usr/src/lib/bind/dns/../dns
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isccfg/include
-I/usr/src/lib/bind/dns/../isc
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns
-I/usr/src/lib/bind/dns
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/x86_32/include
-std=gnu99 -Qunused-arguments -fstack-protector  -c
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/callbacks.c -o
callbacks.o
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/acache.c:35:
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dns/db.h:64:
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dns/rdata.h:98:
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dns/message.h:34:
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst/dst.h:32:
In file included from
/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst/gssapi.h:41:
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:41:1: error:
unknown type name 'GSSAPI_CPP_START'
GSSAPI_CPP_START
^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:56:1: error:
expected identifier or '('
extern gss_OID_desc GSSAPI_LIB_VARIABLE
__gss_krb5_nt_principal_name_oid_desc;
^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:63:40: error:
expected ';' after top level declarator
cc  -O3  -pipe -fno-strict-aliasing -march=native -march=native
-DVERSION='"9.8.4-P1"' -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE
-DLIBINTERFACE=89 -DLIBREVISION=1 -DLIBAGE=1 -DGSSAPI -DWANT_IPV6
-DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"'
-DNS_SYSCONFDIR='"/etc/namedb"'
-DNAMED_CONFFILE='"/etc/namedb/named.conf"'
-DRNDC_CONFFILE='"/etc/namedb/rndc.conf"'
-DRNDC_KEYFILE='"/etc/namedb/rndc.key"' -I/usr/src/lib/bind/dns/..
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDIG_SIGCHASE
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/unix/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isc/pthreads/include
-I/usr/src/lib/bind/dns/../dns
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/isccfg/include
-I/usr/src/lib/bind/dns/../isc
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include/dst
-I/usr/src/lib/bind/dns/../../../contrib/bind9/lib/dns/include
-I/usr/src/lextern gss_OID_desc GSSAPI_LIB_VARIABLE
__gss_krb5_mechanism_oid_desc;


[...]

/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:102:1: error:
unknown type name 'GSSAPI_LIB_FUNCTION'
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_krb5_get_tkt_flags
^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:102:30: error:
expected ';' after top level declarator
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_krb5_get_tkt_flags
                             ^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:107:1: error:
unknown type name 'GSSAPI_LIB_FUNCTION'
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:107:30: error:
expected ';' after top level declarator
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
                             ^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:114:1: error:
unknown type name 'GSSAPI_LIB_FUNCTION'
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
^
/usr/obj/usr/src/tmp/usr/include/gssapi/gssapi_krb5.h:114:30: error:
expected ';' after top level declarator
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL



Received on Fri Dec 07 2012 - 13:56:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC