SolarEagle Posted May 2, 2024 Share Posted May 2, 2024 (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, 2024 by SolarEagle better title Link to comment Share on other sites More sharing options...
mtdew365 Posted August 5, 2024 Share Posted August 5, 2024 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 Link to comment Share on other sites More sharing options...
SolarEagle Posted August 5, 2024 Author Share Posted August 5, 2024 Thanks @mtdew365! It works here now. Link to comment Share on other sites More sharing options...
Stan` Posted August 5, 2024 Share Posted August 5, 2024 cc @Itms for premake update. https://code.wildfiregames.com/D4982 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now