Jump to content

Odd issue building from scratch on Lubuntu


Recommended Posts

Okay

 

So I recently melted down my Ubuntu install with lxde when I started uninstalling some of the Unity packages to free up hard drive space, and pretty much uninstalled the operating system :rolleyes:

 

I decided to go with just Lubuntu the second time around so I could cut out all that crap and just use plain old lxde. When I went to rebuild my copy of OpenJK, I cd into the OpenJK folder and run make, but this is the output I get:

bruce@BruceJohnJenner-ThinkPad-X130e:~/development/OpenJK$ make
Scanning dependencies of target openjk_sp.x86_64
[  0%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_cgame.cpp.o
[  0%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_cin.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_console.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_input.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_keys.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_main.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_mp3.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_parse.cpp.o
[  1%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_scrn.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/cl_ui.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/snd_ambient.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/snd_dma.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/snd_mem.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/snd_mix.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/client/snd_music.cpp.o
[  2%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/msg.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/q_math.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/q_shared.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/stringed_ingame.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/stringed_interface.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/qcommon/strip.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/exe_headers.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_ccmds.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_client.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_game.cpp.o
[  3%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_init.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_main.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_savegame.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_snapshot.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/server/sv_world.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/game/genericparser2.cpp.o
[  4%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_atoms.cpp.o
[  5%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_connect.cpp.o
[  5%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_main.cpp.o
[  5%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_saber.cpp.o
[  5%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_shared.cpp.o
[  5%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/ui/ui_syscalls.cpp.o
Linking CXX executable ../openjk_sp.x86_64
[ 12%] Built target openjk_sp.x86_64
Scanning dependencies of target jagamex86_64
[ 12%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Animal.cpp.o
[ 12%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_AssassinDroid.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Atst.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_BobaFett.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Civilian.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Default.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Droid.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_GalakMech.cpp.o
[ 13%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Grenadier.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_HazardTrooper.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Howler.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_ImperialProbe.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Interrogator.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Jedi.cpp.o
[ 14%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Mark1.cpp.o
/home/bruce/development/OpenJK/code/game/AI_Mark1.cpp:35:0: warning: "BOWCASTER_VELOCITY" redefined [enabled by default]
 #define BOWCASTER_VELOCITY   1300
 ^
In file included from /home/bruce/development/OpenJK/code/game/bg_public.h:21:0,
                 from /home/bruce/development/OpenJK/code/game/g_shared.h:21,
                 from /home/bruce/development/OpenJK/code/game/g_local.h:27,
                 from /home/bruce/development/OpenJK/code/game/b_local.h:23,
                 from /home/bruce/development/OpenJK/code/game/AI_Mark1.cpp:18:
/home/bruce/development/OpenJK/code/game/weapons.h:199:0: note: this is the location of the previous definition
 #define BOWCASTER_VELOCITY   3300
 ^
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Mark2.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_MineMonster.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Rancor.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Remote.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_RocketTrooper.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_SaberDroid.cpp.o
[ 15%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_SandCreature.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Seeker.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Sentry.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Sniper.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Stormtrooper.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Tusken.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Utils.cpp.o
[ 16%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AI_Wampa.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_active.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_breakable.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_camera.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_client.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_cmds.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_combat.cpp.o
[ 17%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_emplaced.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_functions.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_fx.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_inventory.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_itemLoad.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_items.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_main.cpp.o
[ 18%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_mem.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_misc.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_misc_model.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_missile.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_mover.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_nav.cpp.o
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_navigator.cpp.o
In file included from /home/bruce/development/OpenJK/code/game/../Ragl/ragl_common.h:93:0,
                 from /home/bruce/development/OpenJK/code/game/../Ragl/graph_vs.h:105,
                 from /home/bruce/development/OpenJK/code/game/g_navigator.cpp:63:
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h: In function ‘bool NAV::LoadFromFile(const char*, int)’:
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h:1086:22: warning: array subscript is above array bounds [-Warray-bounds]
   T::construct(mArray+i,v);
                      ^
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h:1086:22: warning: array subscript is above array bounds [-Warray-bounds]
   T::construct(mArray+i,v);
                      ^
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h: In member function ‘void ragl::graph_region<TNODE, MAXNODES, TEDGE, MAXEDGES, NUM_EDGES_PER_NODE, MAXREGIONS, MAXREGIONEDGES>::clear() [with TNODE = CWayNode; int MAXNODES = 1024; TEDGE = CWayEdge; int MAXEDGES = 3072; int NUM_EDGES_PER_NODE = 20; int MAXREGIONS = 341; int MAXREGIONEDGES = 341]’:
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h:1086:22: warning: array subscript is above array bounds [-Warray-bounds]
   T::construct(mArray+i,v);
                      ^
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h:1086:22: warning: array subscript is above array bounds [-Warray-bounds]
   T::construct(mArray+i,v);
                      ^
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h: In function ‘bool NAV::LoadFromEntitiesAndSaveToFile(const char*, int)’:
/home/bruce/development/OpenJK/code/game/../Ragl/../Ratl/ratl_common.h:1086:22: warning: array subscript is above array bounds [-Warray-bounds]
   T::construct(mArray+i,v);
                      ^
[ 19%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_navnew.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_object.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_objectives.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_rail.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_ref.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_roff.cpp.o
[ 20%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_savegame.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_session.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_spawn.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_svcmds.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_target.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/G_Timer.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_trigger.cpp.o
[ 21%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_turret.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_usable.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_utils.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_weapon.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_weaponLoad.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/genericparser2.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC.cpp.o
[ 22%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_behavior.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_combat.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_goal.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_misc.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_move.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_reactions.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_senses.cpp.o
[ 23%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_sounds.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_spawn.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_stats.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/NPC_utils.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_atst.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_blaster_pistol.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_blaster_rifle.cpp.o
[ 24%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_bot_laser.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_bowcaster.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_concussion.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_demp2.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_det_pack.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_disruptor.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_emplaced_gun.cpp.o
[ 25%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_flechette.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_melee.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_noghri_stick.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_repeater.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_rocket_launcher.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_saber.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_saberLoad.cpp.o
[ 26%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_stun_baton.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_thermal.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_trip_mine.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/wp_tusken.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/Q3_Interface.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_misc.cpp.o
[ 27%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_pangles.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_panimate.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_pmove.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_slidemove.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/AnimalNPC.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/bg_vehicleLoad.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/FighterNPC.cpp.o
[ 28%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/g_vehicles.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/SpeederNPC.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/WalkerNPC.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_camera.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_consolecmds.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_credits.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_draw.cpp.o
[ 29%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_drawtools.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_effects.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_ents.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_event.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_headers.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_info.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_lights.cpp.o
[ 30%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_localents.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_main.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_marks.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_players.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_playerstate.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_predict.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_scoreboard.cpp.o
[ 31%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_servercmds.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_snapshot.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_syscalls.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_text.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_view.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/cg_weapons.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_ATSTMain.cpp.o
[ 32%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Blaster.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Bowcaster.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_BryarPistol.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Concussion.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_DEMP2.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Disruptor.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Emplaced.cpp.o
[ 33%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_Flechette.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_HeavyRepeater.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_NoghriShot.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_RocketLauncher.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FX_TuskenShot.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FxPrimitives.cpp.o
[ 34%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FxScheduler.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FxSystem.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FxTemplate.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/cgame/FxUtil.cpp.o
In file included from /home/bruce/development/OpenJK/code/cgame/cg_local.h:21:0,
                 from /home/bruce/development/OpenJK/code/cgame/cg_headers.h:20,
                 from /home/bruce/development/OpenJK/code/cgame/common_headers.h:19,
                 from /home/bruce/development/OpenJK/code/cgame/FxUtil.cpp:19:
/home/bruce/development/OpenJK/code/cgame/../qcommon/q_shared.h: In function ‘CPoly* FX_AddPoly(vec_t (*)[3], vec_t (*)[2], int, vec_t*, vec_t*, float, float, float, vec_t*, vec_t*, float, vec_t*, float, int, int, qhandle_t, int)’:
/home/bruce/development/OpenJK/code/cgame/../qcommon/q_shared.h:627:16: warning: array subscript is above array bounds [-Warray-bounds]
  out[0] = in[0];
                ^
In file included from /home/bruce/development/OpenJK/code/cgame/FxPrimitives.h:19:0,
                 from /home/bruce/development/OpenJK/code/cgame/FxUtil.h:19,
                 from /home/bruce/development/OpenJK/code/cgame/FxScheduler.h:19,
                 from /home/bruce/development/OpenJK/code/cgame/FxUtil.cpp:22:
/home/bruce/development/OpenJK/code/cgame/FxSystem.h:46:17: warning: array subscript is above array bounds [-Warray-bounds]
  dst[0] = src[0];
                 ^
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/ui/gameinfo.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/qcommon/tri_coll_test.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/qcommon/q_math.cpp.o
[ 35%] Building CXX object code/game/CMakeFiles/jagamex86_64.dir/__/qcommon/q_shared.cpp.o
Linking CXX shared library jagamex86_64.so
[ 37%] Built target jagamex86_64
Scanning dependencies of target rdsp-vanilla_x86_64
[ 37%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/G2_API.cpp.o
[ 37%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/G2_bolts.cpp.o
[ 37%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/G2_bones.cpp.o
[ 38%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/G2_misc.cpp.o
[ 38%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/G2_surfaces.cpp.o
[ 38%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/qcommon/q_math.cpp.o
[ 38%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/qcommon/q_shared.cpp.o
[ 38%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_backend.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_bsp.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_cmds.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_curve.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_draw.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_ghoul2.cpp.o
[ 39%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_image.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_init.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_light.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_main.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_marks.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_mesh.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_model.cpp.o
[ 40%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_quicksprite.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_scene.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_shade.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_shade_calc.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_shader.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_shadows.cpp.o
[ 41%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_sky.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_stl.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_subs.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_surface.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_surfacesprites.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_world.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/tr_WorldEffects.cpp.o
[ 42%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_font.cpp.o
[ 43%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_image_load.cpp.o
[ 43%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_image_jpg.cpp.o
[ 43%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_image_tga.cpp.o
[ 43%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_image_png.cpp.o
[ 43%] Building CXX object code/rd-vanilla/CMakeFiles/rdsp-vanilla_x86_64.dir/__/rd-common/tr_noise.cpp.o
Linking CXX shared library rdsp-vanilla_x86_64.so
[ 43%] Built target rdsp-vanilla_x86_64
[ 47%] Built target botlib
Linking CXX executable ../openjk.x86_64
CMakeFiles/openjk.x86_64.dir/qcommon/stringed_ingame.cpp.o: In function `CStringEdPackage::ConvertCRLiterals_Read(char const*)':
stringed_ingame.cpp:(.text+0x5b8): undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
CMakeFiles/openjk.x86_64.dir/qcommon/stringed_ingame.cpp.o: In function `CStringEdPackage::InsideQuotes(char const*)':
stringed_ingame.cpp:(.text+0x978): undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
collect2: error: ld returned 1 exit status
make[2]: *** [openjk.x86_64] Error 1
make[1]: *** [codemp/CMakeFiles/openjk.x86_64.dir/all] Error 2
make: *** [all] Error 2

Which is odd, because I had installed all of the dependencies listed in the compilation guide, and the environment was the same as before on Ubuntu (or so I thought). Can anyone else tell what the problem is exactly? Is there a missing library perhaps?

Link to comment

I have limited knowledge on this, but it doesn't look like you're missing any libraries. It's more like there's something actually wrong with the code. Is this a custom build, or the latest source? Have you tried compiling a different version of the OpenJK source? Perhaps an earlier one?

Link to comment

No @@Cerez, the code is fine.

 

Its a linker error relating to what looks like system/standard lib related.

Looks like you are missing std::__throw_out-of_range_fmt in the cpp libraries for some reason.  You might be trying to compile with an older version, if using gcc make sure you use toolset=gcc-4.9 or later.

stringed_ingame.cpp:(.text+0x978): undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
Cerez and BruceJohnJenner like this

JKG Developer

Link to comment

 

Looks like you are missing std::__throw_out-of_range_fmt in the cpp libraries for some reason.  You might be trying to compile with an older version, if using gcc make sure you use toolset=gcc-4.9 or later.

stringed_ingame.cpp:(.text+0x978): undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'

 

gcc or g++? I had thought g++ would be required for OpenJK, but perhaps I was wrong.

 

I'll check the compiler version later today, but this is odd to see on an Ubuntu based distro The setup is Lubuntu LTS 64-bit.

 

When I tried to run the compiled executable that I copied over from the old install it wouldnt work & said something about an incorrect library version of libstdc++? Is it possibly an issue with needing the 32 bit versions of the libraries?

Link to comment

gcc or g++? I had thought g++ would be required for OpenJK, but perhaps I was wrong.

 

I'll check the compiler version later today, but this is odd to see on an Ubuntu based distro The setup is Lubuntu LTS 64-bit.

 

When I tried to run the compiled executable that I copied over from the old install it wouldnt work & said something about an incorrect library version of libstdc++? Is it possibly an issue with needing the 32 bit versions of the libraries?

Errr yeah g++, typo on my part.  Sometimes linux doesn't always come packaged with the latest version.  This might be helpful if you need to install later version.  I doubt the 32-bit/64-bit is the problem, 64 bit platforms are generally made backwards compatible.  You could always test it by installing some 32-bit application and see if it works.  eg: 32bit openjk

JKG Developer

Link to comment

I doubt the 32-bit/64-bit is the problem, 64 bit platforms are generally made backwards compatible.  You could always test it by installing some 32-bit application and see if it works.  eg: 32bit openjk

That isn't the case with Linux very easily anyway.  It doesn't come with 32 bit versions of everything ready to go without doing a lot of work and installing all the correct 32 bit packages.

Futuza likes this
Link to comment

Output from the terminal confirmed it

 

 

bruce@BruceJohnJenner-ThinkPad-X130e:~$ cpp --version
cpp (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 

 

Trying the solution posted earlier

Link to comment

Output from the terminal confirmed it

 

 

Trying the solution posted earlier

Glad that was it.

 

 

That isn't the case with Linux very easily anyway.  It doesn't come with 32 bit versions of everything ready to go without doing a lot of work and installing all the correct 32 bit packages.

Good to know.

BruceJohnJenner likes this

JKG Developer

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...