Re: how to fix the following error message '/home/dooseop/torcs-1.3.7/export/lib/libtgfclient.so: undefined reference to `png_set_longjmp_fn''

Abhinav Verma <[email protected]> Thu, 20 Apr 2017 10:16:05 -0500
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
--===============0502167938584056264==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_2D98931C-FB20-4040-B11F-D8E9E52FB359"


--Apple-Mail=_2D98931C-FB20-4040-B11F-D8E9E52FB359
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi David,

Thanks for the response. I have similar issues and was trying to follow =
the steps in your notes. I had a follow up question, where can one find =
the file torcs-1.3.7.patch (or torcs-1.3.6.patch)? I couldn=E2=80=99t =
find it on http://torcs.sourceforge.net/ <http://torcs.sourceforge.net/>=20=


Thanks for your help.

Regards,
Abhinav

> On Apr 19, 2017, at 7:42 PM, David Savinkoff <[email protected]> =
wrote:
>=20
> ----- cdsjjav wrote:
>> Hello.
>>=20
>> I'm trying to install TORCS on my desktop under Ubuntu 16.04.
>> Following the steps for installation described in "
>> http://torcs.sourceforge.net/"
>> I have installed all the libraries such as libxmu-dev, libxmu6 etc.
>> successfully.
>>=20
>> However, I got the following error message when I tried to compile =
the
>> source package (by typing 'make'),
>>=20
>> make TORCS_BASE=3D/home/dooseop/torcs-1.3.7 =
MAKE_DEFAULT=3D/home/dooseop/
>=20
> Do this instead:
> ./configure --prefix=3D/home/dooseop/local
> make
> make install
> make datainstall
>=20
> See my enclosed TorcsNotes.txt also.
>=20
>> make[3]: Leaving directory '/home/dooseop/torcs-1.3.7/src/libs'
>> make[3]: Entering directory '/home/dooseop/torcs-1.3.7/src/linux'
>> g++ main.o linuxspec.o -L/home/dooseop/torcs-1.3.7/export/lib  =
-lopenal
>> -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 -lXrandr -lXrender =
-lXxf86vm
>> -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm  -o torcs-bin
>> /home/dooseop/torcs-1.3.7/export/lib/libtgfclient.so: undefined =
reference
>> to `png_set_longjmp_fn'
>> collect2: error: ld returned 1 exit status
>> /home/dooseop/torcs-1.3.7/Make-default.mk:405: recipe for target
>> 'torcs-bin' failed
>> make[3]: *** [torcs-bin] Error 1
>> make[3]: Leaving directory '/home/dooseop/torcs-1.3.7/src/linux'
>> /home/dooseop/torcs-1.3.7/Make-default.mk:679: recipe for target =
'subdirs'
>> failed
>> make[2]: *** [subdirs] Error 1
>> make[2]: Leaving directory '/home/dooseop/torcs-1.3.7/src'
>> /home/dooseop/torcs-1.3.7/Make-default.mk:679: recipe for target =
'subdirs'
>> failed
>> make[1]: *** [subdirs] Error 1
>> make[1]: Leaving directory '/home/dooseop/torcs-1.3.7'
>> Makefile:30: recipe for target 'restart' failed
>> make: *** [restart] Error 2
>>=20
>> In order to solve the problem, I have googled for long time .. but =
cannot
>> find the solution.
>> Is there anyone who can solve this problem.
>>=20
>> Thank you for reading this e-main and would like to say sorry for my =
bad
>> english..
>=20
> =
<TorcsNotes.txt>----------------------------------------------------------=
--------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! =
http://sdm.link/slashdot_______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users


--Apple-Mail=_2D98931C-FB20-4040-B11F-D8E9E52FB359
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi David,<div class=3D""><br class=3D""></div><div =
class=3D"">Thanks for the response. I have similar issues and was trying =
to follow the steps in your notes. I had a follow up question, where can =
one find the file&nbsp;torcs-1.3.7.patch (or&nbsp;torcs-1.3.6.patch)? I =
couldn=E2=80=99t find it on&nbsp;<a href=3D"http://torcs.sourceforge.net/"=
 class=3D"">http://torcs.sourceforge.net/</a>&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D"">Thanks for your =
help.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Regards,</div><div class=3D"">Abhinav</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Apr 19, 2017, at 7:42 PM, David Savinkoff &lt;<a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">----- cdsjjav wrote:<br class=3D""><blockquote type=3D"cite" =
class=3D"">Hello.<br class=3D""><br class=3D"">I'm trying to install =
TORCS on my desktop under Ubuntu 16.04.<br class=3D"">Following the =
steps for installation described in "<br class=3D""><a =
href=3D"http://torcs.sourceforge.net/" =
class=3D"">http://torcs.sourceforge.net/</a>"<br class=3D"">I have =
installed all the libraries such as libxmu-dev, libxmu6 etc.<br =
class=3D"">successfully.<br class=3D""><br class=3D"">However, I got the =
following error message when I tried to compile the<br class=3D"">source =
package (by typing 'make'),<br class=3D""><br class=3D"">make =
TORCS_BASE=3D/home/dooseop/torcs-1.3.7 MAKE_DEFAULT=3D/home/dooseop/<br =
class=3D""></blockquote><br class=3D"">Do this instead:<br =
class=3D"">./configure --prefix=3D/home/dooseop/local<br =
class=3D"">make<br class=3D"">make install<br class=3D"">make =
datainstall<br class=3D""><br class=3D"">See my enclosed TorcsNotes.txt =
also.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D"">make[3]: Leaving directory =
'/home/dooseop/torcs-1.3.7/src/libs'<br class=3D"">make[3]: Entering =
directory '/home/dooseop/torcs-1.3.7/src/linux'<br class=3D"">g++ main.o =
linuxspec.o -L/home/dooseop/torcs-1.3.7/export/lib &nbsp;-lopenal<br =
class=3D"">-lalut -lvorbisfile -L/usr/lib &nbsp;-lracescreens =
-lrobottools -lclient<br class=3D"">-lconfscreens -ltgf -ltgfclient =
-ltxml -lplibul -lraceengine -lmusicplayer<br class=3D"">-llearning =
-lplibjs -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg<br =
class=3D"">-lplibul -lglut -lGLU -lGL -lpng -lz -ldl -lXrandr -lXrender =
-lXxf86vm<br class=3D"">-lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm =
&nbsp;-o torcs-bin<br =
class=3D"">/home/dooseop/torcs-1.3.7/export/lib/libtgfclient.so: =
undefined reference<br class=3D"">to `png_set_longjmp_fn'<br =
class=3D"">collect2: error: ld returned 1 exit status<br =
class=3D"">/home/dooseop/torcs-1.3.7/Make-default.mk:405: recipe for =
target<br class=3D"">'torcs-bin' failed<br class=3D"">make[3]: *** =
[torcs-bin] Error 1<br class=3D"">make[3]: Leaving directory =
'/home/dooseop/torcs-1.3.7/src/linux'<br =
class=3D"">/home/dooseop/torcs-1.3.7/Make-default.mk:679: recipe for =
target 'subdirs'<br class=3D"">failed<br class=3D"">make[2]: *** =
[subdirs] Error 1<br class=3D"">make[2]: Leaving directory =
'/home/dooseop/torcs-1.3.7/src'<br =
class=3D"">/home/dooseop/torcs-1.3.7/Make-default.mk:679: recipe for =
target 'subdirs'<br class=3D"">failed<br class=3D"">make[1]: *** =
[subdirs] Error 1<br class=3D"">make[1]: Leaving directory =
'/home/dooseop/torcs-1.3.7'<br class=3D"">Makefile:30: recipe for target =
'restart' failed<br class=3D"">make: *** [restart] Error 2<br =
class=3D""><br class=3D"">In order to solve the problem, I have googled =
for long time .. but cannot<br class=3D"">find the solution.<br =
class=3D"">Is there anyone who can solve this problem.<br class=3D""><br =
class=3D"">Thank you for reading this e-main and would like to say sorry =
for my bad<br class=3D"">english..<br class=3D""></blockquote><br =
class=3D""><span =
id=3D"cid:[email protected]">&lt;TorcsNotes.tx=
t&gt;</span>--------------------------------------------------------------=
----------------<br class=3D"">Check out the vibrant tech community on =
one of the world's most<br class=3D"">engaging tech sites, <a =
href=3D"http://Slashdot.org" class=3D"">Slashdot.org</a>! <a =
href=3D"http://sdm.link/slashdot__________________________________________=
_____" =
class=3D"">http://sdm.link/slashdot_______________________________________=
________</a><br class=3D"">Torcs-users mailing list<br class=3D""><a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><br =
class=3D"">https://lists.sourceforge.net/lists/listinfo/torcs-users<br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_2D98931C-FB20-4040-B11F-D8E9E52FB359--


--===============0502167938584056264==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============0502167938584056264==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users

--===============0502167938584056264==--