V Forum

[ log in ]

FreeBSD 12.1 clang10 makefile bug and fix

emorras May 29 10:02
Hi, I get the next error when fresh compile on FreeBSD 12.1 clang10.
======================
olea% rm -rf v
olea% git clone https://github.com/vlang/v
Cloning into 'v'...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100%
(29/29), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 41076 (delta 8), reused 14 (delta 5), pack-reused 41047
Receiving objects: 100% (41076/41076), 15.26 MiB | 6.40 MiB/s, done.
Resolving deltas: 100% (28982/28982), done.
olea% cd v
olea% make
rm -rf vc/
git clo
ne --depth 1 --quiet https://github.com/vlang/vc
cc -std=gnu11 -w -o v vc/v.c -lm -lexecinfo
ld: error: undefined symbol: pthread_create
>>> referenced by v.c
>>> /tmp/v-c1fdd0.o:(sync__PoolProcessor_work_on_pointers)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error



Powered by Vorum, open-source blogging/forum software written in V