Я вставил весь вывод команды ниже.
/usr/bin/cc -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp
-Iinclude -I/usr/local/include -I/opt/X11/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -c -o Xpole.o Xpole.c Xpole.c:11:20: warning: extra tokens at end of #include directive
[-Wextra-tokens]
#include <stdlib.h>q
^
// Xpole.c:452:14: warning: too few arguments in call to 'x_quit_proc'
x_quit_proc();
~~~~~~~~~~~ ^ 2 warnings generated. /usr/bin/cc -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp -Iinclude -I/usr/local/include -I/opt/X11/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -c -o Pole_sim.o Pole_sim.c /usr/bin/cc -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp
-Iinclude -I/usr/local/include -I/opt/X11/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -c -o Matrix_fncs.o Matrix_fncs.c /usr/bin/cc -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp -Iinclude -I/usr/local/include -I/opt/X11/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -c -o Global.o Global.c /usr/bin/cc -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp -Iinclude -I/usr/local/include -I/opt/X11/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -c -o Reinf_learn.o Reinf_learn.c rm -f Xpole /usr/bin/cc -o Xpole -g -ggdb -Wall -Wpointer-arith -no-cpp-precomp -L/usr/local/lib Xpole.o Pole_sim.o Matrix_fncs.o Global.o Reinf_learn.o -lXaw -lXmu -lXt -lSM -lICE
-lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lm -Llib/ -lXkw ld: library not found for -lXaw clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Xpole] Error 1
В чем проблема, учитывая, что lXaw поставляется с XQuartz согласно их веб-сайту. Система под управлением Macbook pro 2015 Ма c ОС Catelina 16 ГБ, оперативная память 500 ГБ, HDD
Я ценю помощь