From owner-freebsd-current@FreeBSD.ORG Sat Sep 20 21:24:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 236D8106566C for ; Sat, 20 Sep 2008 21:24:20 +0000 (UTC) (envelope-from lulf@freebsd.org) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0B08FC0C for ; Sat, 20 Sep 2008 21:24:19 +0000 (UTC) (envelope-from lulf@freebsd.org) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 263901769C0; Sat, 20 Sep 2008 23:24:17 +0200 (CEST) Received: from carrot.studby.ntnu.no (unknown [IPv6:2001:700:300:3::184]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 507B916C632; Sat, 20 Sep 2008 23:24:16 +0200 (CEST) Date: Sat, 20 Sep 2008 23:27:20 +0200 From: Ulf Lilleengen To: Manfred Antar Message-ID: <20080920212720.GA3082@carrot.studby.ntnu.no> References: <200809201922.m8KJMMS4027619@pozo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809201922.m8KJMMS4027619@pozo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-current@freebsd.org Subject: Re: fdisk bsdlabel compile broken on Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 21:24:20 -0000 On Sat, Sep 20, 2008 at 12:22:17PM -0700, Manfred Antar wrote: > I can't compile fdisk or bsdlabel on current without adding -lbsdxml -lsbuf to the Makefile > Is anyone else seeing this ? > > Doing a buildworld on current i386 it stops at : > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x1f1): In function `geom_xml2tree': > : undefined reference to `XML_ParserCreate' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x22d): In function `geom_xml2tree': > : undefined reference to `XML_SetUserData' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x245): In function `geom_xml2tree': > : undefined reference to `XML_SetElementHandler' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x255): In function `geom_xml2tree': > : undefined reference to `XML_SetCharacterDataHandler' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x27b): In function `geom_xml2tree': > : undefined reference to `XML_Parse' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x28d): In function `geom_xml2tree': > : undefined reference to `XML_ParserFree' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x4ed): In function `EndElement': > : undefined reference to `sbuf_finish' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x4fc): In function `EndElement': > : undefined reference to `sbuf_data' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x51e): In function `EndElement': > : undefined reference to `sbuf_delete' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0x864): In function `StartElement': > : undefined reference to `sbuf_new' > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o)(.text+0xd74): In function `CharData': > : undefined reference to `sbuf_bcat' > *** Error code 1 > > Stop in /usr/src/sbin/fdisk. > *** Error code 1 I saw another reference to this the other day, but it seems strange. Nothing is changed in the APIs or the makefiles/includes whatever. Are you sure you're doing a proper buildworld? Also, these error messages have no connection to the last commits, which was in different files. -- Ulf Lilleengen