Strange buildworld error (uuid_*)

Mikhail T. mi+thunw at aldan.algebra.com
Fri Aug 20 13:47:38 UTC 2010


 Hello!

With some trickery (had to define: WITHOUT_CDDL, WITHOUT_SSP, WITH_GCC3,
NO_WERROR) I upgraded my laptop directly from 6.3 to 8.1-STABLE. It now
boots nicely.

I'd like to make another round of buildworld/buildkernel -- using the
existing tools... That, however, breaks in the most unexpected place:

    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0xad5):
    In function `bd_opendisk':
    : undefined reference to `uuid_is_nil'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0xf62):
    In function `bd_opendisk':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0xf8a):
    In function `bd_opendisk':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x10fe):
    In function `bd_opendisk':
    : undefined reference to `uuid_is_nil'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x160a):
    In function `bd_print':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x16b2):
    In function `bd_print':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x1701):
    In function `bd_print':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x18cd):
    In function `bd_print':
    : undefined reference to `uuid_equal'
    /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x19ba):
    In function `bd_print':
    : undefined reference to `uuid_equal'
    *** Error code 1
    1 error

Any suggestions? Thanks! Yours,

    -mi



More information about the freebsd-stable mailing list