altf4 / untwister

Seed recovery tool for PRNGs
GNU General Public License v3.0
367 stars 42 forks source link

Error - 'make' command to build untwister or 'make tests' to build the unit tests #26

Closed NewtoCScience closed 9 years ago

NewtoCScience commented 9 years ago

Hello, I am attempting to compile the Untwister by using Linux/Ubuntu in the terminal. I am using the sources from https://github.com/altf4/untwister. There is an error I've been trying to fix, but no success. When in the directory, and I run make, I get a lot of...

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11 /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12 .... see attached screenshots

and

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function _start': (.text+0x20): undefined reference tomain' collect2: error: ld returned 1 exit status make: *\ [all] Error 1

I also attached the Makefile. makefile makefile_bottom libcppunit makecommand makecommand2

Thank you in advance for any help on resolutions.

NewtoCScience commented 9 years ago

Discovered there was an updated Makefile, per Moloch-- authored on Dec 13, 2014, Added std::string to avoid compiler warnings with gcc. Replaced my former Makefile with updated Makefile, errors no longer showing. https://github.com/moloch--/untwister/commit/9de3ebad786e4aaf2ad4eb9baece2ace4dd00149.