fatihsnsy / aSYNcrone

[STILL UNDER DEVELOPMENT] aSYNcrone is a SYN Flood DDoS Tool!
240 stars 54 forks source link

gcc aSYNcrone.c -o aSYNcrone -lpthread -O2 #8

Open bugc0d3r opened 1 year ago

bugc0d3r commented 1 year ago

In file included from aSYNcrone.c:15: ./src/random-ip.c:1:10: fatal error: 'bits/types/struct_timespec.h' file not found

include <bits/types/struct_timespec.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

coding-ray commented 8 months ago

BugCoder:

Hi, this is Ray, a passerby who finds this project via Z4nzu/hackingtool.

The header bits/types/struct_timespec.h (under /usr/include/ in Linux OSes by default) is included in C++ libraries, such as build-essential package in the APT repository.

If you didn't install any of C++ libraries, please install one of them, such as by issuing the following command in Linux OSes like Ubuntu, Debian or CentOS. (Referenced from here)

sudo apt install build-essential

If you have installed one or more C++ libraries, you may consider one of the following solutions:

  1. Include the library path to your environment variable PATH in your shell configuration. Check this post for more info.
  2. Create a link between the installed struct_timespec.h to a path in PATH like this answer.

Good luck, Ray Huang