configure:22008: checking for geom_gettree in -lgeom configure:22033: x86_64-gentoo-freebsd9.1-gcc -o conftest -isystem /usr/include -static conftest.c -lgeom >&5 /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `EndElement': (.text+0x88): undefined reference to `sbuf_finish' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `EndElement': (.text+0x96): undefined reference to `sbuf_data' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `EndElement': (.text+0xb8): undefined reference to `sbuf_delete' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `StartElement': (.text+0x4b3): undefined reference to `sbuf_new' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xad6): undefined reference to `XML_ParserCreate' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xb0b): undefined reference to `XML_SetUserData' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xb1d): undefined reference to `XML_SetElementHandler' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xb2a): undefined reference to `XML_SetCharacterDataHandler' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xb44): undefined reference to `XML_Parse' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xb4f): undefined reference to `XML_ParserFree' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': (.text+0xe89): undefined reference to `XML_ParserFree' /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.3/../../../libgeom.a(geom_xml2tree.o): In function `CharData': (.text+0xa00): undefined reference to `sbuf_bcat' collect2: ld returned 1 exit status configure:22033: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "2.00" | #define PACKAGE_STRING "GRUB 2.00" | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" | #define PACKAGE_URL "" | #define PACKAGE "grub" | #define VERSION "2.00" | #define GRUB_BOOT_DIR_NAME "boot" | #define GRUB_DIR_NAME "grub2" | #define YYTEXT_POINTER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ICONV 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_LONG 8 | #define HAVE_POSIX_MEMALIGN 1 | #define HAVE_ASPRINTF 1 | #define HAVE_VASPRINTF 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 | #define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1 | #define HAVE_ALLOCA 1 | #define restrict __restrict | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_CLEARERR_UNLOCKED 1 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FERROR_UNLOCKED 1 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_DECL_GETCHAR_UNLOCKED 1 | #define HAVE_DECL_PUTC_UNLOCKED 1 | #define HAVE_DECL_PUTCHAR_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_BTOWC 1 | #define HAVE_ISBLANK 1 | #define HAVE_ISWCTYPE 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCPY 1 | #define HAVE_GETDELIM 1 | #define HAVE_MBSINIT 1 | #define HAVE_MBRTOWC 1 | #define HAVE_MPROTECT 1 | #define HAVE_MEMCHR 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_WCSCOLL 1 | #define HAVE_SLEEP 1 | #define HAVE_STRNDUP 1 | #define HAVE_WCRTOMB 1 | #define HAVE_ISWCNTRL 1 | #define HAVE_ISWBLANK 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FLOAT_H 1 | #define HAVE_WCTYPE_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_CODESET 1 | #define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0 | #define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0 | #define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_MBSTATE_T 1 | #define HAVE_DECL_GETDELIM 1 | #define HAVE_DECL_GETLINE 1 | #define HAVE_GETOPT_H 1 | #define HAVE_GETOPT_LONG_ONLY 1 | #define HAVE_DECL_OPTRESET 1 | #define __GETOPT_PREFIX rpl_ | #define HAVE_WORKING_O_NOATIME 0 | #define HAVE_WORKING_O_NOFOLLOW 1 | #define HAVE_MAP_ANONYMOUS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_WCHAR_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define USER_LABEL_PREFIX | #define HAVE_RAW_DECL_MEMMEM 1 | #define HAVE_RAW_DECL_MEMRCHR 1 | #define HAVE_RAW_DECL_STPCPY 1 | #define HAVE_RAW_DECL_STPNCPY 1 | #define HAVE_RAW_DECL_STRDUP 1 | #define HAVE_RAW_DECL_STRNCAT 1 | #define HAVE_RAW_DECL_STRNDUP 1 | #define HAVE_RAW_DECL_STRNLEN 1 | #define HAVE_RAW_DECL_STRPBRK 1 | #define HAVE_RAW_DECL_STRSEP 1 | #define HAVE_RAW_DECL_STRCASESTR 1 | #define HAVE_RAW_DECL_STRTOK_R 1 | #define HAVE_RAW_DECL_STRSIGNAL 1 | #define HAVE_RAW_DECL_STRCASECMP 1 | #define HAVE_RAW_DECL_STRNCASECMP 1 | #define HAVE_DECL_STRNDUP 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRNLEN 1 | #define HAVE_WCSLEN 1 | #define HAVE_WCSNLEN 1 | #define HAVE_MBRTOWC 1 | #define HAVE_WCRTOMB 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_SNPRINTF_RETVAL_C99 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_ISWBLANK 0 | #define __GETOPT_PREFIX rpl_ | #define GNULIB_PROGRAM_INVOCATION_NAME 1 | #define GNULIB_PROGRAM_INVOCATION_SHORT_NAME 1 | #define GNULIB_TEST_BTOWC 1 | #define GNULIB_TEST_GETDELIM 1 | #define GNULIB_TEST_GETLINE 1 | #define GNULIB_TEST_GETOPT_GNU 1 | #define __GETOPT_PREFIX rpl_ | #define HAVE_RAW_DECL_NL_LANGINFO 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_GNU 1 | #define GNULIB_MALLOC_GNU 1 | #define HAVE_MALLOC_POSIX 1 | #define GNULIB_TEST_MALLOC_POSIX 1 | #define GNULIB_TEST_MBRTOWC 1 | #define GNULIB_TEST_MBSINIT 1 | #define GNULIB_TEST_MBSRTOWCS 1 | #define GNULIB_TEST_MEMCHR 1 | #define GNULIB_TEST_MEMPCPY 1 | #define GNULIB_TEST_NL_LANGINFO 1 | #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 | #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 | #define GNULIB_TEST_RAWMEMCHR 1 | #define HAVE_REALLOC_POSIX 1 | #define GNULIB_TEST_REALLOC_POSIX 1 | #define _REGEX_LARGE_OFFSETS 1 | #define re_syntax_options rpl_re_syntax_options | #define re_set_syntax rpl_re_set_syntax | #define re_compile_pattern rpl_re_compile_pattern | #define re_compile_fastmap rpl_re_compile_fastmap | #define re_search rpl_re_search | #define re_search_2 rpl_re_search_2 | #define re_match rpl_re_match | #define re_match_2 rpl_re_match_2 | #define re_set_registers rpl_re_set_registers | #define re_comp rpl_re_comp | #define re_exec rpl_re_exec | #define regcomp rpl_regcomp | #define regexec rpl_regexec | #define regerror rpl_regerror | #define regfree rpl_regfree | #define HAVE_LIBINTL_H 1 | #define HAVE_DECL_ISBLANK 1 | #define HAVE_STDINT_H 1 | #define HAVE_DECL_SLEEP 1 | #define GNULIB_TEST_SLEEP 1 | #define BITSIZEOF_PTRDIFF_T 64 | #define BITSIZEOF_SIZE_T 64 | #define BITSIZEOF_SIG_ATOMIC_T 64 | #define BITSIZEOF_WCHAR_T 32 | #define BITSIZEOF_WINT_T 32 | #define HAVE_SIGNED_SIG_ATOMIC_T 1 | #define HAVE_SIGNED_WCHAR_T 1 | #define HAVE_SIGNED_WINT_T 1 | #define PTRDIFF_T_SUFFIX l | #define SIZE_T_SUFFIX ul | #define SIG_ATOMIC_T_SUFFIX l | #define WCHAR_T_SUFFIX | #define WINT_T_SUFFIX | #define HAVE_RAW_DECL_DPRINTF 1 | #define HAVE_RAW_DECL_FPURGE 1 | #define HAVE_RAW_DECL_FSEEKO 1 | #define HAVE_RAW_DECL_FTELLO 1 | #define HAVE_RAW_DECL_GETDELIM 1 | #define HAVE_RAW_DECL_GETLINE 1 | #define HAVE_RAW_DECL_POPEN 1 | #define HAVE_RAW_DECL_RENAMEAT 1 | #define HAVE_RAW_DECL_SNPRINTF 1 | #define HAVE_RAW_DECL_TMPFILE 1 | #define HAVE_RAW_DECL_VDPRINTF 1 | #define HAVE_RAW_DECL_VSNPRINTF 1 | #define HAVE_RAW_DECL__EXIT 1 | #define HAVE_RAW_DECL_ATOLL 1 | #define HAVE_RAW_DECL_GETLOADAVG 1 | #define HAVE_RAW_DECL_GETSUBOPT 1 | #define HAVE_RAW_DECL_GRANTPT 1 | #define HAVE_RAW_DECL_MKDTEMP 1 | #define HAVE_RAW_DECL_MKSTEMP 1 | #define HAVE_RAW_DECL_PTSNAME 1 | #define HAVE_RAW_DECL_REALPATH 1 | #define HAVE_RAW_DECL_RPMATCH 1 | #define HAVE_RAW_DECL_SETENV 1 | #define HAVE_RAW_DECL_STRTOD 1 | #define HAVE_RAW_DECL_STRTOLL 1 | #define HAVE_RAW_DECL_STRTOULL 1 | #define HAVE_RAW_DECL_UNLOCKPT 1 | #define HAVE_RAW_DECL_UNSETENV 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_DECL_STRNCASECMP 1 | #define GNULIB_TEST_STRCHRNUL 1 | #define GNULIB_TEST_STRERROR 1 | #define GNULIB_TEST_STRNDUP 1 | #define GNULIB_TEST_STRNLEN 1 | #define HAVE_RAW_DECL_CHOWN 1 | #define HAVE_RAW_DECL_DUP2 1 | #define HAVE_RAW_DECL_FACCESSAT 1 | #define HAVE_RAW_DECL_FCHDIR 1 | #define HAVE_RAW_DECL_FCHOWNAT 1 | #define HAVE_RAW_DECL_FSYNC 1 | #define HAVE_RAW_DECL_FTRUNCATE 1 | #define HAVE_RAW_DECL_GETCWD 1 | #define HAVE_RAW_DECL_GETDOMAINNAME 1 | #define HAVE_RAW_DECL_GETDTABLESIZE 1 | #define HAVE_RAW_DECL_GETGROUPS 1 | #define HAVE_RAW_DECL_GETHOSTNAME 1 | #define HAVE_RAW_DECL_GETLOGIN 1 | #define HAVE_RAW_DECL_GETLOGIN_R 1 | #define HAVE_RAW_DECL_GETPAGESIZE 1 | #define HAVE_RAW_DECL_GETUSERSHELL 1 | #define HAVE_RAW_DECL_SETUSERSHELL 1 | #define HAVE_RAW_DECL_ENDUSERSHELL 1 | #define HAVE_RAW_DECL_LCHOWN 1 | #define HAVE_RAW_DECL_LINK 1 | #define HAVE_RAW_DECL_LINKAT 1 | #define HAVE_RAW_DECL_LSEEK 1 | #define HAVE_RAW_DECL_PREAD 1 | #define HAVE_RAW_DECL_PWRITE 1 | #define HAVE_RAW_DECL_READLINK 1 | #define HAVE_RAW_DECL_READLINKAT 1 | #define HAVE_RAW_DECL_RMDIR 1 | #define HAVE_RAW_DECL_SLEEP 1 | #define HAVE_RAW_DECL_SYMLINK 1 | #define HAVE_RAW_DECL_SYMLINKAT 1 | #define HAVE_RAW_DECL_TTYNAME_R 1 | #define HAVE_RAW_DECL_UNLINK 1 | #define HAVE_RAW_DECL_UNLINKAT 1 | #define HAVE_RAW_DECL_USLEEP 1 | #define HAVE_VSNPRINTF 1 | #define GNULIB_TEST_VSNPRINTF 1 | #define HAVE_RAW_DECL_BTOWC 1 | #define HAVE_RAW_DECL_WCTOB 1 | #define HAVE_RAW_DECL_MBSINIT 1 | #define HAVE_RAW_DECL_MBRTOWC 1 | #define HAVE_RAW_DECL_MBRLEN 1 | #define HAVE_RAW_DECL_MBSRTOWCS 1 | #define HAVE_RAW_DECL_MBSNRTOWCS 1 | #define HAVE_RAW_DECL_WCRTOMB 1 | #define HAVE_RAW_DECL_WCSRTOMBS 1 | #define HAVE_RAW_DECL_WCSNRTOMBS 1 | #define HAVE_RAW_DECL_WCWIDTH 1 | #define GNULIB_TEST_WCRTOMB 1 | #define HAVE_STDINT_H 1 | #define MM_DEBUG 1 | #define HAVE_FT2BUILD_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char geom_gettree (); | int | main (void) | { | return geom_gettree (); | ; | return 0; | } configure:22042: result: no configure:22052: error: Your platform requires libgeom