=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for memtester-4.3.0 ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ./compile memtester.c memtester.c:142:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (env_testmask = getenv("MEMTESTER_TEST_MASK")) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:142:22: note: place parentheses around the assignment to silence this warning if (env_testmask = getenv("MEMTESTER_TEST_MASK")) { ^ ( ) memtester.c:142:22: note: use '==' to turn this assignment into an equality comparison if (env_testmask = getenv("MEMTESTER_TEST_MASK")) { ^ == memtester.c:251:17: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] wantbytes, pagesize); ^~~~~~~~~ memtester.c:251:28: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] wantbytes, pagesize); ^~~~~~~~ 3 warnings generated. ./compile tests.c tests.c:46:45: warning: format specifies type 'unsigned long' but the argument has type '__off_t' (aka 'long long') [-Wformat] (ul) *p1, (ul) *p2, physaddr); ^~~~~~~~ tests.c:87:29: warning: format specifies type 'unsigned long' but the argument has type '__off_t' (aka 'long long') [-Wformat] physaddr); ^~~~~~~~ 2 warnings generated. cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load ./extra-libs.sh "`cat systype`" >extra-libs ./load memtester tests.o `cat extra-libs` memtester.o: In function `main': memtester.c:(.text+0x550): undefined reference to `mlock' memtester.c:(.text+0x653): undefined reference to `mlock' memtester.c:(.text+0x8eb): undefined reference to `munlock' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/memtester/work/memtester-4.3.0 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/memtester *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/memtester