• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help me :o

GoldRoger

ॐ Ikkish ॐ
Joined
Sep 12, 2007
Messages
624
Reaction score
119
Location
Sweden
Code:
Kompilator: Default compiler
Building Makefile: "C:\Documents and Settings\Simon Hansson\Skrivbord\Makefile.win"
Kör  make...
make.exe -f "C:\Documents and Settings\Simon Hansson\Skrivbord\Makefile.win" all
g++.exe -c tfn2k/src/aes.c -o tfn2k/src/aes.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

tfn2k/src/aes.c: In function `u4byte* aes_setkey(char*)':
tfn2k/src/aes.c:10: error: `strlen' undeclared (first use this function)
tfn2k/src/aes.c:10: error: (Each undeclared identifier is reported only once for each function it appears in.)
tfn2k/src/aes.c:12: error: `key' undeclared (first use this function)
tfn2k/src/aes.c:12: error: `memcpy' undeclared (first use this function)

tfn2k/src/aes.c: In function `u1byte* encode(u1byte*, int)':
tfn2k/src/aes.c:26: error: `memcpy' undeclared (first use this function)

tfn2k/src/aes.c: In function `u1byte* decode(u1byte*, int)':
tfn2k/src/aes.c:44: error: `memcpy' undeclared (first use this function)

make.exe: *** [tfn2k/src/aes.o] Error 1

Whats wrong?!
 
#include <string.h>
 
Add that to the top of aes.c
 
:eek: it work'd! thanks, master!
But now I got another error in another file:

Code:
Kompilator: Default compiler
Building Makefile: "C:\Documents and Settings\Simon Hansson\Skrivbord\Makefile.win"
Kör  make clean
rm -f tfn2k/src/aes.o tfn2k/src/base64.o tfn2k/src/cast.o tfn2k/src/disc.o tfn2k/src/flood.o tfn2k/src/ip.o tfn2k/src/mkpass.o tfn2k/src/process.o tfn2k/src/td.o tfn2k/src/tfn.o tfn2k/src/tribe.o  DDoS.exe

g++.exe -c tfn2k/src/aes.c -o tfn2k/src/aes.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/base64.c -o tfn2k/src/base64.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/cast.c -o tfn2k/src/cast.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/disc.c -o tfn2k/src/disc.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

tfn2k/src/disc.c: In function `int main()':
tfn2k/src/disc.c:24: error: `exit' undeclared (first use this function)
tfn2k/src/disc.c:24: error: (Each undeclared identifier is reported only once for each function it appears in.)

make.exe: *** [tfn2k/src/disc.o] Error 1

Körning avslutad

What happend there?
 
#include <stdio.h>
 
Already exist :/

those that are already there:
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
 
My bad, it was #include <stdlib> not #include <stdio> for exit :p.
 
woow, ok, i added #include <stdlib.h> but then :

Code:
Kompilator: Default compiler
Building Makefile: "C:\Documents and Settings\Simon Hansson\Skrivbord\Makefile.win"
Kör  make clean
rm -f tfn2k/src/aes.o tfn2k/src/base64.o tfn2k/src/cast.o tfn2k/src/disc.o tfn2k/src/flood.o tfn2k/src/ip.o tfn2k/src/mkpass.o tfn2k/src/process.o tfn2k/src/td.o tfn2k/src/tfn.o tfn2k/src/tribe.o  DDoS.exe

g++.exe -c tfn2k/src/aes.c -o tfn2k/src/aes.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/base64.c -o tfn2k/src/base64.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/cast.c -o tfn2k/src/cast.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/disc.c -o tfn2k/src/disc.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

g++.exe -c tfn2k/src/flood.c -o tfn2k/src/flood.o -I"lib/gcc/mingw32/3.4.2/include"  -I"include/c++/3.4.2/backward"  -I"include/c++/3.4.2/mingw32"  -I"include/c++/3.4.2"  -I"include"   

