From: Jarred B. <jp...@ya...> - 2001-12-29 17:05:28
|
First put the path to your Quake2 .so files in /etc/quake2.conf, i.e, /usr/local/games/quake2/ (I put '.' in mine, and just run the binary from the Q2 dir) --- Seth Galbraith <sga...@li...> wrote: > Just out of curiousity I tried compiling the quake2 > source from QF CVS. > I'm using RedHat 7.2. When I try to make all I get > this confusing error: > > gcc -Dstricmp=strcasecmp -march=i686 -O6 -ffast-math > -funroll-loops > -fomit-frame-pointer -fexpensive-optimizations > -malign-loops=2 > -malign-jumps=2 -malign-functions=2 -fPIC -o > releasei386/game/g_ai.o -c > ../../quake2/game/g_ai.c > gcc -Dstricmp=strcasecmp -march=i686 -O6 -ffast-math > -funroll-loops > -fomit-frame-pointer -fexpensive-optimizations > -malign-loops=2 > -malign-jumps=2 -malign-functions=2 -fPIC -o > releasei386/game/p_client.o > -c ../../quake2/game/p_client.c > ../../quake2/game/p_client.c: In function > `ClientThink': > ../../quake2/game/p_client.c:1744: Insn does not > satisfy its constraints: > (insn:TI 1943 1713 1944 (parallel[ > (set (mem:HI (plus:SI (reg:SI 6 ebp) > (const_int -274 > [0xfffffeee])) 0) > (fix:HI (reg:SF 8 st(0)))) > (clobber (mem:SI (plus:SI (reg:SI 6 ebp) > (const_int -272 > [0xfffffef0])) 0)) > (clobber (mem:HI (plus:SI (reg:SI 6 ebp) > (const_int -274 > [0xfffffeee])) 0)) > (clobber (reg:SI 6 ebp)) > ] ) 97 {*fix_trunchi_1} (insn_list 1715 > (insn_list:REG_DEP_ANTI > 1934 (insn_list:REG_DEP_ANTI 568 > (insn_list:REG_DEP_ANTI 560 > (insn_list:REG_DEP_ANTI 562 (insn_list:REG_DEP_ANTI > 564 > (insn_list:REG_DEP_ANTI 1935 (insn_list:REG_DEP_ANTI > 1793 > (insn_list:REG_DEP_ANTI 1796 (insn_list:REG_DEP_ANTI > 577 > (insn_list:REG_DEP_ANTI 1691 (insn_list 1799 > (insn_list:REG_DEP_ANTI 1690 > (insn_list:REG_DEP_ANTI 1937 (insn_list:REG_DEP_ANTI > 1938 > (insn_list:REG_DEP_ANTI 1694 (insn_list:REG_DEP_ANTI > 1695 > (insn_list:REG_DEP_ANTI 1939 (insn_list:REG_DEP_ANTI > 1940 > (insn_list:REG_DEP_ANTI 1698 (insn_list:REG_DEP_ANTI > 1709 > (insn_list:REG_DEP_ANTI 1941 ( > insn_list:REG_DEP_ANTI 1942 (insn_list:REG_DEP_ANTI > 1713 > (insn_list:REG_DEP_ANTI 1714 > (nil)))))))))))))))))))))))))) > (expr_list:REG_DEAD (reg:SF 8 st(0)) > (nil))) > ../../quake2/game/p_client.c:1744: confused by > earlier errors, bailing out > > If I do "make -k all" I get the following additional > error: > > /tmp/ccd3L42i.s: Assembler messages: > /tmp/ccd3L42i.s:598: Warning: indirect jmp without > `*' > ../../quake2/ref_gl/gl_image.c: In function > `GL_InitImages': > ../../quake2/ref_gl/gl_image.c:1514: warning: > passing arg 2 of pointer to > function from incompatible pointer type > ../../quake2/ref_gl/gl_model.c: In function > `Mod_ForName': > ../../quake2/ref_gl/gl_model.c:227: warning: passing > arg 2 of pointer to > function from incompatible pointer type > ../../quake2/ref_gl/gl_rmain.c: In function > `GetRefAPI': > ../../quake2/ref_gl/gl_rmain.c:1651: warning: > assignment from incompatible > pointer type > ../../quake2/ref_gl/gl_rmisc.c:246:1: warning: no > newline at end of file > > When I try to run linux/releasei386/quake2 I get > this error: > > Illegal instruction > > When I try to run linux/debugi386/quake2 I get this > error: > > ------- Loading ref_softx.so ------- > LoadLibrary("ref_softx.so") failed: can't open > /etc/quake2.conf (required > for location of ref libraries) > Refresh failed > recursive shutdown > Error: Couldn't fall back to software refresh! > __ __ _ _ > __ __ > _/ \__/ \__/ Seth Galbraith "The Serpent Lord" > \__/ \__/ \_ > \__/ \__/ \_ sga...@kr... #2244199 on ICQ > _/ \__/ \__/ > _/ \__/ \__/ http://www.planetquake.com/gg > \__/ \__/ \_ > > > -- > QuakeForge Development [ > qua...@li... ] > https://lists.sourceforge.net/lists/listinfo/quake-devel ===== |-| |-| |-| ___ |-| |-| \-\ /-/ | | | | | | || | | | | \ \/ / | |____ | | | | || | |___| | / /\ \ |______| |_| |_| || \_______/ / / \ \ /_/ \ \ The box said "Requires Windows 95 or better", so\_\ I installed Linux. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com |