Xonotic Forums
[SOLVED] Error compiling DP after update GIT on linux - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Error compiling DP after update GIT on linux (/showthread.php?tid=1870)



Error compiling DP after update GIT on linux - Leeloo - 05-31-2011

Hi, first I want to thank you to all of xonotic team for your big work.
Since last week I got compiling error after update GIT. The compiling was a success just befor the weekend test (XWIT). I'll apreciate if a "programing guru" would help me to resolve my probleme. Here the end of the log of the process. Sry for my poor english.

LDFLAGS="-g -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always --dirty; } || echo -` -DBUILDTYPE=debug -lm -ljpeg ../misc/builddeps/dp.linux32/lib//libd0_blind_id.a ../misc/builddeps/dp.linux32/lib//libgmp.a ../misc/builddeps/dp.linux32/lib//libd0_rijndael.a -lrt -ldl" LEVEL=2
error: unknown option `dirty'
usage: git describe [options] <committish>*

-+-+-+-+-+-+ and -+-+-+-+-+-+

gcc -DSUPPORTIPV6 -o darkplaces-dedicated builddate.c sys_linux.o vid_null.o thread_null.o snd_null.o cd_null.o bih.o cap_avi.o cap_ogg.o cd_shared.o crypto.o cl_collision.o cl_demo.o cl_dyntexture.o cl_gecko.o cl_input.o cl_main.o cl_parse.o cl_particles.o cl_screen.o cl_video.o clvm_cmds.o cmd.o collision.o common.o console.o csprogs.o curves.o cvar.o dpsoftrast.o dpvsimpledecode.o filematch.o fractalnoise.o fs.o ft2.o utf8lib.o gl_backend.o gl_draw.o gl_rmain.o gl_rsurf.o gl_textures.o hmac.o host.o host_cmd.o image.o image_png.o jpeg.o keys.o lhnet.o libcurl.o mathlib.o matrixlib.o mdfour.o menu.o meshqueue.o mod_skeletal_animatevertices_sse.o mod_skeletal_animatevertices_generic.o model_alias.o model_brush.o model_shared.o model_sprite.o mvm_cmds.o netconn.o palette.o polygon.o portals.o protocol.o prvm_cmds.o prvm_edict.o prvm_exec.o r_explosion.o r_lerpanim.o r_lightning.o r_modules.o r_shadow.o r_sky.o r_sprites.o sbar.o sv_demo.o sv_main.o sv_move.o sv_phys.o sv_user.o svbsp.o svvm_cmds.o sys_shared.o vid_shared.o view.o wad.o world.o zone.o -g -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=- -DBUILDTYPE=debug -lm -ljpeg ../misc/builddeps/dp.linux32/lib//libd0_blind_id.a ../misc/builddeps/dp.linux32/lib//libgmp.a ../misc/builddeps/dp.linux32/lib//libd0_rijndael.a -lrt -ldl
dpsoftrast.o: In function `DPSOFTRAST_Interpret_Draw':
/home/user/jeux/xonotic/darkplaces/dpsoftrast.c:4907: undefined reference to `__sync_add_and_fetch_4'
/home/user/jeux/xonotic/darkplaces/dpsoftrast.c:5324: undefined reference to `__sync_add_and_fetch_4'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [darkplaces-dedicated] Erreur 1
make[2]: quittant le répertoire « /home/user/jeux/xonotic/darkplaces »
make[1]: *** [bin-debug] Erreur 2
make[1]: quittant le répertoire « /home/user/jeux/xonotic/darkplaces »
make: *** [sv-debug] Erreur 2

I can show or attach all the log file if necessary. Thank you for your attention.


RE: Error compiling DP after update GIT on linux - divVerent - 06-01-2011

Looks like you have to update your version of git. Or wait a bit, I don't think we really need that feature.


RE: Error compiling DP after update GIT on linux - Leeloo - 06-01-2011

(06-01-2011, 05:45 AM)divVerent Wrote: Looks like you have to update your version of git. Or wait a bit, I don't think we really need that feature.

Thank you for your tip, I updated GIT to the v1.7.5.4 but I have the same result when compiling Xono:
/home/user/jeux/xonotic/darkplaces/dpsoftrast.c:4907: undefined reference to `__sync_add_and_fetch_4'
/home/kuku/jeux/xonotic/darkplaces/dpsoftrast.c:5324: undefined reference to `__sync_add_and_fetch_4'

So I will wait a bit as you told me and see later if its works. Also I'll wait for an other tip to debug that ;-)
Ciao