So I\'ve been coding something on 32-bit and yesterday I needed to build a dll and I had a couple of problems with that. Anyway I solved them here.
Unfortunately eve
this work as a charm. for who not know yet this easy used
an open file called Makefile.am or Makefile. Just up to your config.
look the code at this _a_CXXFLAGS = or just CXXFLAGS =
add after that files -shared -fPIC
this example
before
crypto_libmubdi_crypto_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIC_FLAGS) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
after
crypto_libmubdi_crypto_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIC_FLAGS) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -shared -fPIC
these bugs cause we not put shared for the files or need -fPIC strings/tags.
Note: I experience on to build my blockchain. and this cause added this crypto/sph_sha2big.c