cloudflare / cloudflare/cfssl

Failed to compile in windows using cygwin

Open
#1,167 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hey
i try to download and compile ( which is done automatically ) and getting this error :
```
C:\Dev\devops\vault>go get -v -u github.com/cloudflare/cfssl/cmd/cfssl
github.com/cloudflare/cfssl (download)
github.com/cloudflare/cfssl/vendor/github.com/mattn/go-sqlite3
# github.com/cloudflare/cfssl/vendor/github.com/mattn/go-sqlite3
**/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmingwex
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmingw32
collect2: error: ld returned 1 exit status**
# github.com/cloudflare/cfssl/vendor/github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:123303:10: warning: function may return address of local variable [-Wreturn-local-addr]
123303 | return pNew;
| ^~~~
sqlite3-binding.c:123263:10: note: declared here
123263 | Select standin;
| ^~~~~~~
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.