verity icon indicating copy to clipboard operation
verity copied to clipboard

pem2mincrypt doesn't build on Ubuntu

Open FrankRizzo890 opened this issue 10 years ago • 4 comments

Line #12 is now this: gcc $(LDFLAGS) -o $(EXE) $(OBJ)

In order for Ubuntu to build it, it needs to be this: gcc -o $(EXE) $(OBJ) $(LDFLAGS)

FrankRizzo890 avatar Apr 14 '15 17:04 FrankRizzo890

His is just a sample Makefile, it is not meant to be portable, so you have to tweak it for your environment. What versions of Ubuntu and gcc are you using?

nelenkov avatar Apr 15 '15 04:04 nelenkov

Linux builduntuvm 3.16.0-34-generic #47-Ubuntu SMP Fri Apr 10 18:02:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1

I also tried it on a bone-stock Ubuntu 14.04 64-bit workstation. (Same result).

FrankRizzo890 avatar Apr 18 '15 22:04 FrankRizzo890

So, I guess what I'm saying is, if you just change that line in the Makefile, it'll work for everyone. :-)

FrankRizzo890 avatar Apr 20 '15 02:04 FrankRizzo890

Maybe not quite for every one, but most people :) Please open a PR and I'll merge it.

nelenkov avatar Apr 20 '15 03:04 nelenkov