Determining if the uuid_generate exist failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_be752/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_be752.dir/build.make CMakeFiles/cmTC_be752.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_be752.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/sparc64-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -o CMakeFiles/cmTC_be752.dir/CheckSymbolExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_be752 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_be752.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/sparc64-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_be752.dir/CheckSymbolExists.c.o -o cmTC_be752 CMakeFiles/cmTC_be752.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x4): undefined reference to `uuid_generate' CheckSymbolExists.c:(.text.startup+0x8): undefined reference to `uuid_generate' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_be752] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_be752/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp' File /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/qpid-proton-0.9.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef uuid_generate return ((int*)(&uuid_generate))[argc]; #else (void)argc; return 0; #endif }