I cannot get llhttp to link with either g++ or clang++ on Windows.
MINGW64 /c/source/repos/llhttp (master)
$ mingw32-make --version
GNU Make 4.2.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Generating/Building:
I have tried building with the included makefile and also directly with gcc and clang. It builds fine under either. The problem comes up under linking.
My problem was that I was building llhttp.c without api.o and http.o which is where these unresolved external symbols are located. I was able to link against the libllhttp.a built by make.
Problem:
I cannot get llhttp to link with either g++ or clang++ on Windows.
Generating/Building:
I have tried building with the included makefile and also directly with
gcc
andclang
. It builds fine under either. The problem comes up under linking.I made a very simple repository here with the generated
llhttp.h
llhttp.c
andllhttp.o
clang++ LD Errors
g++ LD Errors
Also tried the version of clang that comes with VS2019