-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error upon compiling in gcc #71
Comments
Come on, this is a basic dev problem (with no detail) that you should not be pestering the maintainer with. Please make SOME effort. Rgds Damon |
Hi @prtkdas96 and thanks for checking out this project :) If you would like help compiling the project, I'll need a bit more information to be able to. I do agree with @DamonHD that perhaps you could try seeking help on stackoverflow.com or something similar. |
Thanks for the help. I am sorry for disturbing you all. I am a newbie and was confused where to address my problem. @kokke I am using the latest version of Ubuntu and using gcc compiler. Although the program is compiling, running the same generates the error mentioned above. |
No problem @prtkdas96 we were all newbies once :) How are you compiling the program? |
I am compiling the program using gcc -c aes.c -DCBC=1 -DECB=0 -o aes2. After that I am running ./aes2 which initially gave me error. But after some digging, I found out that using chmod results in successful compilation. But even after doing so, I am getting the cannot execute binary file error. Should I try recompiling it in a virtual box with ubuntu server for arm installed? |
If you are just running |
I'm closing this issue since it seems it wasn't a problem with the code. Did you get the code to compile and run after all ? |
cannot execute binary file: Exec format error
The text was updated successfully, but these errors were encountered: