Re: Unable to compile all-in-one torcs 1.3.2
Bernhard Wymann <[email protected]> Mon, 23 Jan 2012 16:30:31 +0100
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Do you have an alias set for make or other tools set, which commands get executed (for the output you required something like make -d I think), do you use a parallel build (then try just ordinary "make", maybe there is another parallel build problem)? Is your environment hardened somehow to avoid linking shared libraries from the home directory? Are the libraries (.so files) here in place for the linker or are they missing (check /home/developer/Projects/torcs-1.3.2/export/lib). g++ main.o linuxspec.o -L/home/developer/Projects/torcs-1.3.2/export/lib -lalut -lvorbisfile -L/usr/lib -lracescreens -lrobottools -lclient -lconfscreens -ltgf -ltgfclient -ltxml -lplibul -lraceengine -lmusicplayer -llearning -lplibjs -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm -o torcs-bin Putting child 0x08b93d58 (torcs-bin) PID 2524 on the chain. Commands of `torcs-bin' are being run. Finished prerequisites of target file `compil'. The prerequisites of `compil' are being made. Live child 0x08b93d58 (torcs-bin) PID 2524 /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alDeleteBuffers' /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alcMakeContextCurrent' /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alGenSources' /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alGetError' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RmShowStandings(void*, RmInfo*)' /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alSourceQueueBuffers' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RmDriversSelect(void*)' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RmPitMenuStart(CarElt*, void*, void (*)(void*))' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RtTrackGetSeg(tTrkLocPos*)' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RmLoadingScreenSetText(char const*)' /home/developer/Projects/torcs-1.3.2/export/lib/libmusicplayer.so: undefined reference to `alcOpenDevice' /home/developer/Projects/torcs-1.3.2/export/lib/libraceengine.so: undefined reference to `RtTrackHeightL(tTrkLocPos*)' ... Best regards Bernhard On 01/23/2012 03:48 PM, Alessandro Ghidotti Piovan wrote: > Hello Bernhard, > i use a clean xubuntu 11.10 distro. I installed it from scratch into a > virtualbox guest machine and i haven't any old torcs build/installation. > I don't think i have any special ld_library_path because i installed > linux from scratch. > I installed necessary dev packages using "auto-apt run ./configure". > I tried reinstalling openal/openalut dev packages but nothing changed. > I follow instructions into README.txt and i also tried to build an older > version (i.e. 1.3.1) on another clean cloned guest machine with the same > problems. > I was able to build torcs with no problems into a winxp guest machine > with VS2008_SP1. > In linux it seems not finding openal headers but i located them into the > default library include path, so it seems a mine linux configuration > problem, even if i'm not so expert to be able to solve it. > I would want to develop in linux because the tutorials are mostly > linux-based. > Any idea about how to understand what's my problem? > > Thank you for your attention > Regards > Alessandro > > > On 23/01/2012 15:29, Bernhard Wymann wrote: >> Hi Alessandro >> >> How did you build torcs exactly, did you follow the instructions, do you >> have from old TORCS version MAKE_DEFAULT or TORCS_BASE set (environment >> variables, should not be set in a "default build" scenario)? Which Linux >> distro do you use, do you have a special ld_library_path? >> >> Does it solve your problem when you (re)install openal/openalut and its >> devel packages, and build TORCS again (configure should catch this >> tough...)? >> >> Best regards >> >> Bernhard >> >> >> On 01/17/2012 02:36 PM, Alessandro Ghidotti Piovan wrote: >>> Hello all, >>> >>> I'm getting errors during "make", even if the configure script has >>> been run successfully. >>> There's the error_log as attachment. >>> >>> Thank you in advance for suggestions and your attention >>> Regards >>> Alessandro >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Try before you buy = See our experts in action! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-dev2 >>> >>> >>> >>> _______________________________________________ >>> Torcs-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/torcs-devel >> >> ------------------------------------------------------------------------------ >> >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Torcs-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/torcs-devel >> > > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2