can't compile

Get support for Unvanquished.
Post Reply
User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

can't compile

Post by JOURNEYMAN »

I get the following error when trying to compile the latest git.

Linking CXX shared library librendererGL3.so
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation.c.o: In function BoneMatrixMulSSE':
tr_animation.c:(.text+0x0): multiple definition of
BoneMatrixMulSSE'
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation_mdm.c.o:tr_animation_mdm.c:(.text+0x2120): first defined here
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation.c.o: In function BoneMatrixMadSSE':
tr_animation.c:(.text+0x40): multiple definition of
BoneMatrixMadSSE'
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation_mdm.c.o:tr_animation_mdm.c:(.text+0x2160): first defined here
.
.
.
.
.
CMakeFiles/rendererGL.dir/src/engine/sys/sdl_gamma.c.o: In function BoneMatrixMadSSE':
sdl_gamma.c:(.text+0x40): multiple definition of
BoneMatrixMadSSE'
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation_mdm.c.o:tr_animation_mdm.c:(.text+0x2160): first defined here
CMakeFiles/rendererGL.dir/src/engine/sys/sdl_gamma.c.o: In function BoneMatrixTransform4SSE':
sdl_gamma.c:(.text+0x90): multiple definition of
BoneMatrixTransform4SSE'
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation_mdm.c.o:tr_animation_mdm.c:(.text+0x21b0): first defined here
CMakeFiles/rendererGL.dir/src/engine/sys/sdl_gamma.c.o: In function BoneMatrixTransform4NormalizeSSE':
sdl_gamma.c:(.text+0xd0): multiple definition of
BoneMatrixTransform4NormalizeSSE'
CMakeFiles/rendererGL.dir/src/engine/rendererGL/tr_animation_mdm.c.o:tr_animation_mdm.c:(.text+0x21f0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [librendererGL3.so] Error 1
make[1]: *** [CMakeFiles/rendererGL.dir/all] Error 2
make: *** [all] Error 2

Grab reality by the balls and squeeeeze!

Image

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: can't compile

Post by danmal »

No issues here. Make sure you're on the latest commit and that you've made no modifications to the source files.

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: can't compile

Post by kharnov »

Fuma has just committed something that may help.

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: can't compile

Post by Ishq »

It looks like you're missing the tr_bonematrix.c/h files.

Code: Select all

git reset --hard
git pull
make clean
make
User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: can't compile

Post by JOURNEYMAN »

I was able to compile and run the game, but when I try to join a server, the game crashes with following error.

3menu file not found: ui/5a-HotBarCentered/hud.cfg, using default
Can't read sound file sound/buildables/alien/idle_unpowered.wav
3Warning: 7could not find sound/buildables/alien/idle_unpowered.wav — using default
Can't read sound file sound/buildables/human/idle_unpowered.wav
3Warning: 7could not find sound/buildables/human/idle_unpowered.wav — using default
Failed to load animation file models/buildables/mgturret/idle_unpowered.md5anim
Failed to load animation file models/buildables/mgturret/destroy_unpowered.md5anim
Failed to load animation file models/buildables/medistat/idle_unpowered.md5anim
Failed to load animation file models/buildables/medistat/attack2.md5anim
Failed to load animation file models/buildables/medistat/pain.md5anim
Failed to load animation file models/buildables/medistat/pain2.md5anim
Failed to load animation file models/buildables/reactor/powerdown.md5anim
Failed to load animation file models/buildables/reactor/idle_unpowered.md5anim
Failed to load animation file models/buildables/reactor/construct.md5anim
Failed to load animation file models/buildables/reactor/attack.md5anim
Failed to load animation file models/buildables/reactor/pain.md5anim
Failed to load animation file models/buildables/reactor/destroy_unpowered.md5anim
Failed to load animation file models/players/level2/die2.md5anim
Failed to load animation file models/players/level2/die3.md5anim
Failed to load animation file models/players/level2/swim.md5anim
Failed to load animation file models/players/level2/die2.md5anim
Failed to load animation file models/players/level2/die3.md5anim
Failed to load animation file models/players/level2/swim.md5anim
Electric Monk7 entered the game
Closing SDL audio device…
SDL audio device shut down.

Grab reality by the balls and squeeeeze!

Image

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: can't compile

Post by Ishq »

Can I get the startup log?

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: can't compile

Post by JOURNEYMAN »

This is the whole log. I was able to load the game and join a server this time but the game promptly crashed.

Unvanquished 0.18.0 v0.18.0-29-gfbf4448 i386 Aug 11 2013
+set cl_renderer GL3,GL
No SSE support on this machine
FS_AddGameDirectory("/home/Monk/Games/Unvanquished/build", "main") found 0 .pk3 and 0 .pk3dir
pk3: /home/Monk/.Unvanquished/main/map-arachnid2-gpp.pk3 ( 67 files )
pk3: /home/Monk/.Unvanquished/main/map-atcshd-gpp2.pk3 ( 91 files )
pk3: /home/Monk/.Unvanquished/main/map-atcszalpha-b2.pk3 ( 50 files )
pk3: /home/Monk/.Unvanquished/main/map-bluedragon2_b3.pk3 ( 154 files )
pk3: /home/Monk/.Unvanquished/main/map-citadel.pk3 ( 143 files )
pk3: /home/Monk/.Unvanquished/main/map-cruz-b6.pk3 ( 130 files )
pk3: /home/Monk/.Unvanquished/main/map-Eden-b3.pk3 ( 111 files )
pk3: /home/Monk/.Unvanquished/main/map-karith-gpp.pk3 ( 118 files )
pk3: /home/Monk/.Unvanquished/main/map-megaprocyon-1.0.0.pk3 ( 29 files )
pk3: /home/Monk/.Unvanquished/main/map-methane-beta1.pk3 ( 196 files )
pk3: /home/Monk/.Unvanquished/main/map-nano.pk3 ( 108 files )
pk3: /home/Monk/.Unvanquished/main/map-nexus6-gpp.pk3 ( 151 files )
pk3: /home/Monk/.Unvanquished/main/map-niveus-gpp.pk3 ( 134 files )
pk3: /home/Monk/.Unvanquished/main/map-orion-beta2.pk3 ( 101 files )
pk3: /home/Monk/.Unvanquished/main/map-parpax-d02.pk3 ( 391 files )
pk3: /home/Monk/.Unvanquished/main/map-perseus-b3.pk3 ( 94 files )
pk3: /home/Monk/.Unvanquished/main/map-plat23-b9.pk3 ( 126 files )
pk3: /home/Monk/.Unvanquished/main/map-plat23-b10.pk3 ( 124 files )
pk3: /home/Monk/.Unvanquished/main/map-procyon-r1.pk3 ( 108 files )
pk3: /home/Monk/.Unvanquished/main/map-pulse-beta3-1.1.0.pk3 ( 198 files )
pk3: /home/Monk/.Unvanquished/main/map-sirius.pk3 ( 134 files )
pk3: /home/Monk/.Unvanquished/main/map-spacetracks-r1.pk3 ( 207 files )
pk3: /home/Monk/.Unvanquished/main/map-staratcs-gpp2.pk3 ( 199 files )
pk3: /home/Monk/.Unvanquished/main/map-station15-r1.pk3 ( 205 files )
pk3: /home/Monk/.Unvanquished/main/map-thunder-b1a.pk3 ( 276 files )
pk3: /home/Monk/.Unvanquished/main/map-thunder-b2.pk3 ( 235 files )
pk3: /home/Monk/.Unvanquished/main/map-thunder-b3.pk3 ( 232 files )
pk3: /home/Monk/.Unvanquished/main/map-transit-gpp.pk3 ( 135 files )
pk3: /home/Monk/.Unvanquished/main/map-tremclub-b2.pk3 ( 109 files )
pk3: /home/Monk/.Unvanquished/main/map-tremor-gpp.pk3 ( 47 files )
pk3: /home/Monk/.Unvanquished/main/map-UTCSfinal.pk3 ( 82 files )
pk3: /home/Monk/.Unvanquished/main/map-veddak-final.pk3 ( 294 files )
pk3: /home/Monk/.Unvanquished/main/map-wrecktify_b2.pk3 ( 13 files )
pk3: /home/Monk/.Unvanquished/main/map-yocto-b1a.pk3 ( 230 files )
pk3: /home/Monk/.Unvanquished/main/navmesh-default-0.1.pk3 ( 289 files )
pk3: /home/Monk/.Unvanquished/main/navmesh-default-0.2.pk3 ( 289 files )
pk3: /home/Monk/.Unvanquished/main/navmesh-default-0.3.pk3 ( 277 files )
pk3: /home/Monk/.Unvanquished/main/pak0.pk3 ( 1590 files )
pk3: /home/Monk/.Unvanquished/main/pak1.pk3 ( 981 files )
pk3: /home/Monk/.Unvanquished/main/pak2.pk3 ( 166 files )
pk3: /home/Monk/.Unvanquished/main/pak3.pk3 ( 117 files )
pk3: /home/Monk/.Unvanquished/main/pak4.pk3 ( 148 files )
pk3: /home/Monk/.Unvanquished/main/pak5.pk3 ( 143 files )
pk3: /home/Monk/.Unvanquished/main/pak6.pk3 ( 148 files )
pk3: /home/Monk/.Unvanquished/main/pak7.pk3 ( 268 files )
pk3: /home/Monk/.Unvanquished/main/pak8.pk3 ( 132 files )
pk3: /home/Monk/.Unvanquished/main/pak9.pk3 ( 122 files )
pk3: /home/Monk/.Unvanquished/main/pakA.pk3 ( 31 files )
pk3: /home/Monk/.Unvanquished/main/pakB.pk3 ( 226 files )
pk3: /home/Monk/.Unvanquished/main/pakC.pk3 ( 19 files )
pk3: /home/Monk/.Unvanquished/main/pakD.pk3 ( 140 files )
pk3: /home/Monk/.Unvanquished/main/pakE.pk3 ( 20 files )
pk3: /home/Monk/.Unvanquished/main/pakF.pk3 ( 70 files )
pk3: /home/Monk/.Unvanquished/main/pakG.pk3 ( 227 files )
pk3: /home/Monk/.Unvanquished/main/pakH.pk3 ( 185 files )
pk3: /home/Monk/.Unvanquished/main/vms-0.18.0.pk3 ( 3 files )
FS_AddGameDirectory("/home/Monk/.Unvanquished", "main") found 56 .pk3 and 0 .pk3dir
Loaded 6 languages
execing default.cfg
execing profiles/ElectricMonk/autogen.cfg
execing profiles/ElectricMonk/keybindings.cfg
execing profiles/ElectricMonk/autoexec.cfg
Set language to English
----- Client Initialization -----
----- Client Initialization Complete -----
----- Initializing Renderer -----
Loading "/home/Monk/Games/Unvanquished/build/librendererGL3.so"…done
Calling GetRefAPI…
SDL_Init( SDL_INIT_VIDEO )... SDL using driver "x11"
Initializing OpenGL display
Estimated display aspect: 1.333
...setting mode -1: 640 480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Using GLEW 1.9.0
...WARNING: OpenGL too old
Initializing OpenGL display
...setting mode -1: 640 480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Using GLEW 1.9.0
...WARNING: OpenGL too old
Setting r_mode -1 failed, falling back on r_mode 3
Initializing OpenGL display
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Using GLEW 1.9.0
...WARNING: OpenGL too old
Loading "/home/Monk/Games/Unvanquished/build/librendererGL.so"…done
Calling GetRefAPI…
SDL_Init( SDL_INIT_VIDEO )... SDL using driver "x11"
Initializing OpenGL display
Estimated display aspect: 1.333
...setting mode -1: 640 480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Using GLEW 1.9.0
Available modes: '640x480 800x600 1024x768 1280x960 1400x1050 1280x1024 1280x854 720x480 1152x768 1280x800 848x480 1280x720'
GL_RENDERER: Mesa DRI R200 (RV250 4C66) x86/MMX/SSE2 TCL DRI2
Detected graphics driver class 'Mesa'
Detected graphics hardware class 'generic'
Initializing OpenGL extensions
...GL_EXT_texture_compression_s3tc not found
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
3WARNING: Bad shader file scripts/staratcs.shader has incorrect syntax.

GL_VENDOR: Tungsten Graphics, Inc.
GL_RENDERER: Mesa DRI R200 (RV250 4C66) x86/MMX/SSE2 TCL DRI2

GL_VERSION: 1.3 Mesa 7.11

----- Initializing Sound -----
Using builtin sound backend
SDL_Init( SDL_INIT_AUDIO )… OK
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
0x98f2fc0 DMA buffer

No background file.


Sound memory manager started
1ERROR: 7file models/players//animation.cfg doesn't exist
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 192.168.1.15
IP6: ::1
IP6: fe80::20b:dbff:fea6:e6e%eth0
Opening IP6 socket: [::]:*
Opening IP socket: 0.0.0.0:*
Sys_SendPacket (ipv6): Network is unreachable
Sys_SendPacket (ipv6): Network is unreachable
Sys_SendPacket (ipv6): Network is unreachable
Sys_SendPacket (ipv6): Network is unreachable
5Loading RSA keys from profiles/ElectricMonk/pubkey
Daemon RSA public-key found.
Com_TrackProfile: Deleting old pid file [main] [profiles/ElectricMonk/profile.pid]

GL_VENDOR: Tungsten Graphics, Inc.
GL_RENDERER: Mesa DRI R200 (RV250 4C66) x86/MMX/SSE2 TCL DRI2
GL_VERSION: 1.3 Mesa 7.11
3menu file not found: ui/5a-HotBarCentered/hud.cfg, using default
Can't read sound file sound/buildables/alien/idle_unpowered.wav
3Warning: 7could not find sound/buildables/alien/idle_unpowered.wav — using default
Can't read sound file sound/buildables/human/idle_unpowered.wav
3Warning: 7could not find sound/buildables/human/idle_unpowered.wav — using default
Failed to load animation file models/buildables/mgturret/idle_unpowered.md5anim
Failed to load animation file models/buildables/mgturret/destroy_unpowered.md5anim
Failed to load animation file models/buildables/medistat/idle_unpowered.md5anim
Failed to load animation file models/buildables/medistat/attack2.md5anim
Failed to load animation file models/buildables/medistat/pain.md5anim
Failed to load animation file models/buildables/medistat/pain2.md5anim
Failed to load animation file models/buildables/reactor/powerdown.md5anim
Failed to load animation file models/buildables/reactor/idle_unpowered.md5anim
Failed to load animation file models/buildables/reactor/construct.md5anim
Failed to load animation file models/buildables/reactor/attack.md5anim
Failed to load animation file models/buildables/reactor/pain.md5anim
Failed to load animation file models/buildables/reactor/destroy_unpowered.md5anim
Failed to load animation file models/players/level2/die2.md5anim
Failed to load animation file models/players/level2/die3.md5anim
Failed to load animation file models/players/level2/swim.md5anim
Failed to load animation file models/players/level2/die2.md5anim
Failed to load animation file models/players/level2/die3.md5anim
Failed to load animation file models/players/level2/swim.md5anim
execing profiles/ElectricMonk/autogen.cfg
execing profiles/ElectricMonk/keybindings.cfg
Electric Monk7 entered the game
Closing SDL audio device…
SDL audio device shut down.

Grab reality by the balls and squeeeeze!

Image

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: can't compile

Post by Ishq »

Which server?

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: can't compile

Post by JOURNEYMAN »

The Resources server. I can run the game but when I try to connect, the game either crashes after loading the map or immediately after entering the game.
I'll compile the latest git and try to join a server other than the Resources server.

Grab reality by the balls and squeeeeze!

Image

User avatar
Viech
Project Head
Posts: 2139
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: can't compile

Post by Viech »

Try to symlink the main folder inside the source directory at /home/Monk/.Unvanquished/main/zzz-git.pk3dir. Running the latest git will also require the assets from the resource or tourney servers inside your main folder, since we just merged the gameplay changes to master. Alternatively checkout tag v0.18.0.

Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction

Post Reply