In file included from tfn2k/src/flood.c:14:
tfn2k/src/tribe.h:24:24: sys/socket.h: No such file or directory
tfn2k/src/tribe.h:25:19: netdb.h: No such file or directory
In file included from tfn2k/src/tribe.h:46,
                 from tfn2k/src/flood.c:14:
tfn2k/src/config.h:23:18: warning: extra tokens at end of #undef directive
tfn2k/src/flood.c: In function `void syn(long unsigned int, short unsigned int)':
tfn2k/src/flood.c:56: error: `sendto' undeclared (first use this function)
tfn2k/src/flood.c:56: error: (Each undeclared identifier is reported only once for each function it appears in.)

tfn2k/src/flood.c: In function `void udp(long unsigned int)':
tfn2k/src/flood.c:101: error: `sendto' undeclared (first use this function)

tfn2k/src/flood.c: In function `void icmp(long unsigned int, long unsigned int)':
tfn2k/src/flood.c:116: error: invalid conversion from `void*' to `char*'
tfn2k/src/flood.c:147: error: invalid application of `sizeof' to incomplete type `sockaddr' 
tfn2k/src/flood.c:147: error: `sendto' undeclared (first use this function)

tfn2k/src/flood.c: In function `void targa3(long unsigned int)':
tfn2k/src/flood.c:155: error: invalid conversion from `void*' to `char*'

tfn2k/src/flood.c:220: error: `sendto' undeclared (first use this function)

tfn2k/src/tribe.h: At global scope:
tfn2k/src/tribe.h:53: warning: inline function `long int getrandom(int, int)' used but never defined
tfn2k/src/tribe.h:66: warning: inline function `long unsigned int k00lip()' used but never defined

make.exe: *** [tfn2k/src/flood.o] Error 1

Körning avslutad
 
That DDoS tool is for use on UNIX/Linux not Winblows, and it's also recommended to gcc it (It's C code, not C++), not g++ it.
 
Oh, I see.. Thank you again, milord :)

EDIT:
I did as you said, and this error came along:

Code:
Kompilator: Default compiler
Building Makefile: "C:\Documents and Settings\Simon Hansson\Skrivbord\Makefile.win"
Kör  make clean
rm -f tfn2k/src/aes.o tfn2k/src/base64.o tfn2k/src/cast.o tfn2k/src/disc.o tfn2k/src/flood.o tfn2k/src/ip.o tfn2k/src/mkpass.o tfn2k/src/process.o tfn2k/src/td.o tfn2k/src/tfn.o tfn2k/src/tribe.o  DDoS.exe

gcc.exe -c tfn2k/src/aes.c -o tfn2k/src/aes.o -I"include"   

gcc.exe -c tfn2k/src/base64.c -o tfn2k/src/base64.o -I"include"   

gcc.exe -c tfn2k/src/cast.c -o tfn2k/src/cast.o -I"include"   

gcc.exe -c tfn2k/src/disc.c -o tfn2k/src/disc.o -I"include"   

gcc.exe -c tfn2k/src/flood.c -o tfn2k/src/flood.o -I"include"   

In file included from tfn2k/src/flood.c:14:
tfn2k/src/tribe.h:24:24: sys/socket.h: No such file or directory
tfn2k/src/tribe.h:25:19: netdb.h: No such file or directory
In file included from tfn2k/src/tribe.h:46,
                 from tfn2k/src/flood.c:14:
tfn2k/src/config.h:23:18: warning: extra tokens at end of #undef directive
tfn2k/src/flood.c: In function `icmp':
tfn2k/src/flood.c:147: error: invalid application of `sizeof' to incomplete type `sockaddr' 

make.exe: *** [tfn2k/src/flood.o] Error 1

Körning avslutad
 
Last edited:
Quoting part from my previous post why you can't compile it:
"is for use on UNIX/Linux not Winblows"
 
Back
Top