Glowman554/mirai

Can't compile bot binary

abraramin opened this issue · 1 comments

Hi,

I am currently working on undergrad research, looking into botnets. I am having issues compiling the bot binary following all the instructions I could find -

root@raspberrypi:/home/pi/Desktop/CSEThesis/mirai# bash ./build.sh debug telnet
/usr/bin/ld: /tmp/cc8RXoIj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/cc4mREOi.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccG6mkyk.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccCn47el.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/cco0GVwk.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccvHdnBk.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccCzEm8i.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccQa6XAl.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/cc2BIZwj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccBTihNj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/cctYZdak.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here
/usr/bin/ld: /tmp/ccwCPxpk.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: multiple definition of `LOCAL_ADDR'; /tmp/ccMRLLkj.o:/home/pi/Desktop/CSEThesis/mirai/bot/includes.h:33: first defined here

Am I missing something here?

Hi, i pushed a fix. I don't know how it ever worked the way it did but it should work now.