Re: driver Makefile problem

Thomas <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
Hi Bernhard,

I have the same problem, and tried already tried to solve it for several hours.

make gives the same error message  " make: *** No targets.  Stop."

output of ls -l $MAKE_DEFAULT in directory
.../Torcs-src/torcs-1.3.1_applied_patch_05_and_1.3.1-6
/src/drivers/MyCar

total 29
-rwxrwxrwx 1 root root 1031 Apr  7 01:07 Makefile
-rwxrwxrwx 1 root root 3418 Apr  7 01:07 MyCar.cpp
-rwxrwxrwx 1 root root  498 Apr  7 01:07 MyCar.def
-rwxrwxrwx 1 root root 4572 Apr  7 01:07 MyCar.dsp
-rwxrwxrwx 1 root root 2076 Apr  7 01:56 MyCar.o
-rwxrwxrwx 1 root root 2076 Apr  7 02:33 MyCar.so
-rwxrwxrwx 1 root root 1125 Apr  7 01:07 MyCar.xml


I used g++ to generate the .so file:
g++ MyCar.cpp -o MyCar.so -I ../../libs/tgf
 -I ../../../export/include/ -c

and copied the files to the directories where I thought they should be.
Still, I cannot select MyCar from the list of drivers. In the console
I see the following error message:
linuxModInfoDir: ...  /usr/local/lib/torcs/drivers/MyCar/MyCar.so: only
ET_DYN and ET_EXEC can be loaded [2]

Can you describe what I have to do to install the bot without a Makefile?
Or do you have an idea how I can make the "make" script work?

Kind regards,
Thomas


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.