RUB-SysSec / OMEN

OMEN: Ordered Markov ENumerator - Password Guesser
https://www.mobsec.rub.de
313 stars 43 forks source link

Make CFLAG issue on old version of Ubuntu #7

Open lakiw opened 7 years ago

lakiw commented 7 years ago

I tried to compile OMEN on a very old version of Ubuntu (long story), and ran into the following issues when running Make:

cc1: error: unrecognized command line option ‘-Wpedantic’ cc1: error: unrecognized command line option ‘-std=gnu11’

To fix it, I changed the CFLAG variable in the makefile to -pedantic and -std=gnu99. After that OMEN compiled and worked as expected.

Ubuntu Version: 12.04.5 LTS gcc version 4.6.3

Note, I ran into a similar problem when I tried that out on a similarly out of date CentoOS release 6.7