Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2008 15:00:55 -0700
From:      Manfred Antar <null@pozo.com>
To:        Ulf Lilleengen <lulf@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fdisk bsdlabel compile broken on Current
Message-ID:  <200809202201.m8KM10Yk005739@pozo.com>
In-Reply-To: <20080920212720.GA3082@carrot.studby.ntnu.no>
References:  <200809201922.m8KJMMS4027619@pozo.com> <20080920212720.GA3082@carrot.studby.ntnu.no>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:27 PM 9/20/2008, Ulf Lilleengen wrote:
>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

cd /usr/src
make buildworld
 if i do cd /usr/src//lib/libgeom
make obj
make depend all install
then:
cd /usr/src/sbin/fdisk
make obj
make depend all install it fails as the above message
The last full make world I was able to do where fdisk was built was around Sept 5th.
This morning I deleted all of /usr/src and did a cvsup.
Tried again and still failed.
I'm puzzled as no one else is seeing this.
I can try to cvs checkout from around Sept 5th and see if it builds.
I wonder if I have stray includes being picked up somewhere.
Why will it build if I add -lbsdxml -lsbuf to the Makefile ?

Manfred

==================================
||      null@pozo.com           ||
||      Ph. (415) 681-6235      ||
================================== 




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