Build errors for nsupdate 9.18.6

sri b srib456 at gmail.com
Sat Oct 1 17:23:15 UTC 2022


Hi,

For the errors, I went back to the config.log and also the documentation.
And realized that I have made the simple mistake of omission of CFLAGS and
LDFLAGS to the configure command.

Now when I added these flags to the configure command, the whole thing is
configuring and compiling successfully.

Thanks for your help.

Thanks,
Sridhar

On Sat, Oct 1, 2022 at 8:45 PM Ondřej Surý <ondrej at isc.org> wrote:

> It is right there:
>
> > See `config.log' for more details
>
> So, did you look into config.log, what have you found, how did you
> understand it and how did you try to resolve it before posting the last few
> lines from configure run to the list?
>
> 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 1. 10. 2022, at 17:05, sri b <srib456 at gmail.com> wrote:
>
> 
> Hi,
>
> I made some progress in building nsupdate. But now I am facing a problem
> due to Openssl.
>
> checking for flockfile... yes
> checking for getc_unlocked... yes
> checking for sysconf... yes
> checking for libssl libcrypto... yes
> checking for OpenSSL >= 1.0.0 or LibreSSL >= 2.7.0... configure: error: in
> `build/mymachine/apps/open-src/nsupdate/bind-9.18.6':
> configure: error: not found
> See `config.log' for more details
> make[6]: *** [Makefile:49: configure] Error 1
>
> I have both openssl and libuv in the build directory.
>
> Can someone please suggest how to resolve this?
>
> Thanks,
> Sridhar
>
> On Fri, Sep 30, 2022 at 5:14 AM Mark Andrews <marka at isc.org> wrote:
>
>> 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
>>
>> --
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20221001/fbe1fa85/attachment.htm>


More information about the bind-users mailing list