Linkage error while trying to install torcs-1.3.2-test1
Anand Madhusoodanan <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CAF=pQx+2fyzccNxsVOz4GS7CKpm2UJOA1642OtOsXbYaOu0GTA@mail.gmail.com> |
Hi,
I am trying to install torcs-1.3.2-test1 on Ubuntu 12.04.
./configure worked fine, but 'make' gave the following errors.
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmShowStandings(void*, RmInfo*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmDriversSelect(void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmPitMenuStart(CarElt*, void*, void (*)(void*))'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RtTrackGetSeg(tTrkLocPos*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmLoadingScreenSetText(char const*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RtTrackHeightL(tTrkLocPos*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmFourStateScreen(char const*, char const*, char
const*, void*, char const*, char const*, void*, char const*, char const*,
void*, char const*, char const*, void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmRaceParamMenu(void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmShowResults(void*, RmInfo*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmTriStateScreen(char const*, char const*, char
const*, void*, char const*, char const*, void*, char const*, char const*,
void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RtTrackLocal2Global(tTrkLocPos*, float*, float*,
int)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmFileSelect(void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmTrackSelect(void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmLoadingScreenStart(char const*, char const*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmDisplayStartRace(RmInfo*, void*, void*)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RtTrackGetWidth(trackSeg*, float)'
/home/willy/Autoplug/torcs-1.3.2-test1/export/lib/libraceengine.so:
undefined reference to `RmShutdownLoadingScreen()
I googled up and come across this link.
http://sourceforge.net/mailarchive/message.php?msg_id=28858709
I tried the fix mentioned by going into src/lib/raceengine and executing
g++ -shared -o libraceengine.so singleplayer.o raceinit.o racemain.o
racemanmenu.o racestate.o racegl.o raceengine.o raceresults.o -lracescreens
-lrobottools -L/home/tribula/Dev/torcs-1.3.3/export/lib -lalut -lvorbisfile
-L/usr/lib
But i am getting the following error.
/usr/bin/ld: cannot find -lracescreens
/usr/bin/ld: cannot find -lrobottools
collect2: ld returned 1 exit status
Could someone help me out? Any help will be greatly appreciated...
Regards,
Anand.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users