Installing trem on intel 64bit ubuntu 14.04

plz help me or i will be unable to ban any of you for the next few months :cry:

as in title: intel 64bit, ubuntu 14.04. no trem in default repo. downloaded installer, run and:

tremulous: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

so i:

sudo apt-get install libsdl1.2debian:i386

now trem starts, i see the white intro picture/animation and then it shows console with lots of errors at the end and i see no gui (i type quit to exit):

tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/xxx/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
GL_RENDERER: Quadro 1000M/PCIe/SSE2
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: Quadro 1000M/PCIe/SSE2
GL_VERSION: 4.5.0 NVIDIA 352.63
GL_EXTENSIONS: GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_NV_internalformat_sample_query GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_query_buffer_object GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_funcGL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 4

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU: 
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/uncreation.shader'
...loading 'scripts/q3map2_tremor.shader'
...loading 'scripts/tremor.shader'
...loading 'scripts/transit.shader'
...loading 'scripts/niveus.shader'
...loading 'scripts/nexus6.shader'
...loading 'scripts/karith.shader'
...loading 'scripts/atcs.shader'
...loading 'scripts/arachnid2.shader'
...loading 'scripts/jetpack.shader'
...loading 'scripts/core.shader'
...loading 'scripts/flame.shader'
...loading 'scripts/misc.shader'
...loading 'scripts/common-trem.shader'
...loading 'scripts/titan.shader'
...loading 'scripts/water.shader'
...loading 'scripts/displays.shader'
...loading 'scripts/plant_life.shader'
...loading 'scripts/stasis.shader'
...loading 'scripts/booster.shader'
...loading 'scripts/eggpod.shader'
...loading 'scripts/medistat.shader'
...loading 'scripts/mgturret.shader'
...loading 'scripts/reactor.shader'
...loading 'scripts/telenode.shader'
...loading 'scripts/trapper.shader'
...loading 'scripts/overmind.shader'
...loading 'scripts/tesla.shader'
...loading 'scripts/dcc.shader'
...loading 'scripts/hive.shader'
...loading 'scripts/level2.shader'
...loading 'scripts/human.shader'
...loading 'scripts/null.shader'
...loading 'scripts/weapons.shader'
...loading 'scripts/conkit.shader'
...loading 'scripts/advckit.shader'
...loading 'scripts/psaw.shader'
...loading 'scripts/mdriver.shader'
...loading 'scripts/flamer.shader'
...loading 'scripts/crosshairs.shader'
...loading 'scripts/grenade.shader'
...loading 'scripts/splash.shader'
...loading 'scripts/marks.shader'
...loading 'scripts/sprites.shader'
...loading 'scripts/muzzleflashes.shader'
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "pulse".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  256
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
 8192 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x9a57098 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
^1Error: file ui/joinserver.menu, line 1: file ui/menddef.h not found
^1Error: file ui/punkbuster.menu, line 1: file ui/menddef.h not found
^1Error: file ui/createserver.menu, line 1: file ui/menddef.h not found
^1Error: file ui/connect.menu, line 1: file ui/menddef.h not found
^1Error: file ui/password.menu, line 1: file ui/menddef.h not found
^1Error: file ui/error.menu, line 1: file ui/menddef.h not found
^1Error: file ui/serverinfo.menu, line 1: file ui/menddef.h not found
^1Error: file ui/findplayer.menu, line 1: file ui/menddef.h not found
^1Error: file ui/quitcredit.menu, line 1: file ui/menddef.h not found
^1Error: file ui/createfavorite.menu, line 1: file ui/menddef.h not found
UI menu load time = 1 milli seconds
^1Error: file ui/ingame.menu, line 1: file ui/menddef.h not found
^1Error: file ui/ingame_about.menu, line 1: file ui/menddef.h not found
^1Error: file ui/ingame_options.menu, line 1: file ui/menddef.h not found
^1Error: file ui/ingame_vote.menu, line 1: file ui/menddef.h not found
^1Error: file ui/ingame_callvote.menu, line 1: file ui/menddef.h not found
^1Error: file ui/ingame_leave.menu, line 1: file ui/menddef.h not found
UI menu load time = 1 milli seconds
^1Error: file ui/tremulous_teamselect.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_alienclass.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_alienbuild.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_humanbuild.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_humanarmoury.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_humandialogs.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_aliendialogs.menu, line 1: file ui/menddef.h not found
^1Error: file ui/tremulous_alienupgrade.menu, line 1: file ui/menddef.h not found
UI menu load time = 1 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:30720
Hostname: xxx
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
]\quit
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console

i tried to compile from source, but when i do make i got errors:

