>>> lmdb 0.9.31 Extracting gzip -d -c /home/buildroot/instance-0/dl/lmdb/lmdb-0.9.31.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lmdb-0.9.31 -xf - >>> lmdb 0.9.31 Patching >>> lmdb 0.9.31 Configuring >>> lmdb 0.9.31 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-as" LD="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-ld" NM="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++" FC="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl -C /home/buildroot/instance-0/output-1/build/lmdb-0.9.31/libraries/liblmdb ILIBS="liblmdb.so" XCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2" make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lmdb-0.9.31/libraries/liblmdb' /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb.c -o mdb.lo /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c midl.c -o midl.lo /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb_stat.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c midl.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb_copy.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb_dump.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mdb_load.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mtest.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mtest2.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mtest3.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mtest4.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c mtest5.c /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar rs liblmdb.a mdb.o midl.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ar: creating liblmdb.a /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mdb_stat.o liblmdb.a -o mdb_stat /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mdb_copy.o liblmdb.a -o mdb_copy /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mdb_dump.o liblmdb.a -o mdb_dump /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mdb_load.o liblmdb.a -o mdb_load /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mtest.o liblmdb.a -o mtest /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mtest2.o liblmdb.a -o mtest2 /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mtest3.o liblmdb.a -o mtest3 /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mtest4.o liblmdb.a -o mtest4 /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 mtest5.o liblmdb.a -o mtest5 liblmdb.a(mdb.o): In function `mdb_txn_renew0': mdb.c:(.text+0x2148): undefined reference to `pthread_getspecific' mdb.c:(.text+0x22a4): undefined reference to `pthread_setspecific' liblmdb.a(mdb.o): In function `mdb_env_copythr': mdb.c:(.text.unlikely+0x384liblmdb.a)(:mdb.o )undefined: referenceIn tofunction ``pthread_sigmaskmdb_txn_renew0'' :liblmdb.a (mdb.cmdb.o:)(:. textIn+ 0x2148function) :` mdb_env_close0undefined' :reference mdb.cto: (`.pthread_getspecifictext.unlikely'+ 0x6e0mdb.c)::( .undefinedtext +reference0x22a4 )to: `undefinedpthread_key_delete 'reference liblmdb.ato( mdb.o`)pthread_setspecific:' Inliblmdb.a (functionmdb.o )`:mdb_env_setup_locks 'In: liblmdb.a function(mdb.c mdb.o:`)(mdb_env_copythr:.' text.unlikely:In+ 0x83cmdb.cfunction): :(` .mdb_txn_renew0undefinedtext.unlikely' +:reference0x384 )mdb.cto:: (`undefined.pthread_key_create text'reference+ 0x2148mdb.cto): :(`liblmdb.a .pthread_sigmask(undefinedtext.unlikely'mdb.o + )reference0x928liblmdb.a: )( to:mdb.oIn ) `undefined:functionpthread_getspecific 'referenceIn` mdb_txn_renew0mdb.ctofunction': :(`` .pthread_mutexattr_initmdb_env_close0mdb.ctext'':+ :(0x22a4mdb.c .):mdb.ctext:(:+ .(0x2148undefinedtext.unlikely.) +text.unlikely:reference0x93c+ )0x6e0undefinedto:) :reference`undefined pthread_setspecific undefinedto'reference reference`liblmdb.ato pthread_getspecific( to'mdb.o` )pthread_mutexattr_setpshared`mdb.c:'pthread_key_delete: '(Inmdb.c . :liblmdb.atextfunction((+ .mdb.o0x22a4`text.unlikely))mdb_env_copythr+::'0x950 :)Inundefined : mdb.c functionreference:undefined ( `to.referencemdb_env_setup_locks text.unlikely '`+to:pthread_setspecific0x384 ')`mdb.c :pthread_mutexattr_setrobust:liblmdb.a '((undefined .mdb.o mdb.ctext.unlikely)reference:+: (0x83c to.)In text.unlikely: `+ functionpthread_sigmask0x98cundefined ') ` :referencemdb_env_copythrliblmdb.a '(undefinedto:mdb.o )reference`mdb.c: pthread_key_create: to'(In . `mdb.ctext.unlikelyfunctionpthread_mutexattr_destroy:+ '(0x384` .)mdb_env_close0liblmdb.atext.unlikely:'(+ :mdb.o0x928undefined )) mdb.c::reference: (Inundefinedto. text.unlikelyfunctionreference`+ pthread_sigmask0x6e0`to')mdb_mutex_failed.part.9 :'`liblmdb.a :pthread_mutexattr_init(undefined 'mdb.o mdb.c )reference:mdb.c: (: to.(In text.unlikely. `+text.unlikelyfunctionpthread_key_delete0x10f0+ ')0x93c` :)mdb_env_close0liblmdb.a :'(undefined :mdb.o undefined )reference mdb.c: reference: to (In to. ` text.unlikelyfunctionpthread_mutex_consistent`+ 'pthread_mutexattr_setpshared0x6e0` ')mdb_env_setup_locksliblmdb.a :'(mdb.c :mdb.o:undefined )( mdb.c:.reference: text.unlikely (In+to. 0x950 text.unlikelyfunction)`+ :pthread_key_delete0x83c` ')mdb_env_copyfd1undefined :' liblmdb.a :reference(undefined mdb.o mdb.cto)referenceliblmdb.a: : ((` tomdb.o.pthread_mutexattr_setrobustIn )text.unlikely' `:+ functionpthread_key_create 0x1cd8mdb.c 'In):` :(mdb_env_setup_locksmdb.cfunction .': undefinedtext.unlikely:(` + .mdb_txn_renew0reference0x98cmdb.ctext.unlikely' ):+:to:(0x928 .)mdb.c`undefinedtext.unlikely::pthread_create + ('reference0x83cundefined. ) textmdb.cto:reference+: 0x2148(`undefinedto).pthread_mutexattr_destroy :text.unlikely'reference` + pthread_mutexattr_initundefined0x1ec4liblmdb.ato' )( reference:mdb.o`mdb.c )pthread_key_create:toundefined:'( .`referenceInmdb.ctext.unlikelypthread_getspecific :+'tofunction(0x93c .)mdb.c``text.unlikely::pthread_joinmdb_mutex_failed.part.9+ (''0x928undefined. :) text :reference+mdb.c 0x22a4:undefinedto)( :.reference` text.unlikely pthread_mutexattr_setpsharedundefined+to' 0x10f0 reference)`mdb.c :pthread_mutexattr_init:to '( undefined .` collect2: error: ld returned 1 exit status mdb.ctext.unlikelypthread_setspecificreference:+' (0x950 to.)liblmdb.a text.unlikely:(`+ mdb.opthread_mutex_consistent0x93cundefined)') : :reference liblmdb.a In(undefinedto mdb.o function)reference` : pthread_mutexattr_setrobust` to'mdb_env_copythrIn ' `mdb.c:functionpthread_mutexattr_setpshared: '(mdb.c` .:mdb_env_copyfd1mdb.ctext.unlikely(':+.:(0x98ctext.unlikely .)+mdb.ctext.unlikely:0x384:+ )(0x950undefined:.) text.unlikely:referenceundefined+ 0x1cd8undefinedtoreference) :reference`to pthread_mutexattr_destroy undefinedto'` pthread_sigmaskreference`liblmdb.a' pthread_mutexattr_setrobust( to'mdb.oliblmdb.a )(`mdb.c:mdb.opthread_create: )'(In: . mdb.ctext.unlikelyfunctionIn:+ (0x98c`function.)mdb_mutex_failed.part.9 text.unlikely:'`+ :mdb_env_close00x1ec4undefined ') mdb.c::reference: (mdb.cundefinedto.: text.unlikely(reference`+. pthread_mutexattr_destroy0x10f0text.unlikelyto')+ :0x6e0`liblmdb.a )pthread_join(undefined:'mdb.omake[1]: *** [Makefile:95: mdb_stat] Error 1 )referenceundefined: toreferenceIn make[1]: *** Waiting for unfinished jobs.... `tofunctionpthread_mutex_consistent '`` pthread_key_deletemdb_mutex_failed.part.9liblmdb.a''( :mdb.oliblmdb.acollect2: error: ld returned 1 exit status )(mdb.c:mdb.o: )(In:. text.unlikelyfunctionIn+ 0x10f0`function)mdb_env_copyfd1 :'` :mdb_env_setup_locksundefined ' mdb.c:reference: (mdb.cto.: text.unlikely(`+.pthread_mutex_consistent0x1cd8text.unlikely')+ :0x83cliblmdb.a )(undefined:mdb.o )referenceundefined: toreferenceIn `tofunctionpthread_create '`` pthread_key_createmdb_env_copyfd1mdb.c'': :(mdb.c .:mdb.ctext.unlikely(:+.(0x1ec4text.unlikely.)+text.unlikely:0x928+ )0x1cd8undefined:) :referenceundefined undefinedtoreference reference`to pthread_join to'` pthread_mutexattr_init`'pthread_create 'mdb.c :mdb.c(:.(text.unlikely.+text.unlikely0x93c+)0x1ec4:) :undefined undefinedreference referenceto tocollect2: error: ld returned 1 exit status ` pthread_mutexattr_setpshared`'pthread_join 'mdb.c :(.text.unlikely+0x950): undefined reference to `pthread_mutexattr_setrobust' mdb.c:(.text.unlikely+0x98c): undefined reference to `pthread_mutexattr_destroy' liblmdb.a(mdb.o): In function `collect2: error: ld returned 1 exit status mdb_mutex_failed.part.9': mdb.c:(.text.unlikely+0x10f0): undefined reference to `pthread_mutex_consistent' liblmdb.a(mdb.o): In function `mdb_env_copyfd1': mdb.c:(.text.unlikely+0x1cd8): undefinedmake[1]: *** [Makefile:95: mdb_load] Error 1 reference to `pthread_create' mdb.c:(.text.unlikely+0x1ec4): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:95: mtest] Error 1 make[1]: *** [Makefile:95: mtest3] Error 1 make[1]: *** [Makefile:95: mtest4] Error 1 liblmdb.a(mdb.o): In function `mdb_txn_renew0': mdb.c:(.text+0x2148): undefined reference to `pthread_getspecific' mdb.c:(.text+0x22a4): undefined reference to `pthread_setspecific' liblmdb.a(mdb.o): In function `mdb_env_copythr': mdb.c:(.text.unlikely+0x384): undefined reference to `pthread_sigmask' liblmdb.a(mdb.o): In function `mdb_env_close0': mdb.c:(.text.unlikely+0x6e0): undefined reference to `pthread_key_delete' liblmdb.a(mdb.o): In function `mdb_env_setup_locks': mdb.c:(.text.unlikely+0x83c): undefined reference to `pthread_key_create' mdb.c:(.text.unlikely+0x928): undefined reference to `pthread_mutexattr_init' mdb.c:(.text.unlikely+0x93c): undefined reference to `pthread_mutexattr_setpshared' mdb.c:(.text.unlikely+0x950): undefined reference to `pthread_mutexattr_setrobust' mdb.c:(.text.unlikely+0x98c): undefined reference to `pthread_mutexattr_destroy' liblmdb.a(mdb.o): In function `mdb_mutex_failed.part.9': mdb.c:(.text.unlikely+0x10f0): undefined reference to `pthread_mutex_consistent' liblmdb.a(mdb.o): In function `mdb_env_copyfd1': mdb.c:(.text.unlikely+0x1cd8): undefined reference to `pthread_create' mdb.c:(.text.unlikely+0x1ec4): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status liblmdb.a(mdb.o): In function `mdb_txn_renew0': mdb.c:(.text+0x2148): undefined reference to `pthread_getspecific' mdb.c:(.text+0x22a4): undefined reference tomake[1]: *** [Makefile:95: mdb_copy] Error 1 `pthread_setspecific' liblmdb.a(mdb.o): In function `mdb_env_copythr': mdb.c:(.text.unlikely+0x384): undefined reference to `pthread_sigmask' liblmdb.a(mdb.o): In function `mdb_env_close0': mdb.c:(.text.unlikely+0x6e0): undefined reference to `pthread_key_delete' liblmdb.a(mdb.o): In function `mdb_env_setup_locks': mdb.c:(.text.unlikely+0x83c): undefined reference to `pthread_key_create' mdb.c:(.text.unlikely+0x928): undefined reference to `pthread_mutexattr_init' mdb.c:(.text.unlikely+0x93c): undefined reference to `pthread_mutexattr_setpshared' mdb.c:(.text.unlikely+0x950): undefined reference to `pthread_mutexattr_setrobust' mdb.c:(.text.unlikely+0x98c): undefined reference to `pthread_mutexattr_destroy' liblmdb.a(mdb.o): In function `mdb_mutex_failed.part.9': mdb.c:(.text.unlikely+0x10f0): undefined reference to `pthread_mutex_consistent' liblmdb.a(mdb.o): In function `mdb_env_copyfd1': mdb.c:(.text.unlikely+0x1cd8): undefined reference to `pthread_create' mdb.c:(.text.unlikely+0x1ec4): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:95: mtest5] Error 1 liblmdb.a(mdb.o):liblmdb.a (Inmdb.o )function: `Inmdb_txn_renew0 'function: `mdb.cmdb_txn_renew0:'(:. textmdb.c+:0x2148().:text +undefined0x2148 )reference: toundefined `referencepthread_getspecific 'to mdb.c`:pthread_getspecific('. textmdb.c+:0x22a4().:text +undefined0x22a4 )reference: toundefined `referencepthread_setspecific 'to liblmdb.a`(pthread_setspecificmdb.o') :liblmdb.a (Inmdb.o )function: `Inmdb_env_copythr 'function: `mdb.cmdb_env_copythr:'(:. text.unlikelymdb.c+:0x384().:text.unlikely +undefined0x384 )reference: toundefined `referencepthread_sigmask 'to liblmdb.a`(pthread_sigmaskmdb.o') :liblmdb.a (Inmdb.o )function: `Inmdb_env_close0 'function: `mdb.cmdb_env_close0:'(:. text.unlikelymdb.c+:0x6e0().:text.unlikely +undefined0x6e0 )reference: toundefined `referencepthread_key_delete 'to liblmdb.a`(pthread_key_deletemdb.o') :liblmdb.a (Inmdb.o )function: `Inmdb_env_setup_locks 'function: `mdb.cmdb_env_setup_locks:'(:. text.unlikelymdb.c+:0x83c().:text.unlikely +undefined0x83c )reference: toundefined `referencepthread_key_create 'to mdb.c`:pthread_key_create('. text.unlikelymdb.c+:0x928().:text.unlikely +undefined0x928 )reference: toundefined `referencepthread_mutexattr_init 'to mdb.c`:pthread_mutexattr_init('. text.unlikelymdb.c+:0x93c().:text.unlikely +undefined0x93c )reference: toundefined `referencepthread_mutexattr_setpshared 'to mdb.c`:pthread_mutexattr_setpshared('. text.unlikelymdb.c+:0x950().:text.unlikely +undefined0x950 )reference: toundefined `referencepthread_mutexattr_setrobust 'to mdb.c`:pthread_mutexattr_setrobust('. text.unlikelymdb.c+:0x98c().:text.unlikely +undefined0x98c )reference: toundefined `referencepthread_mutexattr_destroy 'to liblmdb.a`(pthread_mutexattr_destroymdb.o') :liblmdb.a (Inmdb.o )function: `Inmdb_mutex_failed.part.9 'function: `mdb.cmdb_mutex_failed.part.9:'(:. text.unlikelymdb.c+:0x10f0().:text.unlikely +undefined0x10f0 )reference: toundefined `referencepthread_mutex_consistent 'to liblmdb.a`(pthread_mutex_consistentmdb.o') :liblmdb.a (Inmdb.o )function: `Inmdb_env_copyfd1 'function: `mdb.cmdb_env_copyfd1:'(:. text.unlikelymdb.c+:0x1cd8().:text.unlikely +undefined0x1cd8 )reference: toundefined `referencepthread_create 'to mdb.c`:pthread_create('. text.unlikelymdb.c+:0x1ec4().:text.unlikely +undefined0x1ec4 )reference: toundefined `referencepthread_join 'to `pthread_join' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[1]: *** [Makefile:95: mtest2] Error 1 make[1]: *** [Makefile:95: mdb_dump] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lmdb-0.9.31/libraries/liblmdb' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/lmdb-0.9.31/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'