Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 15:37:13 +0900
From:      Munehiro Matsuda <haro@kubota.co.jp>
To:        Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   buildworld failed with named-xfer.
Message-ID:  <20010129153713U.haro@kubota.co.jp>

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

Buildworld failed with following error:

cc -O -pipe -I/usr/src/libexec/named-xfer/../../contrib/bind/port/freebsd/include  -I/usr/src/libexec/named-xfer/../../contrib/bind/bin/named -I/usr/src/libexec/named-xfer/../../contrib/bind/include -I.    -o named-xfer named-xfer.o db_glue.o ns_glue.o tmp_version.o  /usr/obj/usr/src/libexec/named-xfer/../../lib/libbind/libbind.a
named-xfer.o: In function `main':
named-xfer.o(.text+0xe4a): undefined reference to `isc_movefile'
named-xfer.o(.text+0xede): undefined reference to `isc_movefile'
named-xfer.o(.text+0xf54): undefined reference to `isc_movefile'
/usr/obj/usr/src/libexec/named-xfer/../../lib/libbind/libbind.a(logging.o)(.text+0x98): undefined reference to `isc_movefile'
/usr/obj/usr/src/libexec/named-xfer/../../lib/libbind/libbind.a(logging.o)(.text+0xca): undefined reference to `isc_movefile'
*** Error code 1

Stop in /usr/src/libexec/named-xfer.

Following patch seems to work.

--- Makefile.ctm	Wed May 24 03:17:07 2000
+++ Makefile	Mon Jan 29 15:34:18 2001
@@ -12,4 +12,14 @@
 	named-xfer.c db_glue.c ns_glue.c tmp_version.c 
 MAN8=	named-xfer.8
 
+.if exists(${.OBJDIR}/../../lib/libisc)
+LIBISCDIR:=    ${.OBJDIR}/../../lib/libisc
+.else
+LIBISCDIR!=    cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR
+.endif
+LIBISC:=       ${LIBISCDIR}/libisc.a
+
+DPADD+=         ${LIBISC}
+LDADD+=         ${LIBISC}
+
 .include <bsd.prog.mk>

  Thanks,
   Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Business Incubation Dept., Kubota Corp.
 /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
                  Chuo-ku Tokyo 103-8310, Japan
                  Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
                  Email: haro@kubota.co.jp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010129153713U.haro>