Compilation problems under Ubuntu 9.10
Joey Bolduc-Gilbert <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <1264649345.2193.7.camel@JBG> |
Hi I've been trying to compile torcs 1.3.1 for the past few days because we will be using it in a class... I can install it fine with Synaptic or the add/remove interface (so I guess apt-get will work too) but I can't get the robotgen from berniw's tutorial to work (we'll be using C++) If I try to install it the regular way, I'm getting this... (see attachment) I tried to install 1.2.4 too but I read on the net the error I was getting was caused by the newest gcc What can/should I do? I'm still fairly new to linux and I'm running out of resources, I'm going to ask my teacher tomorrow but it's his first time trying that particular project and he's using a mac so he might not have encountered this particular problem. Thank you Joey ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users
error.log
(text/x-log, 15.2 KB)
make TORCS_BASE=/usr/src/torcs/torcs-1.3.1 MAKE_DEFAULT=/usr/src/torcs/torcs-1.3.1/Make-default.mk
make[1]: Entering directory `/usr/src/torcs/torcs-1.3.1'
make[2]: Entering directory `/usr/src/torcs/torcs-1.3.1/src'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/interfaces'
Exporting car.h to /usr/src/torcs/torcs-1.3.1/export/include/car.h
Exporting graphic.h to /usr/src/torcs/torcs-1.3.1/export/include/graphic.h
Exporting js.h to /usr/src/torcs/torcs-1.3.1/export/include/js.h
Exporting playerpref.h to /usr/src/torcs/torcs-1.3.1/export/include/playerpref.h
Exporting raceman.h to /usr/src/torcs/torcs-1.3.1/export/include/raceman.h
Exporting replay.h to /usr/src/torcs/torcs-1.3.1/export/include/replay.h
Exporting robot.h to /usr/src/torcs/torcs-1.3.1/export/include/robot.h
Exporting simu.h to /usr/src/torcs/torcs-1.3.1/export/include/simu.h
Exporting telemetry.h to /usr/src/torcs/torcs-1.3.1/export/include/telemetry.h
Exporting track.h to /usr/src/torcs/torcs-1.3.1/export/include/track.h
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/interfaces'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
Exporting xml.h to /usr/src/torcs/torcs-1.3.1/export/include/xml.h
Exporting xmlparse.h to /usr/src/torcs/torcs-1.3.1/export/include/xmlparse.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgf'
Exporting tgf.h to /usr/src/torcs/torcs-1.3.1/export/include/tgf.h
Exporting os.h to /usr/src/torcs/torcs-1.3.1/export/include/os.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgf'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgfclient'
Exporting tgfclient.h to /usr/src/torcs/torcs-1.3.1/export/include/tgfclient.h
Exporting screen_properties.h to /usr/src/torcs/torcs-1.3.1/export/include/screen_properties.h
Exporting glfeatures.h to /usr/src/torcs/torcs-1.3.1/export/include/glfeatures.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgfclient'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/client'
Exporting client.h to /usr/src/torcs/torcs-1.3.1/export/include/client.h
Exporting exitmenu.h to /usr/src/torcs/torcs-1.3.1/export/include/exitmenu.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/client'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/confscreens'
Exporting confscreens.h to /usr/src/torcs/torcs-1.3.1/export/include/confscreens.h
Exporting driverconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/driverconfig.h
Exporting joystickconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/joystickconfig.h
Exporting mouseconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/mouseconfig.h
Exporting controlconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/controlconfig.h
Exporting graphconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/graphconfig.h
Exporting simuconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/simuconfig.h
Exporting soundconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/soundconfig.h
Exporting openglconfig.h to /usr/src/torcs/torcs-1.3.1/export/include/openglconfig.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/confscreens'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/racescreens'
Exporting racescreens.h to /usr/src/torcs/torcs-1.3.1/export/include/racescreens.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/racescreens'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/robottools'
Exporting robottools.h to /usr/src/torcs/torcs-1.3.1/export/include/robottools.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/robottools'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/raceengineclient'
Exporting singleplayer.h to /usr/src/torcs/torcs-1.3.1/export/include/singleplayer.h
Exporting raceinit.h to /usr/src/torcs/torcs-1.3.1/export/include/raceinit.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/raceengineclient'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/learning'
Exporting policy.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/policy.h
Exporting ann_policy.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/ann_policy.h
Exporting ANN.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/ANN.h
Exporting learn_debug.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/learn_debug.h
Exporting real.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/real.h
Exporting string_utils.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/string_utils.h
Exporting List.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/List.h
Exporting MathFunctions.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/MathFunctions.h
Exporting Distribution.h to /usr/src/torcs/torcs-1.3.1/export/include/learning/Distribution.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/learning'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/portability'
Exporting portability.h to /usr/src/torcs/torcs-1.3.1/export/include/portability.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/portability'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/math'
Exporting linalg_t.h to /usr/src/torcs/torcs-1.3.1/export/include/tmath/linalg_t.h
Exporting v2_t.h to /usr/src/torcs/torcs-1.3.1/export/include/tmath/v2_t.h
Exporting v3_t.h to /usr/src/torcs/torcs-1.3.1/export/include/tmath/v3_t.h
Exporting v4_t.h to /usr/src/torcs/torcs-1.3.1/export/include/tmath/v4_t.h
Exporting straight2_t.h to /usr/src/torcs/torcs-1.3.1/export/include/tmath/straight2_t.h
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/math'
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/linux'
Exporting osspec.h to /usr/src/torcs/torcs-1.3.1/export/include/osspec.h
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/linux'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu'
make[5]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2'
make[6]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0'
make[7]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include'
make[8]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include/3D'
Exporting Basic.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Basic.h
Exporting Matrix.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Matrix.h
Exporting Point.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Point.h
Exporting Quaternion.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Quaternion.h
Exporting Tuple3.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Tuple3.h
Exporting Tuple4.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Tuple4.h
Exporting Vector.h to /usr/src/torcs/torcs-1.3.1/export/include/3D/Vector.h
make[8]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include/3D'
make[8]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include/SOLID'
Exporting solid.h to /usr/src/torcs/torcs-1.3.1/export/include/SOLID/solid.h
make[8]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include/SOLID'
make[7]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/include'
make[6]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0'
make[5]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2'
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu'
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules'
make[2]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src'
make[2]: Entering directory `/usr/src/torcs/torcs-1.3.1/src'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
make[5]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml/gennmtab'
make[5]: Nothing to be done for `tools'.
make[5]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml/gennmtab'
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/accc'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/accc'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/nfs2ac'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/nfs2ac'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/nfsperf'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/nfsperf'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/package'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/package'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/texmapper'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/texmapper'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/tools/trackgen'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools/trackgen'
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/tools'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/linux'
make[3]: Nothing to be done for `tools'.
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/linux'
make[2]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src'
make[2]: Entering directory `/usr/src/torcs/torcs-1.3.1/src'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/confscreens'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/confscreens'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/racescreens'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/racescreens'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/robottools'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/robottools'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
make[5]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml/gennmtab'
make[5]: Nothing to be done for `compil'.
make[5]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml/gennmtab'
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/txml'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgf'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgf'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgfclient'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/tgfclient'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/client'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/client'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/raceengineclient'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/raceengineclient'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/learning'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/learning'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/portability'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/portability'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/libs/math'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs/math'
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/libs'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/linux'
make[3]: Nothing to be done for `compil'.
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/linux'
make[3]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu'
make[5]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2'
make[6]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0'
make[7]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/src'
make[7]: Nothing to be done for `compil'.
make[7]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0/src'
make[6]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2/SOLID-2.0'
make[5]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu/simuv2'
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/simu'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/track'
make[4]: Nothing to be done for `compil'.
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/track'
make[4]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/graphic'
make[5]: Entering directory `/usr/src/torcs/torcs-1.3.1/src/modules/graphic/ssggraph'
g++ -I/usr/src/torcs/torcs-1.3.1/export/include -I/usr/src/torcs/torcs-1.3.1 -g -O2 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c CarSoundData.cpp
In file included from TorcsSound.h:30,
from SoundInterface.h:44,
from CarSoundData.cpp:20:
/usr/local/include/AL/alc.h:70: error: ‘<anonymous>’ has incomplete type
/usr/local/include/AL/alc.h:70: error: invalid use of ‘ALCvoid’
In file included from CarSoundData.cpp:20:
SoundInterface.h: In member function ‘virtual void PlibSoundInterface::setGlobalGain(float)’:
SoundInterface.h:260: warning: deprecated conversion from string constant to ‘char*’
SoundInterface.h: In member function ‘virtual void OpenalSoundInterface::setGlobalGain(float)’:
SoundInterface.h:305: warning: deprecated conversion from string constant to ‘char*’
CarSoundData.cpp: In member function ‘void CarSoundData::calculateTyreSound(tCarElt*)’:
CarSoundData.cpp:205: warning: suggest parentheses around ‘&&’ within ‘||’
make[5]: *** [CarSoundData.o] Error 1
make[5]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/graphic/ssggraph'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules/graphic'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src/modules'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/torcs/torcs-1.3.1/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/torcs/torcs-1.3.1'
make: *** [restart] Error 2