Giter VIP home page Giter VIP logo

Comments (7)

DamonHD avatar DamonHD commented on August 19, 2024

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

from tiny-aes-c.

kokke avatar kokke commented on August 19, 2024

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 need to know how you compiled the code and how you tried to run it.
In other words: What have you tried and why did it not work?

I do agree with @DamonHD that perhaps you could try seeking help on stackoverflow.com or something similar.
Issues are usually reserved for reporting defects and I am sure that your problem comes from incorrect use somehow :)

from tiny-aes-c.

prtkdas96 avatar prtkdas96 commented on August 19, 2024

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.

from tiny-aes-c.

kokke avatar kokke commented on August 19, 2024

No problem @prtkdas96 we were all newbies once :)

How are you compiling the program?
Which commands are you running?

from tiny-aes-c.

prtkdas96 avatar prtkdas96 commented on August 19, 2024

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?

from tiny-aes-c.

kokke avatar kokke commented on August 19, 2024

If you are just running gcc -c aes.c -DCBC=1 -DECB=0 -o aes2 you cannot execute the output. That is just object-code, not a binary.
You need to also add a main()-function and compile that and link with the aes2-object code.

from tiny-aes-c.

kokke avatar kokke commented on August 19, 2024

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 ?

from tiny-aes-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.