Hi, So, you are using the beta version of python 3.12, right? Then, if_python3.c should be updated to support python 3.12, I think.
Regards, Ken Takata 2023年6月1日木曜日 2:50:46 UTC+9 N i c o l a s: > Hi, > > From vim.9.0.1594 source, I obtain this error trying to build gvim HUGE > version under win10 with python3(12) support. > > > c -Wl,-Bdynamic -lgcc_eh -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -lole32 > -luuid > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa07b): undefined reference to > `__imp_PyLong_Type' > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa088): undefined reference to > `__imp_PyBool_Type' > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa644): undefined reference to > `__imp_PyLong_Type' > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa64d): undefined reference to > `__imp_PyBool_Type' > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa6c4): undefined reference to > `__imp_PyLong_Type' > D:/msys64/mingw64/bin/ld: > gobjx86-64/if_python3.o:if_python3.c:(.text+0xa6cd): undefined reference to > `__imp_PyBool_Type' > clang++: error: linker command failed with exit code 1 (use -v to see > invocation) > make: [Make_cyg_ming.mak:1126: gvim.exe] Error 1 (ignored) > > > My FLAGS are these : > > * CC=clang CXX=clang++ -pipe OLE=yes GUI=yes XPM=no DIRECTx=yes ASAN=no > DYNAMIC_LUA=yes LUA=./lua-5.4.6/src LUA_VER=54 PYTHON3=D:/Python312 > DYNAMIC_PYTHON3=yes PYTHON3_VER=312 -I /d/python312/include > DYNAMIC_PYTHON3_DLL=python312.dll RUBY=D:/Ruby32-x64 DYNAMIC_RUBY=yes > RUBY_VER=32 RUBY_API_VER_LONG=3.2.0 > -I/d/Ruby32-x64/include/ruby-3.2.0/ruby SODIUM=yes TERMINAL=yes > EVENT_LOOP=yes STATIC_STDCPLUS=yes WINVER=0x0A00 > > The install_PC.txt file just tell that for a clang compilation : > > CC=clang > CXX=clang++ > make -f Make_ming.mak DEBUG=yes ASAN=yes > > Thank you for help > > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/73ae1253-405e-4503-96ef-08cd0278be69n%40googlegroups.com.
