Build errors for nsupdate 9.18.6

Mark Andrews marka at isc.org
Thu Sep 29 23:44:19 UTC 2022


Install libuv.

configure:6032: gcc -g -O2   conftest.c -L/myrepo/build/mymachine/lib -lz -lssl -lcrypto -luv >&5
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libssl.a when searching for -lssl
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libcrypto.a when searching for -lcrypto
/usr/bin/ld: skipping incompatible /myrepo/build/mymachine/lib/libuv.so when searching for -luv
/usr/bin/ld: cannot find -luv
collect2: error: ld returned 1 exit status


> On 29 Sep 2022, at 18:54, sri b <srib456 at gmail.com> wrote:
> 
> 
> Hi,
> 
> I am getting errors while building nsupdate (bind) version 9.18.6, for my project.  I have attached the configure.log with this mail for your reference. Can you please advise on how to successfully compile?
>  
> The autoconf version is as below.
> 
> autoconf (GNU Autoconf) 2.69
> 
> The libtool version is as below.
> 
> libtoolize (GNU libtool) 2.4.6
> 
> We are getting below error while building.
> 
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for /opt/crosstool/armv7-cortex_a7_v3-linux-gnueabihf/bin/armv7-cortex_a7_v3-linux-gnueabihf-gcc option to accept ISO C99... none needed
> checking for x86_64-pc-linux-gnu-gcc... no
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> checking whether the C compiler works... no
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> 
> Thanks.
> <config.log>-- 
> 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

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka at isc.org



More information about the bind-users mailing list