ubuntu 22.04.2 LTS update
I have updated my ubuntu to 22.04.2 lts 64bit
since the update I have a problem compiling the cod4x18_dedrun file
it gives this error
I cut it short for this post
129 | typedef unsigned char byte;
make: *** [makefile:224: obj/sv_bots.o] Error 1
funny part is I can compile all the plugins without a problem
NeHo Administrators last edited by
@wkuzma hello, try to compile it manually via putty to get in console what the issue is. The cod4x git repo should be on your cod4 user root. Maybe they changed something from cod4x side
@NeHo I did using make in /home/cod4/CoD4x_Server-master directory
that is how I knew it errored as in the above post.
I also tried it on version ubuntu 18.04.6 LTS and it compiled without a problem but as soon as I upgraded to Ubuntu 22.04.2 I got the error again.
Just to be sure its 22.04.2 I formatted that drive and reinstalled 18.04.6 and installed the cod4webadmin from scratch I then was able to compile the cod4x18_dedrun without a problem. I then allowed the ubuntu to update to 22.04.2 and again it failed to compile
the cod4x18_dedrun. So I figure it has something to do with the new ubuntu update version.
My next idea is get a copy of 22.04.2 LTS and install it directly then install the cod4webadmin and see if its an upgrade problem or not. I will reply with my results.
@wkuzma seems the download of 22.04.2 iso is too large for my burner
so I was unable to install 22.04.2 only update it.
I am not going to worry about not being able to compile the cod4x18_dedrun
since everything else seems to be working fine. I will just keep a copy of the file in case.
@wkuzma I found a reason it would not compile gcc and g++ versions were 11
I was able to switch to gcc 9 and g++ 9 and all compiled great.
all I did was edit the syslinks of gcc and g++ to point to 9 instead of 11 - 9 was already installed