Author Topic: Help compiling r1q2 from source.  (Read 2320 times)

Offline ĄƦçɧąɳɠҾԼ

  • Swanky Member
  • *****
  • Posts: 762
  • Formerly Solo_Senshi
    • View Profile
    • MySpace Profile
  • Rated:
Help compiling r1q2 from source.
« on: October 22, 2008, 09:02:37 AM »
Hellos everyone, I'm thinking about starting playing again.

I just need some help with compiling r1q2 here.  The game binary and the ref_gl compile just fine, but I can't get the game library to compile, I get this error with it.
Code: [Select]
cc -fPIC -DGAME_DLL -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/g_ai.d -MMD   -c -o g_ai.o ../../game/g_ai.c
In file included from ../../game/g_local.h:28,
                 from ../../game/g_ai.c:22:
../../game/game.h:119: error: conflicting types for ‘player_state_t’
../../game/q_shared.h:1532: error: previous declaration of ‘player_state_t’ was here
In file included from ../../game/g_ai.c:22:
../../game/g_local.h:887: error: field ‘ps’ has incomplete type
make: *** [g_ai.o] Error 1

I think I have all the dependencies installed for compiling this, am I missing something?

Using Linux Mint 5 Elyssa XFCE Edition.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"The darkness that surrounds us cannot hurt us. It is the darkness in your own heart you should fear." -Silvetris

Offline ĄƦçɧąɳɠҾԼ

  • Swanky Member
  • *****
  • Posts: 762
  • Formerly Solo_Senshi
    • View Profile
    • MySpace Profile
  • Rated:
Re: Help compiling r1q2 from source.
« Reply #1 on: October 22, 2008, 11:59:57 PM »
I just went ahead and compiled Aprq2 again.  I was hoping to use r1q2 because it's more up to date, but this will work.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"The darkness that surrounds us cannot hurt us. It is the darkness in your own heart you should fear." -Silvetris

Offline R1CH

  • Sr. Member
  • ****
  • Posts: 341
    • View Profile
  • Rated:
Re: Help compiling r1q2 from source.
« Reply #2 on: October 23, 2008, 12:33:48 AM »
You don't need to build the game dll unless you plan on running a standard dm server.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus

Offline ĄƦçɧąɳɠҾԼ

  • Swanky Member
  • *****
  • Posts: 762
  • Formerly Solo_Senshi
    • View Profile
    • MySpace Profile
  • Rated:
Re: Help compiling r1q2 from source.
« Reply #3 on: October 23, 2008, 12:57:54 AM »
Oh, ok.  Sorry, I thought it was required.

Another problem though, I compiled according to directions, but the resulting binary doesn't run.  It's already set as executable, so I don't know what the problem could be.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"The darkness that surrounds us cannot hurt us. It is the darkness in your own heart you should fear." -Silvetris

 

El Box de Shoutamente

Last 10 Shouts:

 

RyU

June 29, 2025, 06:27:46 PM
Q2 must never die  :)
 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D

Show 50 latest
Welcome, Guest. Please login or register.
June 30, 2025, 09:08:28 AM

Login with username, password and session length