Compilation problems with 9.16.30

Ondřej Surý ondrej at isc.org
Wed Jun 15 17:22:50 UTC 2022


You need to provide little bit more detail about the environment - operating system, compiler used, output of ./configure (including the options used).

There’s no such thing as too many *relevant* details…

Ondřej
--
Ondřej Surý — ISC (He/Him)

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.

> On 15. 6. 2022, at 18:58, William D. Colburn <wcolburn at nrao.edu> wrote:
> 
> I think I've sorted out my email problems and this message will make it through!
> 
> The bind 9.16.30 release has problems in lib/isc/netmgr/netmgr-int.h.
> 
> The first problem:
> 
> In file included from netmgr.c:44:
> netmgr-int.h:326: error: redefinition of typedef 'isc__nm_uvreq_t'
> netmgr-int.h:189: note: previous declaration of 'isc__nm_uvreq_t' was
> here
> netmgr-int.h:604: error: redefinition of typedef 'isc__netievent_t'
> netmgr-int.h:190: note: previous declaration of 'isc__netievent_t' was
> here
> netmgr.c: In function 'isc__nm_acquire_interlocked':
> netmgr.c:2777: warning: cast to pointer from integer of different size
> netmgr.c:2777: warning: cast to pointer from integer of different size
> netmgr.c:2777: warning: assignment makes integer from pointer without a
> cast
> netmgr.c: In function 'isc__nm_acquire_interlocked_force':
> netmgr.c:2806: warning: cast to pointer from integer of different size
> netmgr.c:2806: warning: cast to pointer from integer of different size
> netmgr.c:2806: warning: assignment makes integer from pointer without a
> cast
> 
> I see lines 326 and 189 are identical, so this one is easy, comment out
> line 326.
> 
> # grep -n typedef.*isc__nm_uvreq_t
>  /tmp/root/bind-9.16.30/lib/isc/netmgr/netmgr-int.h
>  189:typedef struct isc__nm_uvreq isc__nm_uvreq_t;
>  326:typedef struct isc__nm_uvreq isc__nm_uvreq_t;
>  #
> 
> But after I comment out line 326 to move on...
> 
> In file included from netmgr.c:44:
> netmgr-int.h:604: error: redefinition of typedef 'isc__netievent_t'
> netmgr-int.h:190: note: previous declaration of 'isc__netievent_t' was
> here
> netmgr.c: In function 'isc__nm_acquire_interlocked':
> netmgr.c:2777: warning: cast to pointer from integer of different size
> netmgr.c:2777: warning: cast to pointer from integer of different size
> netmgr.c:2777: warning: assignment makes integer from pointer without a
> cast
> netmgr.c: In function 'isc__nm_acquire_interlocked_force':
> netmgr.c:2806: warning: cast to pointer from integer of different size
> netmgr.c:2806: warning: cast to pointer from integer of different size
> netmgr.c:2806: warning: assignment makes integer from pointer without a
> cast
> 
> On line 190 is a "typedef struct isc__netievent isc__netievent_t;"
> 
> But lines 601 through 604 are a "typedef struct isc__netievent {
>  isc__netievent_type type;
>  ISC_LINK(isc__netievent_t) link;
>  } isc__netievent_t;".
> 
> So that one needs line 601 through 604 edited to remove the repeat
> typedef declaration.
> 
> 
> 
> --Schlake
>  Sysadmin IV, NRAO
>  Work: 575-835-7281 (BACK IN THE OFFICE!)
>  Cell: 575-517-5668 (out of work hours)
> -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users


More information about the bind-users mailing list