Page 2 of 3

Posted: Mon Oct 10, 2011 8:55 am
by Lanac
pmd wrote:u installed it from deb's?
Idk for Redman, but i downloaded from tremulous.net, enabled sllowed executing file as a program, runned it, installed, runned 1.2 gpp, enabled executing file as a program again, selected tremulous location folder, installed, made a shortcut, and voilla, both 1.1 and 1.2 works for me.

Posted: Mon Oct 10, 2011 12:04 pm
by Redman
I downloaded zip from tremulous.net.

Anyway the executable on tremulous.net is outdated and buggy. I tried to compile latest SVN revision but it had shitload of errors. When I fixed them and compilation finished the game was crashing at start.

Posted: Wed Oct 12, 2011 7:16 am
by TheMuffinMann
Maybe try contacting Itamar or Ams about this.. They're both quite skilled with Linux and might help you install Trem GPP on your machine.

Posted: Sun Oct 30, 2011 2:40 pm
by pmd
new ubuntu new problems.
i succesfully installed oficial trem 1.1 and gpp on my ubuntu 11.10.
new problem: i cant build tremfusion from sources.
teh error:

Code: Select all

LD build/release-linux-x86/base/uix86.so
cc: error: unrecognized option «--no-allow-shlib-undefined»

Posted: Sun Oct 30, 2011 3:24 pm
by Redman
Remove --no-allow-shlib-undefined from makefile.

Ubuntu 11.10 is really weird. Synaptic was crashing all the time (the solution for the bug was to turn on then turn off screen reader, wtf?). I can't use sync settings in VLC because it crashes. Also the Unity user interface is shit, good thing it's possible to install old desktop.

Posted: Sun Oct 30, 2011 5:38 pm
by pmd
Redman wrote:Remove --no-allow-shlib-undefined from makefile.

Ubuntu 11.10 is really weird. Synaptic was crashing all the time (the solution for the bug was to turn on then turn off screen reader, wtf?). I can't use sync settings in VLC because it crashes. Also the Unity user interface is shit, good thing it's possible to install old desktop.
without --no-allow-shlib-undefined will be more errors in code. what easier:
1) install fixed/modified gcc(i think its problem of gcc) or just use new parameters.
2) fix tremfusion errors

Posted: Sun Oct 30, 2011 6:15 pm
by Redman
someone on stackoverflow wrote: --no-undefined
Report unresolved symbol references from regular object files.
This is done even if the linker is creating a non-symbolic shared
library. The switch --[no-]allow-shlib-undefined controls the
behaviour for reporting unresolved references found in shared
libraries being linked in.

--allow-shlib-undefined
--no-allow-shlib-undefined
Allows (the default) or disallows undefined symbols in shared
libraries. This switch is similar to --no-undefined except
that it determines the behaviour when the undefined symbols are
in a shared library rather than a regular object file. It does
not affect how undefined symbols in regular object files are
handled.

The reason that --allow-shlib-undefined is the default is that the
shared library being specified at link time may not be the
same as the one that is available at load time, so the symbols might
actually be resolvable at load time. Plus there are some systems,
(eg BeOS) where undefined symbols in shared libraries is normal.
(The kernel patches them at load time to select which function is most
appropriate for the current architecture. This is used for example to
dynamically select an appropriate memset function). Apparently it is
also normal for HPPA shared libraries to have undefined symbols.

Posted: Thu Nov 10, 2011 5:44 pm
by pmd
so, looks like new versions of gcc does not support commands:
--no-undefined
--allow-shlib-undefined
--no-allow-shlib-undefined
result of make without "--no-allow-shlib-undefined":

Code: Select all

LD build/release-linux-x86/base/uix86.so
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
build/release-linux-x86/base/qcommon/q_math.o: In function `RotatePointAroundVector':
q_math.c:(.text+0x541): undefined reference to `sincosf'
build/release-linux-x86/base/qcommon/q_math.o: In function `RotateAroundDirection':
q_math.c:(.text+0xb01): undefined reference to `sincosf'
build/release-linux-x86/base/qcommon/q_math.o: In function `AngleVectors':
q_math.c:(.text+0x19da): undefined reference to `sincosf'
q_math.c:(.text+0x1a29): undefined reference to `sincosf'
q_math.c:(.text+0x1a79): undefined reference to `sincosf'
there is no any "sincosf" in q_math.c, or i dont see what code is refrenced to it.

any ideas?

Posted: Thu Nov 10, 2011 5:58 pm
by ani
does anyone have an idea when the real 1.2 will be available ?
because people has quit 1.1 and i have shit errors with 1.2 too

Posted: Thu Nov 10, 2011 6:09 pm
by Redman
1.2 client available on tremulous.net is really outdated. Try compiling latest svn version (http://svn.icculus.org/tremulous/), helped for me.

Posted: Thu Nov 10, 2011 6:13 pm
by ani
i have ubuntu 11.04, so will i have
shitload of errors
like you ? >.<

Posted: Thu Nov 10, 2011 6:43 pm
by Redman
The revision I tried before was shit. Now I'm using revision 2260 which works fine.

Posted: Thu Nov 10, 2011 6:48 pm
by ani
ok

Posted: Thu Nov 10, 2011 7:46 pm
by pmd
whats about alt+tab in official trem client?

upd: solved

Code: Select all

startx /usr/local/bin/tremulous-gpp -- &#58;1

in the console(not treminal emulator), for example i did it on console called by ctrl+alt+f6

Posted: Fri Nov 11, 2011 8:28 am
by ani
svn is really obscure T.T

when i do:
svn checkout http://svn.icculus.org/tremulous/ /home/ani/svntremsource
It says:
svn: OPTIONS de 'http://svn.icculus.org/tremulous': 200 OK (http://svn.icculus.org)
but i get nothing in svntremsource folder :?