make -C src/tools/lcc install
make[1]: Entering directory `/tmp/tremulous-1.1.0-src/src/tools/lcc'
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-linux-x86_64/etc/lcc.o etc/lcc.c
etc/lcc.c: In function ā€˜stringfā€™:
etc/lcc.c:774:6: warning: variable ā€˜nā€™ set but not used [-Wunused-but-set-variable]
  int n;
      ^
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-linux-x86_64/etc/bytecode.o etc/bytecode.c
gcc  -o build-linux-x86_64/q3lcc build-linux-x86_64/etc/lcc.o build-linux-x86_64/etc/bytecode.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/cpp.o cpp/cpp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/lex.o cpp/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/nlist.o cpp/nlist.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/tokens.o cpp/tokens.c
cpp/tokens.c: In function ā€˜peektokensā€™:
cpp/tokens.c:270:3: warning: format ā€˜%dā€™ expects argument of type ā€˜intā€™, but argument 3 has type ā€˜long intā€™ [-Wformat=]
   fprintf(stderr, "(tp offset %d) ", tp-trp->bp);
   ^
cpp/tokens.c: In function ā€˜puttokensā€™:
cpp/tokens.c:308:10: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
     write(1, wbuf, wbp-wbuf);
          ^
cpp/tokens.c:309:9: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
    write(1, (char *)p, len);
         ^
cpp/tokens.c:316:9: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
    write(1, wbuf, OBS);
         ^
cpp/tokens.c: In function ā€˜flushoutā€™:
cpp/tokens.c:331:8: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
   write(1, wbuf, wbp-wbuf);
        ^
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/macro.o cpp/macro.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/eval.o cpp/eval.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/include.o cpp/include.c
cpp/include.c: In function ā€˜doincludeā€™:
cpp/include.c:95:8: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
   write(1,objname,strlen(objname));
        ^
cpp/include.c:96:8: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]
   write(1,iname,strlen(iname));                                                                                                                                  
        ^                                                                                                                                                         
cpp/include.c:97:8: warning: ignoring return value of ā€˜writeā€™, declared with attribute warn_unused_result [-Wunused-result]                                       
   write(1,"\n",1);
        ^
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/hideset.o cpp/hideset.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/getopt.o cpp/getopt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-x86_64/cpp/unix.o cpp/unix.c
cpp/unix.c: In function ā€˜setupā€™:
cpp/unix.c:34:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    includeDirs[ numIncludeDirs++ ] = newstring( (uchar *)optarg, strlen( optarg ), 0 );
                                    ^
gcc  -o build-linux-x86_64/q3cpp build-linux-x86_64/cpp/cpp.o build-linux-x86_64/cpp/lex.o build-linux-x86_64/cpp/nlist.o build-linux-x86_64/cpp/tokens.o build-linux-x86_64/cpp/macro.o build-linux-x86_64/cpp/eval.o build-linux-x86_64/cpp/include.o build-linux-x86_64/cpp/hideset.o build-linux-x86_64/cpp/getopt.o build-linux-x86_64/cpp/unix.o
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/alloc.o src/alloc.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/bind.o src/bind.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/bytecode.o src/bytecode.c
src/bytecode.c: In function ā€˜LoadSourceFileā€™:
src/bytecode.c:263:8: warning: ignoring return value of ā€˜freadā€™, declared with attribute warn_unused_result [-Wunused-result]
   fread( sourceFile, length, 1, f );
        ^
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/dag.o src/dag.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Ilburg -o build-linux-x86_64/lburg/lburg.o lburg/lburg.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Ilburg -o build-linux-x86_64/lburg/gram.o lburg/gram.c
gcc  -o build-linux-x86_64/lburg/lburg build-linux-x86_64/lburg/lburg.o build-linux-x86_64/lburg/gram.o
build-linux-x86_64/lburg/lburg src/dagcheck.md build-linux-x86_64/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -Wno-unused -c -Isrc -o build-linux-x86_64/rcc/dagcheck.o build-linux-x86_64/rcc/dagcheck.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/decl.o src/decl.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/enode.o src/enode.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/error.o src/error.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/event.o src/event.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/expr.o src/expr.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/gen.o src/gen.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/init.o src/init.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/inits.o src/inits.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/input.o src/input.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/lex.o src/lex.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/list.o src/list.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/main.o src/main.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/null.o src/null.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/output.o src/output.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/prof.o src/prof.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/profio.o src/profio.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/simp.o src/simp.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/stmt.o src/stmt.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/string.o src/string.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/sym.o src/sym.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/symbolic.o src/symbolic.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/trace.o src/trace.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/tree.o src/tree.c
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Isrc -o build-linux-x86_64/rcc/types.o src/types.c
gcc  -o build-linux-x86_64/q3rcc build-linux-x86_64/rcc/alloc.o build-linux-x86_64/rcc/bind.o build-linux-x86_64/rcc/bytecode.o build-linux-x86_64/rcc/dag.o build-linux-x86_64/rcc/dagcheck.o build-linux-x86_64/rcc/decl.o build-linux-x86_64/rcc/enode.o build-linux-x86_64/rcc/error.o build-linux-x86_64/rcc/event.o build-linux-x86_64/rcc/expr.o build-linux-x86_64/rcc/gen.o build-linux-x86_64/rcc/init.o build-linux-x86_64/rcc/inits.o build-linux-x86_64/rcc/input.o build-linux-x86_64/rcc/lex.o build-linux-x86_64/rcc/list.o build-linux-x86_64/rcc/main.o build-linux-x86_64/rcc/null.o build-linux-x86_64/rcc/output.o build-linux-x86_64/rcc/prof.o build-linux-x86_64/rcc/profio.o build-linux-x86_64/rcc/simp.o build-linux-x86_64/rcc/stmt.o build-linux-x86_64/rcc/string.o build-linux-x86_64/rcc/sym.o build-linux-x86_64/rcc/symbolic.o build-linux-x86_64/rcc/trace.o build-linux-x86_64/rcc/tree.o build-linux-x86_64/rcc/types.o
install -s -m 0755 build-linux-x86_64/q3lcc ../
install -s -m 0755 build-linux-x86_64/q3cpp ../
install -s -m 0755 build-linux-x86_64/q3rcc ../
make[1]: Leaving directory `/tmp/tremulous-1.1.0-src/src/tools/lcc'
make -C src/tools/asm install
make[1]: Entering directory `/tmp/tremulous-1.1.0-src/src/tools/asm'
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
q3asm.c: In function ā€˜TryAssembleENDPROCā€™:
q3asm.c:959:10: error: variable ā€˜v2ā€™ set but not used [-Werror=unused-but-set-variable]
  int  v, v2;
          ^
q3asm.c:959:7: error: variable ā€˜vā€™ set but not used [-Werror=unused-but-set-variable]
  int  v, v2;
       ^
cc1: all warnings being treated as errors
cmdlib.c: In function ā€˜_printfā€™:
cmdlib.c:189:3: error: format not a string literal and no format arguments [-Werror=format-security]
   printf(text);
   ^
cmdlib.c: In function ā€˜ExpandPathā€™:
cmdlib.c:316:6: error: the address of ā€˜qdirā€™ will always evaluate as ā€˜trueā€™ [-Werror=address]
  if (!qdir)
      ^
cmdlib.c: In function ā€˜ExpandGamePathā€™:
cmdlib.c:329:6: error: the address of ā€˜qdirā€™ will always evaluate as ā€˜trueā€™ [-Werror=address]
  if (!qdir)
      ^
cmdlib.c: In function ā€˜Q_getwdā€™:
cmdlib.c:403:11: error: ignoring return value of ā€˜getcwdā€™, declared with attribute warn_unused_result [-Werror=unused-result]
    getcwd (out, 256);
           ^
cc1: all warnings being treated as errors
make[1]: *** [q3asm] Error 1
make[1]: Leaving directory `/tmp/tremulous-1.1.0-src/src/tools/asm'
make: *** [tools] Error 2

