SolarEagle Posted May 2 Report Share Posted May 2 (edited) After updating from Fedora 39 to Fedora 40, when I do the usual stuff, cd 0ad/ git pull cd build/workspaces ./clean-workspaces.sh ./update-workspaces.sh --with-system-mozjs I do get the following error (only the end of the code): make : on entre dans le répertoire « /home/myusername/0ad/build/premake/premake5/build/gmake2.unix » ==== Building lua-lib (release) ==== ==== Building zip-lib (release) ==== Creating obj/Release/lua-lib lapi.c Creating obj/Release/zip-lib mkstemp.c ../../contrib/libzip/mkstemp.c: Dans la fonction « _zip_mkstemp »: ../../contrib/libzip/mkstemp.c:76:15: erreur: déclaration implicite de la fonction « getpid » [-Wimplicit-function-declaration] 76 | pid = getpid(); | ^~~~~~ make[1]: *** [zip-lib.make:303: obj/Release/zip-lib/mkstemp.o] Error 1 make: *** [Makefile:74: zip-lib] Error 2 make: *** Attente des tâches non terminées.... lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c ldblib.c ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c lmem.c loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c lundump.c lutf8lib.c lvm.c lzio.c Linking lua-lib make : on quitte le répertoire « /home/myusername/0ad/build/premake/premake5/build/gmake2.unix » ERROR: Premake build failed What happens, please? Edited May 2 by SolarEagle better title Quote Link to comment Share on other sites More sharing options...
mtdew365 Posted August 5 Report Share Posted August 5 I also get the same error. I had to install premake for Fedora 40 which installed premake 5. Built using the following... cd build/workspaces ./clean-workspaces.sh ./update-workspaces.sh --with-system-premake5 --with-system-mozjs --enable-atlas This worked for me!! Hope it helps. 1 Quote Link to comment Share on other sites More sharing options...
SolarEagle Posted August 5 Author Report Share Posted August 5 Thanks @mtdew365! It works here now. Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 5 Report Share Posted August 5 cc @Itms for premake update. https://code.wildfiregames.com/D4982 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.