I tried to compile ArenaR from source, but I get a fatal error during linking. At first, I thought that it was because I didn't have lua installed, but after installing the lua5.1 package, I still get the same error. Are there any specific packages (in addition to those listed in the GH compilation guide) that need to be installed or any special setup instructions that need to be followed for this release?
I am currently running Ubuntu 11.10 Oneiric Ocelot 64-bit.
Here is my output.
~/Downloads/GH2.1$ fpc gearhead
Free Pascal Compiler version 2.4.4-2ubuntu1 [2011/09/27] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling gearhead.pas
Compiling gears.pp
Compiling texutil.pp
Compiling navigate.pp
Compiling locale.pp
Compiling rpgdice.pp
Compiling gamebook.pp
Compiling ghmecha.pp
Compiling uiconfig.pp
Compiling ghmodule.pp
Compiling ghholder.pp
Compiling ghintrinsic.pp
Compiling ghchars.pp
Compiling ghweapon.pp
Compiling ghmovers.pp
Compiling ghsensor.pp
Compiling ghsupport.pp
Compiling ghguard.pp
Compiling ghswag.pp
Compiling ghprop.pp
Compiling movement.pp
Compiling ability.pp
ability.pp(245,4) Note: Local variable "Tool" not used
locale.pp(1181,4) Note: Local variable "P" not used
Compiling backpack.pp
Compiling sdlgfx.pp
sdlgfx.pp(47,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(48,48) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(49,44) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(50,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(51,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(52,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(53,50) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(55,48) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(56,48) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(57,48) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(58,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(59,50) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(60,48) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(61,52) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(64,49) Warning: Some fields coming after "b" weren't initialized
sdlgfx.pp(730,2) Note: Local variable "S" not used
sdlgfx.pp(1452,2) Note: Local variable "MyDest" not used
Compiling action.pp
Compiling arenacfe.pp
Compiling effects.pp
Compiling gearparser.pp
Compiling interact.pp
Compiling narration.pp
Compiling menugear.pp
Compiling sdlmenus.pp
Compiling skilluse.pp
skilluse.pp(278,4) Note: Local variable "Total" not used
effects.pp(2308,3) Note: Local variable "trait" not used
Compiling description.pp
Compiling sdlmap.pp
Compiling colormenu.pp
sdlmap.pp(99,48) Warning: Some fields coming after "B" weren't initialized
sdlmap.pp(100,48) Warning: Some fields coming after "B" weren't initialized
sdlmap.pp(101,47) Warning: Some fields coming after "B" weren't initialized
sdlmap.pp(102,51) Warning: Some fields coming after "B" weren't initialized
sdlmap.pp(103,50) Warning: Some fields coming after "B" weren't initialized
sdlmap.pp(194,2) Note: Local variable "X" not used
sdlmap.pp(194,4) Note: Local variable "Y" not used
sdlmap.pp(194,6) Note: Local variable "Z" not used
sdlmap.pp(692,30) Note: Local variable "Row" not used
sdlmap.pp(692,34) Note: Local variable "Column" not used
sdlmap.pp(695,2) Note: Local variable "Spr" not used
sdlmap.pp(931,4) Note: Local variable "Y" not used
sdlmap.pp(931,6) Note: Local variable "Z" not used
sdlmap.pp(932,2) Note: Local variable "M" not used
sdlmap.pp(99,2) Note: Local variable "WallBrown" not used
sdlmap.pp(100,2) Note: Local variable "DoorBlue" not used
sdlmap.pp(101,2) Note: Local variable "WallGray" not used
sdlmap.pp(102,2) Note: Local variable "SmokeGray" not used
sdlmap.pp(103,2) Note: Local variable "ToxicGreen" not used
sdlmap.pp(160,32) Note: Local variable "Items_Sprite" is assigned but never used
Compiling sdlinfo.pp
Compiling minitype.pp
sdlinfo.pp(60,51) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(61,47) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(62,49) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(63,48) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(64,52) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(65,47) Warning: Some fields coming after "b" weren't initialized
sdlinfo.pp(268,11) Note: Local variable "Armor" not used
sdlinfo.pp(268,17) Note: Local variable "Structure" not used
sdlinfo.pp(211,2) Note: Local variable "MM" not used
sdlinfo.pp(211,5) Note: Local variable "A" not used
sdlinfo.pp(211,7) Note: Local variable "B" not used
sdlinfo.pp(432,4) Note: Local variable "X" not used
sdlinfo.pp(473,2) Note: Local variable "CurP" not used
sdlinfo.pp(473,7) Note: Local variable "MaxP" not used
sdlinfo.pp(499,2) Note: Local variable "Box" not used
sdlinfo.pp(499,6) Note: Local variable "Box2" not used
sdlinfo.pp(500,2) Note: Local variable "HP" not used
sdlinfo.pp(500,5) Note: Local variable "HPD" not used
sdlinfo.pp(718,6) Note: Local variable "job" not used
sdlinfo.pp(1248,3) Note: Local variable "T" not used
sdlinfo.pp(1248,11) Note: Local variable "S" not used
sdlinfo.pp(1250,3) Note: Local variable "C" not used
arenacfe.pp(143,2) Note: Local variable "P" not used
arenacfe.pp(482,2) Note: Local variable "N" is assigned but never used
Compiling arenascript.pp
Compiling plotbuild.pp
Compiling chargen.pp
Compiling wmonster.pp
Compiling customization.pp
Compiling plotsearch.pp
Compiling randmaps.pp
randmaps.pp(748,4) Note: Local variable "MiniMap" not used
randmaps.pp(2597,2) Note: Local variable "ContentID" not used
randmaps.pp(2624,3) Warning: Comment level 2 found
randmaps.pp(2625,2) Warning: Comment level 2 found
randmaps.pp(2630,2) Warning: Comment level 2 found
randmaps.pp(2634,3) Warning: Comment level 2 found
randmaps.pp(2637,3) Warning: Comment level 2 found
randmaps.pp(2644,3) Warning: Comment level 2 found
randmaps.pp(2645,3) Warning: Comment level 2 found
randmaps.pp(2646,3) Warning: Comment level 2 found
randmaps.pp(2652,4) Warning: Comment level 2 found
randmaps.pp(2653,4) Warning: Comment level 2 found
randmaps.pp(2656,3) Warning: Comment level 2 found
randmaps.pp(2657,3) Warning: Comment level 2 found
randmaps.pp(2659,4) Warning: Comment level 2 found
randmaps.pp(2662,4) Warning: Comment level 2 found
randmaps.pp(2669,7) Warning: Comment level 2 found
randmaps.pp(2671,2) Warning: Comment level 2 found
randmaps.pp(2682,2) Warning: Comment level 2 found
randmaps.pp(2617,2) Note: Local variable "AllOK" not used
randmaps.pp(2618,2) Note: Local variable "CList" not used
randmaps.pp(2619,2) Note: Local variable "Zone" not used
randmaps.pp(2619,7) Note: Local variable "C" not used
randmaps.pp(2619,9) Note: Local variable "C2" not used
randmaps.pp(2620,2) Note: Local variable "ContentID" not used
randmaps.pp(2621,2) Note: Local variable "T" not used
randmaps.pp(2622,2) Note: Local variable "UCon" not used
randmaps.pp(2622,7) Note: Local variable "U" not used
plotbuild.pp(1197,3) Note: Local variable "Param" not used
plotbuild.pp(1734,2) Note: Local variable "Trigger" not used
plotbuild.pp(1880,5) Warning: Local variable "it" does not seem to be initialized
plotbuild.pp(1928,3) Note: Local variable "N" not used
plotbuild.pp(2071,8) Note: Local variable "DC" is assigned but never used
Compiling services.pp
Compiling minigame.pp
Compiling aibrain.pp
Compiling specialsys.pp
aibrain.pp(1204,2) Warning: Comment level 2 found
aibrain.pp(1205,2) Warning: Comment level 2 found
aibrain.pp(1214,3) Warning: Comment level 2 found
aibrain.pp(1220,3) Warning: Comment level 2 found
aibrain.pp(1231,3) Warning: Comment level 2 found
aibrain.pp(1237,3) Warning: Comment level 2 found
aibrain.pp(1247,2) Warning: Comment level 2 found
aibrain.pp(1255,3) Warning: Comment level 2 found
aibrain.pp(1271,3) Warning: Comment level 2 found
aibrain.pp(1322,3) Warning: Comment level 2 found
aibrain.pp(1324,4) Warning: Comment level 2 found
aibrain.pp(1328,4) Warning: Comment level 2 found
aibrain.pp(1330,5) Warning: Comment level 2 found
aibrain.pp(1334,5) Warning: Comment level 2 found
aibrain.pp(1341,4) Warning: Comment level 2 found
aibrain.pp(1349,3) Warning: Comment level 2 found
aibrain.pp(1351,4) Warning: Comment level 2 found
aibrain.pp(1355,4) Warning: Comment level 2 found
aibrain.pp(1357,5) Warning: Comment level 2 found
aibrain.pp(1361,5) Warning: Comment level 2 found
aibrain.pp(1368,4) Warning: Comment level 2 found
aibrain.pp(1288,12) Note: Local variable "Tool" not used
arenascript.pp(230,10) Warning: Function result does not seem to be set
arenascript.pp(236,10) Warning: Function result does not seem to be set
arenascript.pp(239,2) Note: Local variable "Rumor_Error" not used
arenascript.pp(939,6) Note: Local variable "memo_msg" not used
arenascript.pp(998,2) Note: Local variable "RL" not used
arenascript.pp(998,5) Note: Local variable "RL_Skill" not used
arenascript.pp(999,2) Note: Local variable "SkVal" not used
arenascript.pp(999,8) Note: Local variable "BestScore" not used
arenascript.pp(999,18) Note: Local variable "SkRoll" not used
arenascript.pp(1000,2) Note: Local variable "NPCDesc" not used
arenascript.pp(1000,10) Note: Local variable "RL_Script" not used
arenascript.pp(1001,2) Note: Local variable "Rumor_List" not used
arenascript.pp(1001,13) Note: Local variable "R" not used
arenascript.pp(1002,2) Note: Local variable "Rumor_Error" not used
arenascript.pp(1003,2) Note: Local variable "RPM" not used
arenascript.pp(1223,2) Note: Local variable "IntScr" not used
arenascript.pp(1224,4) Note: Local variable "FreeRumors" not used
arenascript.pp(1225,2) Note: Local variable "RTT" not used
arenascript.pp(1226,2) Note: Local variable "T" not used
arenascript.pp(1368,19) Warning: Local variable "ReTalk" does not seem to be initialized
arenascript.pp(1458,2) Note: Local variable "LT" not used
arenascript.pp(1458,5) Note: Local variable "TempList" not used
arenascript.pp(1459,2) Note: Local variable "LT_tmp" not used
arenascript.pp(1492,2) Note: Local variable "LT" not used
arenascript.pp(1492,5) Note: Local variable "TempList" not used
arenascript.pp(1493,2) Note: Local variable "LT_tmp" not used
arenascript.pp(1641,5) Warning: Comment level 2 found
arenascript.pp(1642,5) Warning: Comment level 2 found
arenascript.pp(2187,3) Note: Local variable "Renown" not used
arenascript.pp(127,2) Note: Local variable "Debug_On" not used
Compiling targetui.pp
Compiling arenaplay.pp
Compiling pcaction.pp
Compiling robotics.pp
Compiling training.pp
Compiling infodisplay.pp
pcaction.pp(2106,2) Note: Local variable "T" not used
pcaction.pp(2106,4) Note: Local variable "N" not used
arenaplay.pp(107,3) Warning: Comment level 2 found
arenaplay.pp(1049,7) Note: Local variable "X" not used
arenaplay.pp(1049,9) Note: Local variable "Y" not used
Compiling gh2arena.pp
gh2arena.pp(279,2) Note: Local variable "NPC" is assigned but never used
Linking gearhead
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -llua5.1
gearhead.pas(230,1) Error: Error while linking
gearhead.pas(230,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
I have also tried to run the linux-SDL binaries, but I get a lua related error with that too. Here is the output.
~/Downloads/GH2.1$ ./Arena_R
./Arena_R: error while loading shared libraries: liblua5.1.so.0: cannot open shared object file: No such file or directory