Ubuntu 18 to Ubuntu 22

I have a problem since updating my 18.04.5 LTS Ubuntu to 22.04.2 LTS
I am unable to compile the cod4x18_dedrun file

when I used 18.04.5 LTS I was able to compile the file without a problem.

I did find these difference between the ubuntu versions
18.04.6 LTS
build-essential is already the newest version (12.4ubuntu1).
nasm:i386 is already the newest version (2.13.02-0.1).
g+±multilib is already the newest version (4:7.4.0-1ubuntu2.3).
gcc-multilib is already the newest version (4:7.4.0-1ubuntu2.3).

22.04.2 LTS
build-essential is already the newest version (12.9ubuntu3).
g+±multilib is already the newest version (4:11.2.0-1ubuntu1).
gcc-multilib is already the newest version (4:11.2.0-1ubuntu1).
nasm:i386 is already the newest version (2.15.05-1).

the errror I see when compiling the file is
src/q_shared.h:129:23: note: ‘typedef unsigned char byte’
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 on both Ubuntu versions.

I have accepted the fact I can live without compiling the cod4x18_dedrun file
since all plugin do compile but I figured some one should know about this problem
especially since the Ubuntu upgrade.

You have to downgrade your gcc version. See here: problem with compiling cod4x server in linux debian. · Issue #399 · callofduty4x/CoD4x_Server · GitHub