Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 19:01:31 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        stable@freebsd.org
Subject:   Link error in usr.bin/dig if WITH_BIND_XML=yes
Message-ID:  <5230A1EB.9080201@restart.be>

next in thread | raw e-mail | index | archive | help
Hello,

Dig can't be linked if WITH_BIND_XML=yes is added to /etc/src.conf.

[root@morzine src]# svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.restart.bel/svn-FreeBSD-base/stable/9
Relative URL: ^/stable/9
Repository Root: http://svn.restart.bel/svn-FreeBSD-base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255473
Node Kind: directory
Schedule: normal
Last Changed Author: des
Last Changed Rev: 255443
Last Changed Date: 2013-09-10 12:07:21 +0200 (Tue, 10 Sep 2013)


===> usr.bin/dig (all)
/usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/dighost.c:4336:27:
warning: passing 'const char *' to parameter of type 'void *' discards
qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        isc_buffer_init(&buffer, str, len);
                                 ^~~
/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/include/isc/buffer.h:225:41:
note: passing argument to parameter 'base' here
isc__buffer_init(isc_buffer_t *b, void *base, unsigned int length);
                                        ^
1 warning generated.
/usr/local/lib/libxml2.a(xzlib.o): In function `__libxml2_xzclose':
xzlib.c:(.text+0x69): undefined reference to `lzma_end'
/usr/local/lib/libxml2.a(xzlib.o): In function `xz_decomp':
xzlib.c:(.text+0x4a6): undefined reference to `lzma_code'
/usr/local/lib/libxml2.a(xzlib.o): In function `xz_make':
xzlib.c:(.text+0x8cd): undefined reference to `lzma_auto_decoder'
xzlib.c:(.text+0xa04): undefined reference to `lzma_properties_decode'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [dig] Error code 1

Stop in /usr/src/usr.bin/dig.
*** [all] Error code 1


Henri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5230A1EB.9080201>