Re: [TuxKart-users] Can't compile 0.0.5
Status: Alpha
Brought to you by:
sjbaker
From: Vonlia <ada...@ho...> - 2001-07-15 00:45:15
|
On Sun, 15 Jul 2001, Steve Baker wrote: > Vonlia wrote: > > > I can't compile the newly untarred tuxkart-0.0.5.tar.gz )-: Her= e > > are my errors: > > > > c++ -DPACKAGE=3D\"tuxkart\" -DVERSION=3D\"0.0.5\" -DHAVE_LIBPLIBUL=3D= 1 -DHAVE_LIBGL=3D1 -DHAVE_LIBGLU=3D1 -DHAVE_LIBGLUT=3D1 -DSTDC_HEADERS=3D= 1 -DHAVE_GL_GL_H=3D1 -DHAVE_GL_GLU_H=3D1 -DHAVE_GL_GLUT_H=3D1 -DLINUX_JOY= STICK_IS_PRESENT=3D1 -DTUXKART_DATADIR=3D\"/usr/local/share/games/tuxkart= \" -I. -I. -g -O2 -O6 -Wall -c guNet.cxx > > guNet.cxx: In method `void guUDPConnection::disconnect ()': > > guNet.cxx:62: `shutdown' undeclared (first use this function) > > guNet.cxx:81: `socket' undeclared (first use this function) > > guNet.cxx:154: `bind' undeclared (first use this function) > > guNet.cxx:176: `sendto' undeclared (first use this function) > > guNet.cxx:208: `recvfrom' undeclared (first use this function) > > What are you compiling this on? Those functions are part of the Linux = Kernel so > they *must* be there if you are using Linux, UNIX, BSD...?!?. Linux::RedHat7.1 I need to remember that... > It can only be that some system header file is missing I think. Makes sense....I have found the file! When I #include <sys/socket.h> It works! But I did it unconditionally, and a patch wouldn't make sense. Just put it in guNet.cxx . > What version of what OS are you using. If it's Linux, what Distro? > You are correct that the network stuff isn't working - but I don't curr= ently > have an easy way to turn it off. )-: ~~ Hunter with gun: ``I love animals. That's why I love to kill them.'' -- Monty Python::sketch(``Graham Chapman''(maybe)) /|| Vonlia <http://members.home.com/adam.seyfarth/> ||\ /=AB|| <mailto:cl...@us...> <http://plib.sf.net> ||=BB\ \=AB|| <http://tuxaqfh.sf.net> <http://tuxkart.sf.net> ||=BB/ \|| <http://vim.sf.net> <http://www.majik3d.org> ||/ |