[build2] Build error on openbsd 7.1
Dirty Dawn
dirtdawn777 at protonmail.ch
Fri May 13 07:19:09 UTC 2022
Hi and thank you for this great project.
I'm build2 user on linux and i'm looking for switch to openbsd.
Is openbsd supported?
When i try to build build2 i get the following error.
$ uname -a
OpenBSD openbsd.station 7.1 GENERIC.MP#516 amd64
$ c++ --version
OpenBSD clang version 13.0.0
Target: amd64-unknown-openbsd7.1
Thread model: posix
InstalledDir: /usr/bin
$ doas sh build2-install-0.14.0.sh --cxx c++ -j 1
c ../libpkgconf/libpkgconf/c{bsdstubs}
/home/kalte/build/build2/build2-toolchain-0.14.0/libpkgconf/libpkgconf/bsdstubs.c:34:1: error: static declaration of 'strlcpy' follows non-static declaration
strlcpy(char *dst, const char *src, size_t siz)
^
/usr/include/string.h:129:9: note: previous declaration is here
size_t strlcpy(char *, const char *, size_t)
^
/home/kalte/build/build2/build2-toolchain-0.14.0/libpkgconf/libpkgconf/bsdstubs.c:69:1: error: static declaration of 'strlcat' follows non-static declaration
strlcat(char *dst, const char *src, size_t siz)
^
/usr/include/string.h:127:9: note: previous declaration is here
size_t strlcat(char *, const char *, size_t)
^
2 errors generated.
c ../libpkgconf/libpkgconf/c{fragment}
Thank you
Sent with [ProtonMail](https://protonmail.com/) secure email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20220513/e0115919/attachment.html>
More information about the users
mailing list