Note that in this post, I transformed many uppercase letters into lowercase letters, so that the forum's anti-spam software would not prevent me from posting.
Quote:What you want to do is go to line 105 which begins defs= and at the end of that line add a space followed by (translate the following to all-caps) $(definemacro)sharing
Okay, I did that, and then when I typed mingw32-make -f makefile.unx in the command prompt, it gave me the same large error message as before.
Quote:change line 147 to:
ostype="Microsoft_Windows-Version11-with_MinGW"
I am indeed using Windows 11. The Windows ver command more precisely says "version 25H2 (OS Build 26200.8875). I changed this line, and then when I typed mingw32-make -f makefile.unx in the command prompt, it gave me again the same large error message as before. No progress.
Here is the error message in full:
makefile.unx:342: target 'output/latex/nesteddepend' given more than once in the same rule.
mingw32-make currpwd=./ -f ./makefile.local pymain.o
mingw32-make[1]: Entering directory 'C:/Users/Name/Desktop/popeye-develop/popeye-develop'
gcc -W -Wall -Wextra -Wpedantic -pedantic-errors -Walloc-zero -Walloca -Warray-bounds=2 -Wcast-align -Wconversion -Wbad-function-cast -Wno-cast-qual -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=2 -Wno-format-nonliteral -Wno-format-signedness -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wshift-negative-value -Wshift-overflow=2 -Wswitch -Wswitch-default -Wsync-nand -Wundef -Wunknown-pragmas -Wno-unused-parameter -Winit-self -Wwrite-strings -Wjump-misses-init -O3 -flto -dsignals -dmsg_in_mem -dfxf -dndebug -dfxf_max_alignment_type=void* -dfxf_not_multiple_alignment_type=short -dsharing -std=c99 -I. -dostype=\""Microsoft_Windows-Version11-with_MinGW"\" -dversion=4.101 \
-c -dauxiliary gengmarr.c -o gengmarr.o
gcc: error: unrecognized command line option '-Walloc-zero'; did you mean '-Wdiv-by-zero'?
gcc: error: unrecognized command line option '-Walloca'; did you mean '-Wall'?
gcc: error: unrecognized command line option '-Wduplicated-branches'; did you mean '-Wduplicated-cond'?
gcc: error: unrecognized command line option '-Wformat-overflow=2'; did you mean '-Wstrict-overflow='?
gcc: error: unrecognized command line option '-Wformat-truncation=2'; did you mean '-Wline-truncation'?
makefile.local:60: recipe for target 'gengmarr.o' failed
mingw32-make[1]: *** [gengmarr.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/Name/Desktop/popeye-develop/popeye-develop'
makefile.unx:350: recipe for target 'pymain.o' failed
mingw32-make: *** [pymain.o] Error 2
In the middle of the error message, it says:
-dostype=\""Microsoft_Windows-Version11-with_MinGW"\"
Which is what I changed line 147 into. I'm not sure what exactly the error message said there before I modified line 147.
Quote:There may have been some errors in DELETED, I can't tell. But for the sake of the process let's assume the unrecognized command line option is the first error.
There were indeed some errors in DELETED.
gcc: error: unrecognized command line option '-r`-`uname -p`"
was not the first error. There were other gcc errors before this one. In fact, it seems that this gcc error disappeared, perhaps because I changed line 147.
I used Ctrl+F and searched for the strings in the unrecognized command line options: Walloc, Wduplicated, Wformat. But these strings don't appear in any of the makefiles.
Note that there is a file called "gengmarr.c", and the word "gengmarr" appears four times in the large error message.
-c -dauxiliary gengmarr.c -o gengmarr.o
makefile.local:60: recipe for target 'gengmarr.o' failed
mingw32-make[1]: *** [gengmarr.o] Error 1
The word "gengmarr" also appears on line 59 and line 63 of makefile.local.