[SOLVED] tmw-0.0.20 compile error

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
flipe
Peon
Peon
Posts: 32
Joined: 18 Oct 2005, 06:16

[SOLVED] tmw-0.0.20 compile error

Post by flipe » 13 Sep 2006, 19:23

I try compile tmw-0.0.20 in a debian-sarge but I get this error...
then mv -f ".deps/tmw-buddylist.Tpo" ".deps/tmw-buddylist.Po"; else rm -f ".deps/tmw-buddylist.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/share/tmw/"\" -Wall -Werror -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-animation.o -MD -MP -MF ".deps/tmw-animation.Tpo" -c -o tmw-animation.o `test -f 'animation.cpp' || echo './'`animation.cpp; \
then mv -f ".deps/tmw-animation.Tpo" ".deps/tmw-animation.Po"; else rm -f ".deps/tmw-animation.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/share/tmw/"\" -Wall -Werror -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-base64.o -MD -MP -MF ".deps/tmw-base64.Tpo" -c -o tmw-base64.o `test -f 'base64.cpp' || echo './'`base64.cpp; \
then mv -f ".deps/tmw-base64.Tpo" ".deps/tmw-base64.Po"; else rm -f ".deps/tmw-base64.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/share/tmw/"\" -Wall -Werror -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-being.o -MD -MP -MF ".deps/tmw-being.Tpo" -c -o tmw-being.o `test -f 'being.cpp' || echo './'`being.cpp; \
then mv -f ".deps/tmw-being.Tpo" ".deps/tmw-being.Po"; else rm -f ".deps/tmw-being.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/share/tmw/"\" -Wall -Werror -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-beingmanager.o -MD -MP -MF ".deps/tmw-beingmanager.Tpo" -c -o tmw-beingmanager.o `test -f 'beingmanager.cpp' || echo './'`beingmanager.cpp; \
then mv -f ".deps/tmw-beingmanager.Tpo" ".deps/tmw-beingmanager.Po"; else rm -f ".deps/tmw-beingmanager.Tpo"; exit 1; fi
beingmanager.cpp: In member function 'Being* BeingManager::findBeing(Uint16, Uint16, Being::Type)':
beingmanager.cpp:111: internal compiler error: Instrução ilegal
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL>.
Preprocessed source stored into /tmp/ccaxCB0G.out file, please attach this to your bugreport.
make[2]: ** [tmw-beingmanager.o] Erro 1
make[2]: Saindo do diretório `/home/comp/tmw-0.0.20/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/comp/tmw-0.0.20'
make: ** [all] Erro 2
I try use the gcc-3.4 and 4.1

I have I deps installed, guichan-0.4.0, phyfs-1.1.0.
Matt
Knight
Knight
Posts: 1746
Joined: 07 Aug 2004, 11:47
Location: Germany->Bavaria

Post by Matt » 13 Sep 2006, 22:13

We're using phyfs 1.0.x, not 1.x.
It is not your current problem, but'll notice it while trying to start the game.
flipe
Peon
Peon
Posts: 32
Joined: 18 Oct 2005, 06:16

Post by flipe » 14 Sep 2006, 17:50

now I try to run tmw, but get this error...

Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 657: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!


with gdb
(gdb) run
Starting program: /usr/bin/tmw
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 657: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

Program exited with code 0177.
(gdb) quit
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 16 Sep 2006, 11:32

Well seems to me that both your compiler and your linker and possibly messed up. These are most certainly not problems with TMW.
flipe
Peon
Peon
Posts: 32
Joined: 18 Oct 2005, 06:16

Post by flipe » 16 Sep 2006, 14:53

solved, appear be the tag "--build" on the configure time

resolvido, parecia ser a opção "--build" na execução do configure
Locked