Thread: [TuxKart-users] Can't compile 0.0.5
Status: Alpha
Brought to you by:
sjbaker
From: Vonlia <ada...@ho...> - 2001-07-14 23:40:17
|
Hi, I can't compile the newly untarred tuxkart-0.0.5.tar.gz )-: Here are my errors: c++ -DPACKAGE=3D\"tuxkart\" -DVERSION=3D\"0.0.5\" -DHAVE_LIBPLIBUL=3D1 -D= HAVE_LIBGL=3D1 -DHAVE_LIBGLU=3D1 -DHAVE_LIBGLUT=3D1 -DSTDC_HEADERS=3D1 -D= HAVE_GL_GL_H=3D1 -DHAVE_GL_GLU_H=3D1 -DHAVE_GL_GLUT_H=3D1 -DLINUX_JOYSTIC= K_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:62: (Each undeclared identifier is reported only once for each function it appears in.) guNet.cxx: In method `int guUDPConnection::connect (char *, int)': guNet.cxx:81: `socket' undeclared (first use this function) guNet.cxx:154: `bind' undeclared (first use this function) guNet.cxx: In method `int guUDPConnection::sendMessage (char *, int)': guNet.cxx:176: `sendto' undeclared (first use this function) guNet.cxx: In method `int guUDPConnection::recvMessage (char *, int)': guNet.cxx:208: `recvfrom' undeclared (first use this function) make: *** [guNet.o] Error 1 It's just a hunch, but is the net-thingy not working right? I don't have a valid way to play TuxKart on a net (yet), so can I just compile without networking (untill a better fix, of course!)? ~~ Q: ``What do you get when you cross an insomniac, an agnostic, and a dyslexic?'' A: ``Someone who lies awake at night wondering if there is a dog'' -- Linux Fortune /|| Vonlia <http://www2.netdoor.com/~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> ||/ |
From: Steve B. <sjb...@ai...> - 2001-07-15 00:00:45
|
Vonlia wrote: > I can't compile the newly untarred tuxkart-0.0.5.tar.gz )-: Here > are my errors: > > c++ -DPACKAGE=\"tuxkart\" -DVERSION=\"0.0.5\" -DHAVE_LIBPLIBUL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLUT_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -DTUXKART_DATADIR=\"/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...?!?. It can only be that some system header file is missing I think. 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 currently have an easy way to turn it off. ----------------------------- Steve Baker ------------------------------- HomeMail : <sjb...@ai...> WorkMail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://agtoys.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net |
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> ||/ |
From: Steve B. <sjb...@ai...> - 2001-07-15 01:00:55
|
Vonlia wrote: > > 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 . Yes...hmmm - now I wonder how come it compiles under SuSE 7.0. Well, I'll fix it and push out another release ASAP - many thanks for the report! ----------------------------- Steve Baker ------------------------------- HomeMail : <sjb...@ai...> WorkMail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://agtoys.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net |