• CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login
Cirkus Serveri Forum
  • CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login

ubuntu 22.04.2 LTS update

Scheduled Pinned Locked Moved
Support
2
5
367
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wkuzma
    last edited by 6 Mar 2023, 07:35

    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

    N 1 Reply Last reply 6 Mar 2023, 19:51 Reply Quote 0
    • N
      NeHo Administrators @wkuzma
      last edited by 6 Mar 2023, 19:51

      @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

      I keep hitting the 'Escape' key - but I'm still here. ...

      W 1 Reply Last reply 7 Mar 2023, 00:30 Reply Quote 0
      • W
        wkuzma @NeHo
        last edited by 7 Mar 2023, 00:30

        @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.

        W 1 Reply Last reply 7 Mar 2023, 15:45 Reply Quote 1
        • W
          wkuzma @wkuzma
          last edited by wkuzma 3 Jul 2023, 16:52 7 Mar 2023, 15:45

          @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.

          W 1 Reply Last reply 15 Mar 2023, 19:25 Reply Quote 1
          • W
            wkuzma @wkuzma
            last edited by 15 Mar 2023, 19:25

            @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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            0

            Online

            191

            Users

            268

            Topics

            1.2k

            Posts
            Powered & Designed by NeHo