From 95315f95d2f5af3d3c0813aef175430bc9931344 Mon Sep 17 00:00:00 2001 From: cyk <57099728+cyk2018@users.noreply.github.com> Date: Sat, 6 Apr 2024 13:51:01 +0800 Subject: [PATCH] Update user_manual.md for static linker when I use static link method to compile , result is undefined with pthread_create, so we should add -lpthread --- docs/user_manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user_manual.md b/docs/user_manual.md index b5cd632f15..0855f81194 100644 --- a/docs/user_manual.md +++ b/docs/user_manual.md @@ -159,7 +159,7 @@ int main(int argc, char* argv[]) ``` ``` -gcc -o time_dgemm time_dgemm.c /your/path/libopenblas.a +gcc -o time_dgemm time_dgemm.c /your/path/libopenblas.a -lpthread ./time_dgemm ```