makefile을 통해 pwnat를 설치하는 중 오류가 발생했습니다.

makefile을 통해 pwnat를 설치하는 중 오류가 발생했습니다.

저는 Linux를 처음 접했고 아직 배우고 있습니다. pwnat을 설치하려고 합니다.

git clone https://github.com/samyk/pwnat
cd pwnat
sudo make

다음과 같이 인쇄됩니다.

gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o socket.o socket.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o message.o message.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o strlcpy.o strlcpy.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o client.o client.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o packet.o packet.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o list.o list.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o destination.o     destination.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o udpserver.o udpserver.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX   -c -o udpclient.o udpclient.c
gcc -Wall -Wshadow -Wpointer-arith -Wwrite-strings -D LINUX -o pwnat pwnat.c socket.o message.o strlcpy.o client.o packet.o list.o destination.o udpserver.o udpclient.o

내가 시도할 때 sudo make install:

make: *** No rule to make target 'install'.  Stop.

답변1

make install불필요합니다. 디렉토리에 make실행 파일을 빌드합니다 . pwnat그런 다음 에 복사할 수 있습니다 $PATH.

관련 정보