Closed gisleDK closed 7 years ago
Problem solved by changing
static: LDFLAGS = -static
to
LDFLAGS = -static
in both makefile and bwt/Makefile
Great that it works now.
Your change should be the same as just doing make static
.
Maybe something isn't right in your glibc library setup, so that the normal build does not work and the static build works. I also have gcc 5.4.0 on Ubuntu here and it compiles fine.
Probably one of the joys of having several compilers installed locally. Thanks for the suggestion!
Hi tried updating the compiler to 5.4.0 but still same error. This link suggests that the problem could be that -lpthread is included several times although I fail to see where.