compilation problems

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
mr_kyle
Posts: 15
Joined: Sun Aug 26, 2007 9:04 pm

compilation problems

Post by mr_kyle » Sun Aug 26, 2007 9:16 pm

this ta3d looked interesting so i installed allegro-4.2.2, alleggl-0.4.2, and the fmod libraries as well, also i used the ta3d-v-0-4-0 release. When i tried to compile it this is what i got:
dave@davesbox : /home/dave/ta3ddave@davesbox:~/ta3d$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lGL... yes
checking for main in -lGLU... no
checking for main in -lz... yes
checking for main in -lfmodex... yes
checking for allegro-config... /usr/bin/allegro-config
checking for Allegro - version >= 4.2.0... yes (version 4.2.2)
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking alleggl.h usability... yes
checking alleggl.h presence... yes
checking for alleggl.h... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for select... no
checking for sqrt... no
checking for strcasecmp... no
checking for strdup... no
checking for strstr... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
dave@davesbox : /home/dave/ta3ddave@davesbox:~/ta3d$ make
make all-recursive
make[1]: Entering directory `/home/dave/ta3d'
Making all in src
make[2]: Entering directory `/home/dave/ta3d/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT ta3d.o -MD -MP -MF .deps/ta3d.Tpo -c -o ta3d.o ta3d.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/ta3d.Tpo .deps/ta3d.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT i18n.o -MD -MP -MF .deps/i18n.Tpo -c -o i18n.o i18n.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/i18n.Tpo .deps/i18n.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cTA3D_Engine.o -MD -MP -MF .deps/cTA3D_Engine.Tpo -c -o cTA3D_Engine.o cTA3D_Engine.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cTA3D_Engine.Tpo .deps/cTA3D_Engine.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cTAFileParser.o -MD -MP -MF .deps/cTAFileParser.Tpo -c -o cTAFileParser.o cTAFileParser.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
cTAFileParser.cpp: In member function 'String TA3D::UTILS::cTAFileParser::GetLine(const String&)':
cTAFileParser.cpp:29: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cTAFileParser.Tpo .deps/cTAFileParser.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT gfx.o -MD -MP -MF .deps/gfx.Tpo -c -o gfx.o gfx.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/gfx.Tpo .deps/gfx.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT pathfinding.o -MD -MP -MF .deps/pathfinding.Tpo -c -o pathfinding.o pathfinding.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/pathfinding.Tpo .deps/pathfinding.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/menu.Tpo .deps/menu.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT 3do.o -MD -MP -MF .deps/3do.Tpo -c -o 3do.o 3do.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/3do.Tpo .deps/3do.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cob.o -MD -MP -MF .deps/cob.Tpo -c -o cob.o cob.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cob.Tpo .deps/cob.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT console.o -MD -MP -MF .deps/console.Tpo -c -o console.o console.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/console.Tpo .deps/console.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT EngineClass.o -MD -MP -MF .deps/EngineClass.Tpo -c -o EngineClass.o EngineClass.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/EngineClass.Tpo .deps/EngineClass.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT UnitEngine.o -MD -MP -MF .deps/UnitEngine.Tpo -c -o UnitEngine.o UnitEngine.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/UnitEngine.Tpo .deps/UnitEngine.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT fbi.o -MD -MP -MF .deps/fbi.Tpo -c -o fbi.o fbi.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/fbi.Tpo .deps/fbi.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT gaf.o -MD -MP -MF .deps/gaf.Tpo -c -o gaf.o gaf.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/gaf.Tpo .deps/gaf.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT glfunc.o -MD -MP -MF .deps/glfunc.Tpo -c -o glfunc.o glfunc.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/glfunc.Tpo .deps/glfunc.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
gui.cpp: In member function 'int WND::check(int, int, int, bool, SKIN*)':
gui.cpp:709: warning: converting negative value '-0x000000001' to 'uint32'
gui.cpp:721: warning: converting negative value '-0x000000001' to 'uint32'
gui.cpp:725: warning: converting negative value '-0x000000001' to 'uint32'
gui.cpp:728: warning: converting negative value '-0x000000001' to 'uint32'
mv -f .deps/gui.Tpo .deps/gui.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT intro.o -MD -MP -MF .deps/intro.Tpo -c -o intro.o intro.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/intro.Tpo .deps/intro.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT particles.o -MD -MP -MF .deps/particles.Tpo -c -o particles.o particles.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/particles.Tpo .deps/particles.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT tdf.o -MD -MP -MF .deps/tdf.Tpo -c -o tdf.o tdf.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
tdf.cpp: In member function 'void FEATURES::burn_feature(int)':
tdf.cpp:481: warning: converting negative value '-0x000000001' to 'uint32'
tdf.cpp: In member function 'void FEATURES::move_forest(const float&)':
tdf.cpp:539: warning: converting negative value '-0x000000001' to 'byte'
mv -f .deps/tdf.Tpo .deps/tdf.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT tnt.o -MD -MP -MF .deps/tnt.Tpo -c -o tnt.o tnt.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/tnt.Tpo .deps/tnt.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT weapons.o -MD -MP -MF .deps/weapons.Tpo -c -o weapons.o weapons.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/weapons.Tpo .deps/weapons.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT script.o -MD -MP -MF .deps/script.Tpo -c -o script.o script.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/script.Tpo .deps/script.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT ia.o -MD -MP -MF .deps/ia.Tpo -c -o ia.o ia.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/ia.Tpo .deps/ia.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT taconfig.o -MD -MP -MF .deps/taconfig.Tpo -c -o taconfig.o taconfig.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/taconfig.Tpo .deps/taconfig.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT icon.o -MD -MP -MF .deps/icon.Tpo -c -o icon.o icon.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/icon.Tpo .deps/icon.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT stdafx.o -MD -MP -MF .deps/stdafx.Tpo -c -o stdafx.o stdafx.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/stdafx.Tpo .deps/stdafx.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT TA3D_Audio.o -MD -MP -MF .deps/TA3D_Audio.Tpo -c -o TA3D_Audio.o TA3D_Audio.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/TA3D_Audio.Tpo .deps/TA3D_Audio.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT TA3D_Exception.o -MD -MP -MF .deps/TA3D_Exception.Tpo -c -o TA3D_Exception.o TA3D_Exception.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/TA3D_Exception.Tpo .deps/TA3D_Exception.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT TA3D_hpi.o -MD -MP -MF .deps/TA3D_hpi.Tpo -c -o TA3D_hpi.o TA3D_hpi.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/TA3D_hpi.Tpo .deps/TA3D_hpi.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT TA3D_NameSpace.o -MD -MP -MF .deps/TA3D_NameSpace.Tpo -c -o TA3D_NameSpace.o TA3D_NameSpace.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/TA3D_NameSpace.Tpo .deps/TA3D_NameSpace.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cThread.o -MD -MP -MF .deps/cThread.Tpo -c -o cThread.o cThread.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cThread.Tpo .deps/cThread.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cCriticalSection.o -MD -MP -MF .deps/cCriticalSection.Tpo -c -o cCriticalSection.o cCriticalSection.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cCriticalSection.Tpo .deps/cCriticalSection.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cInterface.o -MD -MP -MF .deps/cInterface.Tpo -c -o cInterface.o cInterface.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cInterface.Tpo .deps/cInterface.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cLogger.o -MD -MP -MF .deps/cLogger.Tpo -c -o cLogger.o cLogger.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cLogger.Tpo .deps/cLogger.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT cError.o -MD -MP -MF .deps/cError.Tpo -c -o cError.o cError.cpp
stdafx.h: In function 'sint32 TA3D::SearchString(const String&, const String&, bool)':
stdafx.h:236: warning: converting negative value '-0x000000001' to 'size_t'
mv -f .deps/cError.Tpo .deps/cError.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT decode.o -MD -MP -MF .deps/decode.Tpo -c -o decode.o `test -f 'jpeg/decode.cpp' || echo './'`jpeg/decode.cpp
mv -f .deps/decode.Tpo .deps/decode.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT encode.o -MD -MP -MF .deps/encode.Tpo -c -o encode.o `test -f 'jpeg/encode.cpp' || echo './'`jpeg/encode.cpp
mv -f .deps/encode.Tpo .deps/encode.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o `test -f 'jpeg/io.cpp' || echo './'`jpeg/io.cpp
mv -f .deps/io.Tpo .deps/io.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/mysql/include/mysql -I/usr/local/include -I/opt/mythtv/include -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -MT ta3d_jpg.o -MD -MP -MF .deps/ta3d_jpg.Tpo -c -o ta3d_jpg.o `test -f 'jpeg/ta3d_jpg.cpp' || echo './'`jpeg/ta3d_jpg.cpp
mv -f .deps/ta3d_jpg.Tpo .deps/ta3d_jpg.Po
g++ -g -O2 -I/usr/include -ffast-math -mmmx -fomit-frame-pointer -L/opt/kde/lib -L/opt/mysql/lib/mysql -o ta3d ta3d.o main.o i18n.o cTA3D_Engine.o cTAFileParser.o gfx.o pathfinding.o menu.o 3do.o cob.o console.o EngineClass.o UnitEngine.o fbi.o gaf.o glfunc.o gui.o intro.o particles.o tdf.o tnt.o weapons.o script.o ia.o taconfig.o icon.o stdafx.o TA3D_Audio.o TA3D_Exception.o TA3D_hpi.o TA3D_NameSpace.o cThread.o cCriticalSection.o cInterface.o cLogger.o cError.o decode.o encode.o io.o ta3d_jpg.o -lfmodex -lz -lGL -L/usr/lib -L/usr/X11R6/lib -Wl,--export-dynamic -L/opt/kde/lib -L/opt/mysql/lib/mysql -lalleg-4.2.2 -lalleg_unsharable -lagl
ta3d.o: In function `SetView':
/home/dave/ta3d/src/ta3dbase.h:250: undefined reference to `gluLookAt'
/home/dave/ta3d/src/ta3dbase.h:250: undefined reference to `gluLookAt'
/home/dave/ta3d/src/ta3dbase.h:250: undefined reference to `gluLookAt'
/home/dave/ta3d/src/ta3dbase.h:250: undefined reference to `gluLookAt'
/home/dave/ta3d/src/ta3dbase.h:250: undefined reference to `gluLookAt'
ta3d.o:/home/dave/ta3d/src/ta3dbase.h:250: more undefined references to `gluLookAt' follow
/usr/lib/libagl.so: undefined reference to `gluGetString'
/usr/lib/libagl.so: undefined reference to `gluBuild2DMipmaps'
/usr/lib/libagl.so: undefined reference to `gluOrtho2D'
collect2: ld returned 1 exit status
make[2]: *** [ta3d] Error 1
make[2]: Leaving directory `/home/dave/ta3d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/ta3d'
make: *** [all] Error 2

now this looks a header file problem (maybe from the libGLU.so.1.3 library)
any help that would resolve this issue would be appreciated

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sun Aug 26, 2007 10:21 pm

well, this seems to be a missing library or maybe only some functions.

What system do you use exactly (I mean, debian, mandriva, ...). Try to install the glu lib (or glut, depending on the packages name of your distribution).
=>;-D Penguin Powered

mr_kyle
Posts: 15
Joined: Sun Aug 26, 2007 9:04 pm

Post by mr_kyle » Fri Aug 31, 2007 1:57 am

well i am using linux from scratch build 6.2 built up to a BLFS
(beyond linux from scratch) 6.2.0 and as for my GLU library i may have freeglut: libGLU.so.1.3.060500 in my /usr/X11R6/lib.
The reason i am trying ta3d is to see if it is an improvement over the windows version (which until my recent build was able to run
using wine) and also some curiosity. I shall try to see if i can resolve this issue with a little experimentation

mr_kyle
Posts: 15
Joined: Sun Aug 26, 2007 9:04 pm

Post by mr_kyle » Fri Aug 31, 2007 2:15 am

sorry my mistake, i am using freeglut 2.4.0 which was installed in /usr/lib whereas libGLU.so.1.3.060500 was installed in my /usr/X11R6/lib. If you have any suggestions as to what else i could do by all means let me know. thanks again

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sat Sep 01, 2007 12:31 pm

Good, one more problem fixed 8) . The more solutions we have in our forums the more people will be able to get help.
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests