我对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.发布于 2023-03-16 11:44:06
make install是不必要的。make在目录中构建pwnat可执行文件。然后,您可以将其复制到$PATH中更方便的位置。
https://unix.stackexchange.com/questions/739970
复制相似问题