@newb this looks like a very old bug. Where did you get source from?

Try build the source from the darklegion Tremulous repo on github.

god bless you linux nerds

1 Like
git clone git@github.com:darklegion/tremulous.git
cd tremulous
git checkout gpp
make -j debug
cd assets
zip -r zlocal-assets.pk3 *
mv zlocal-assets.pk3 ../build/debug-linux-x86_64/base
cd ../build/debug-linux-x86_64/base
zip -r zlocal-vms.pk3 vm/
cd ..

Youā€™ll also need to data-1.1.0.pk3, data-1.2.0.pk3, and all the base map files (eā€¦g., map-atcs-1.1.0.pk3 etc) put them in that sae directoy.

Lastly, set vm_cgame 2, set vm_ui 2.

Iā€™ve not done this in a while, but thatā€™s basically the procedure.

need help with *.h files location. in many src files there is include "SDL.h". i have this file in:

$ whereis SDL.h
SDL: /usr/include/SDL

but it looks like itā€™s not on gcc path:

$ `gcc -print-prog-name=cc1plus` -v
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.8
 /usr/include/x86_64-linux-gnu/c++/4.8
 /usr/include/c++/4.8/backward
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
 /usr/include
End of search list.

so it doesnā€™t compile:

fatal error: SDL.h: No such file or directory
 #  include "SDL.h"
                   ^

should i modify Makefile (how?) or can i just add some env variables to add directory with SDL.h to gcc path?

nvm. sdl2 was needed and it compiled

thereā€™s an error here. after mv you will have a file named base inside ../build/debug-linux-x86_64 folder. you cannot cd into a file. whatā€™s the expected dir structure? can you plz fix those commands? it will help me and maybe also someone else in future

Pretty sure that should be:

mv zlocal-assets.pk3 ../build/debug-linux-x86_64/base/ && cd ../build/debug-linux-x86_64/base/

The missing ā€œ/ā€ would cause the pk3 to be moved and renamed to ā€œbaseā€ instead of going inside the folder ā€œbaseā€

Not if ../build/debug-linux-x86_64/base exists. Run mkdir before mv.

You canā€™t have two entries with the same name in a directory. Also, mv doesnā€™t create directories so the command will still fail with the trailing slash.

ok, after creating ../build/debug-linux-x86_64/base i moved zlocal-assets.pk3 into that dir. what next?

cd ../build/debug-linux-x86_64/base
zip -r zlocal-vms.pk3 vm/

there is no vm folder inside /build/debug-linux-x86_64/base. which vm folder should i pack and where to place the resulting zlocal-vms.pk3?