Компиляция nmap с помощью gcc

Компилирую:

strace -z -s 4096 -e trace=execve,open,chdir -e abbrev=none -f -o /tmp/buidlog.txt gcc nmap > buildlog.txt 2>&1

Вот такой вывод получаю:

/usr/bin/ld: error in nmap(.eh_frame); no .eh_frame_hdr table will be created /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function _start': (.text+0x24): undefined reference to main' collect2: error: ld returned 1 exit status

Подскажите, что не так?


Ответы (0 шт):