collect2: ld returned 1 exit status ./.libs/libgd.a(gdft.o): In function `gdFontCacheShutdown': gdft.c:(.text+0x583): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x5a5): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x5b1): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdFontCacheSetup': gdft.c:(.text+0x5ea): undefined reference to `pthread_mutex_init' gdft.c:(.text+0x60a): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdImageStringFTEx': gdft.c:(.text+0x72e): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x785): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x92d): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x10a8): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1102): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1816): undefined reference to `pthread_mutex_unlock' ./.libs/libgd.a(gdft.o):gdft.c:(.text+0x1830): more undefined references to `pthread_mutex_unlock' follow /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x1794): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x17ab): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_table_bases': unwind-dw2-fde-glibc.c:(.text+0x18ae): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x18c5): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__deregister_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x198c): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x19ff): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `_Unwind_Find_FDE': unwind-dw2-fde-glibc.c:(.text+0x1aba): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x1b09): undefined reference to `pthread_mutex_unlock' collect2: ld returned 1 exit status make[3]: *** [fontwheeltest] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [fontsizetest] Error 1 libtool: link: /home/test/test/output1/host/usr/bin/i686-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os --static -o gd2time gd2time.o -L/home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib ./.libs/libgd.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libpng14.a -lz -lm libtool: link: /home/test/test/output1/host/usr/bin/i686-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os --static -o testac testac.o -L/home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib ./.libs/libgd.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libpng14.a -lz -lm libtool: link: /home/test/test/output1/host/usr/bin/i686-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os --static -o gdtestft gdtestft.o -L/home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib ./.libs/libgd.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libpng14.a -lz -lm libtool: link: /home/test/test/output1/host/usr/bin/i686-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os --static -o circletexttest circletexttest.o -L/home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib ./.libs/libgd.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.a /home/test/test/output1/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libpng14.a -lz -lm ./.libs/libgd.a(gdft.o): In function `gdFontCacheShutdown': gdft.c:(.text+0x583): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x5a5): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x5b1): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdFontCacheSetup': gdft.c:(.text+0x5ea): undefined reference to `pthread_mutex_init' gdft.c:(.text+0x60a): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdImageStringFTEx': gdft.c:(.text+0x72e): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x785): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x92d): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x10a8): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1102): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1816): undefined reference to `pthread_mutex_unlock' ./.libs/libgd.a(gdft.o):gdft.c:(.text+0x1830): more undefined references to `pthread_mutex_unlock' follow /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x1794): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x17ab): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_table_bases': unwind-dw2-fde-glibc.c:(.text+0x18ae): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x18c5): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__deregister_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x198c): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x19ff): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `_Unwind_Find_FDE': unwind-dw2-fde-glibc.c:(.text+0x1aba): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x1b09): undefined reference to `pthread_mutex_unlock' collect2: ld returned 1 exit status make[3]: *** [gdtestft] Error 1 ./.libs/libgd.a(gdft.o): In function `gdFontCacheShutdown': gdft.c:(.text+0x583): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x5a5): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x5b1): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdFontCacheSetup': gdft.c:(.text+0x5ea): undefined reference to `pthread_mutex_init' gdft.c:(.text+0x60a): undefined reference to `pthread_mutex_destroy' ./.libs/libgd.a(gdft.o): In function `gdImageStringFTEx': gdft.c:(.text+0x72e): undefined reference to `pthread_mutex_lock' gdft.c:(.text+0x785): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x92d): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x10a8): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1102): undefined reference to `pthread_mutex_unlock' gdft.c:(.text+0x1816): undefined reference to `pthread_mutex_unlock' ./.libs/libgd.a(gdft.o):gdft.c:(.text+0x1830): more undefined references to `pthread_mutex_unlock' follow /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x1794): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x17ab): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__register_frame_info_table_bases': unwind-dw2-fde-glibc.c:(.text+0x18ae): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x18c5): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `__deregister_frame_info_bases': unwind-dw2-fde-glibc.c:(.text+0x198c): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x19ff): undefined reference to `pthread_mutex_unlock' /home/test/test/output1/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In function `_Unwind_Find_FDE': unwind-dw2-fde-glibc.c:(.text+0x1aba): undefined reference to `pthread_mutex_lock' unwind-dw2-fde-glibc.c:(.text+0x1b09): undefined reference to `pthread_mutex_unlock' collect2: ld returned 1 exit status make[3]: *** [circletexttest] Error 1 make[3]: Leaving directory `/home/test/test/output1/build/gd-2.0.35' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/test/test/output1/build/gd-2.0.35' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output1/build/gd-2.0.35' make: *** [/home/test/test/output1/build/gd-2.0.35/.stamp_built] Error 2