cannot find -llearning

赵泽林 <[email protected]> Thu, 16 Apr 2020 10:48:50 +0800 (CST)
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
 /usr/bin/install -c -m 644 logo.rgb /usr/local/share/games/torcs/drivers/lliaw/logo.rgb
 /usr/bin/install -c -m 644 lliaw.so /usr/local/lib/torcs/drivers/lliaw/lliaw.so
make[3]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/lliaw'
make[3]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/0'
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/0/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/0'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/1'
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/1/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/1'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/2'
 /usr/bin/install -c -m 644 car1-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/2/car1-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/2/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/2'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/3'
 /usr/bin/install -c -m 644 car2-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/3/car2-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/3/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/3'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/4'
 /usr/bin/install -c -m 644 car3-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/4/car3-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/4/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/4'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/5'
 /usr/bin/install -c -m 644 car4-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/5/car4-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/5/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/5'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/6'
 /usr/bin/install -c -m 644 car5-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/6/car5-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/6/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/6'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/7'
 /usr/bin/install -c -m 644 car6-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/7/car6-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/7/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/7'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/8'
 /usr/bin/install -c -m 644 car7-trb1.rgb /usr/local/share/games/torcs/drivers/olethros/8/car7-trb1.rgb
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/8/default.xml
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/8'
make[4]: Entering directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/9'
 /usr/bin/install -c -m 644 default.xml /usr/local/share/games/torcs/drivers/olethros/9/default.xml
 /usr/bin/install -c -m 644 car1-trb3.rgb /usr/local/share/games/torcs/drivers/olethros/9/car1-trb3.rgb
make[4]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros/9'
 /usr/bin/install -c -m 644 olethros.xml /usr/local/share/games/torcs/drivers/olethros/olethros.xml
 /usr/bin/install -c -m 644 logo.rgb /usr/local/share/games/torcs/drivers/olethros/logo.rgb
g++ -shared -o olethros.so olethros.o driver.o opponent.o spline.o pit.o learn.o strategy.o cardata.o geometry.o Trajectory.o TrackData.o -L/root/software/code-torcs/torcs/torcs/export/lib  -lopenal -lalut -lvorbisfile -L/usr/lib  -L/root/software/code-torcs/torcs/torcs/export/lib -llearning
/usr/bin/ld: cannot find -llearning
collect2: error: ld returned 1 exit status
/root/software/code-torcs/torcs/torcs/Make-default.mk:512: recipe for target 'olethros.so' failed
make[3]: *** [olethros.so] Error 1
make[3]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers/olethros'
/root/software/code-torcs/torcs/torcs/Make-default.mk:791: recipe for target 'installdirs' failed
make[2]: *** [installdirs] Error 1
make[2]: Leaving directory '/root/software/code-torcs/torcs/torcs/src/drivers'
/root/software/code-torcs/torcs/torcs/Make-default.mk:791: recipe for target 'installdirs' failed
make[1]: *** [installdirs] Error 1
make[1]: Leaving directory '/root/software/code-torcs/torcs/torcs/src'
/root/software/code-torcs/torcs/torcs/Make-default.mk:791: recipe for target 'installdirs' failed
make: *** [installdirs] Error 1

hello, I met the above error when compiling torcs, any suggestions to fix it?