vk496 / cropto1_bs

10 stars 5 forks source link

On Kali linux not compilling #1

Open level0001 opened 5 years ago

level0001 commented 5 years ago

Hello on Kali linux not compilling.

level0001 commented 5 years ago

http://imgbox.com/0MzLi8Sj

vk496 commented 5 years ago

Are you building on the last commit?

const attribute is present in the code, you should not receive that error...

level0001 commented 5 years ago

Yes , kali and ubuntu 64 bit the same.

vk496 commented 5 years ago

Try to execute these commands in order and paste here the output:

git clone https://github.com/vk496/cropto1_bs
cd cropto1_bs/
make

Salu2

level0001 commented 5 years ago

Try it yourself ,not compiled.

maxzaycev commented 5 years ago

I have the same problem on gcc(clang on Mac build it fine), but solved it. @vk496 please change const to #define (in C const doesn`t means const, but read only).

vk496 commented 5 years ago

@maxzaycev thanks for the tip!

@level0001 could you please try it again with the last commit (https://github.com/vk496/cropto1_bs/commit/140795d6a02726edd65d9b7e9f09a51551b38766)?

BR