Hi,
Centos 4.4 comes with bind 9.2.x. I want to upgrade it to bind bind-9.3.3-9.x as bind 9.2.x had a security hole. So I downloaded bind-9.3.3-9.0.1.el5.src.rpm from Centos5 repo and tried to built RPM out of it. But, I failed to do it.
I got bellow errors.
./dbus_service.c: In function `dbus_svc_send_va': ./dbus_service.c:296: warning: implicit declaration of function `dbus_message_iter_init_append' ./dbus_service.c:298: warning: implicit declaration of function `dbus_message_iter_append_basic' ./dbus_service.c: In function `dbus_svc_message_iterator_new': ./dbus_service.c:497: warning: wrong type argument to increment ./dbus_service.c: In function `dbus_svc_message_next_arg_type': ./dbus_service.c:513: warning: wrong type argument to increment ./dbus_service.c: In function `dbus_svc_message_next_arg': ./dbus_service.c:521: warning: wrong type argument to increment ./dbus_service.c:522: warning: implicit declaration of function `dbus_message_iter_get_basic' ./dbus_service.c: In function `dbus_svc_message_element_type': ./dbus_service.c:530: warning: wrong type argument to increment ./dbus_service.c:531: warning: implicit declaration of function `dbus_message_iter_get_element_type' ./dbus_service.c: In function `dbus_svc_message_get_elements': ./dbus_service.c:538: warning: wrong type argument to increment ./dbus_service.c:539: warning: implicit declaration of function `dbus_message_iter_get_fixed_array' ./dbus_service.c: In function `dbus_svc_message_iterator_free': ./dbus_service.c:545: warning: wrong type argument to increment ./dbus_service.c: In function `dbus_svc_init': ./dbus_service.c:1015: warning: implicit declaration of function `dbus_connection_open_private' ./dbus_service.c:1015: warning: assignment makes pointer from integer without a cast ./dbus_service.c:1024: warning: implicit declaration of function `dbus_connection_close' ./dbus_service.c:1039: warning: assignment makes pointer from integer without a cast ./dbus_service.c:1080: warning: implicit declaration of function `dbus_bus_get_unique_name' ./dbus_service.c:1080: warning: assignment makes pointer from integer without a cast ./dbus_service.c:1084: warning: implicit declaration of function `dbus_bus_request_name' ./dbus_service.c:1094: error: `DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER' undeclared (first use in this function) ./dbus_service.c:1094: error: (Each undeclared identifier is reported only once ./dbus_service.c:1094: error: for each function it appears in.) ./dbus_service.c:1096: error: `DBUS_REQUEST_NAME_REPLY_EXISTS' undeclared (first use in this function) ./dbus_service.c:1097: error: `DBUS_REQUEST_NAME_REPLY_IN_QUEUE' undeclared (first use in this function) ./dbus_service.c:1098: error: `DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER' undeclared (first use in this function) make[2]: *** [dbus_service.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/bind-9.3.3rc2/bin/named' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/bind-9.3.3rc2/bin' make: *** [subdirs] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.78789 (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.78789 (%build)
ANY IDEAS?
Has anybody built ?