I installed testu01 on my mac (os el captain). I want to compile one of examples using gcc, code below. But I get the following error, below. Did anybody run TestU01 on x86_64 successfully? Any other suggestions? thanks
MacBook-Pro-2:examples Joan$ gcc -std=c99 -Wall -O3 -o birth1 birth1.c -I/Users/TestU01/TestU01-1.2.3/include -I/Users/TestU01/TestU01-1.2.3/mylib Undefined symbols for architecture x86_64: "_smarsa_BirthdaySpacings", referenced from: _main in birth1-c99705.o "_ulcg_CreateLCG", referenced from: _main in birth1-c99705.o "_ulcg_DeleteGen", referenced from: _main in birth1-c99705.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Aucun commentaire:
Enregistrer un commentaire