Package Details: ultimatestunts 0.7.7.1-3

Git Clone URL: https://aur.archlinux.org/ultimatestunts.git (read-only)
Package Base: ultimatestunts
Description: A remake of the famous DOS racing game 'Stunts'/'4D Sports Driving'.
Upstream URL: http://www.ultimatestunts.nl
Licenses: GPL
Submitter: None
Maintainer: carstene1ns
Last Packager: carstene1ns
Votes: 35
Popularity: 0.077528
First Submitted: 2007-06-23 23:56
Last Updated: 2015-07-08 03:30

Latest Comments

agaskins commented on 2012-12-08 07:58

Just confirming that MAKEFLAGS="-j1" made for a smooth compile!

migrev commented on 2012-09-15 11:26

Adopted and updated to 0.7.7.1

KinG-InFeT commented on 2012-08-31 14:03

manually make this error

metaserver.cpp: In member function 'CString CMetaServer::httpReadBodyNormal()':
metaserver.cpp:265:47: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'int CMetaServer::readChar()':
metaserver.cpp:448:28: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'CString CMetaServer::readStr(unsigned int)':
metaserver.cpp:470:37: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'bool CMetaServer::writeStr(const CString&)':
metaserver.cpp:491:53: error: 'write' was not declared in this scope
metaserver.cpp: In member function 'void CMetaServer::tcpDisconnect()':
metaserver.cpp:544:16: error: 'close' was not declared in this scope
make[2]: *** [metaserver.o] Error 1
make[2]: Leaving directory `/root/ultimatestunts/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ultimatestunts'
make: *** [all] Error 2

KinG-InFeT commented on 2012-08-31 13:57

error

udpnet.cpp: In member function 'virtual bool CUDPNet::sendData(CMessageBuffer&)':
udpnet.cpp:158:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -DSYSCONFDIR="\"/etc\"" -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT world.o -MD -MP -MF ".deps/world.Tpo" -c -o world.o world.cpp; \
then mv -f ".deps/world.Tpo" ".deps/world.Po"; else rm -f ".deps/world.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -DSYSCONFDIR="\"/etc\"" -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT metaserver.o -MD -MP -MF ".deps/metaserver.Tpo" -c -o metaserver.o metaserver.cpp; \
then mv -f ".deps/metaserver.Tpo" ".deps/metaserver.Po"; else rm -f ".deps/metaserver.Tpo"; exit 1; fi
metaserver.cpp: In member function 'CString CMetaServer::httpReadBodyNormal()':
metaserver.cpp:265:47: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'int CMetaServer::readChar()':
metaserver.cpp:448:28: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'CString CMetaServer::readStr(unsigned int)':
metaserver.cpp:470:37: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'bool CMetaServer::writeStr(const CString&)':
metaserver.cpp:491:53: error: 'write' was not declared in this scope
metaserver.cpp: In member function 'void CMetaServer::tcpDisconnect()':
metaserver.cpp:544:16: error: 'close' was not declared in this scope
make[2]: *** [metaserver.o] Error 1
make[2]: Leaving directory `/tmp/packerbuild-0/ultimatestunts/ultimatestunts/src/ultimatestunts-srcdata-0761/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-0/ultimatestunts/ultimatestunts/src/ultimatestunts-srcdata-0761'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

KinG-InFeT commented on 2012-08-31 13:56

error

udpnet.cpp: In member function 'virtual bool CUDPNet::sendData(CMessageBuffer&)':
udpnet.cpp:158:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -DSYSCONFDIR="\"/etc\"" -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT world.o -MD -MP -MF ".deps/world.Tpo" -c -o world.o world.cpp; \
then mv -f ".deps/world.Tpo" ".deps/world.Po"; else rm -f ".deps/world.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -DSYSCONFDIR="\"/etc\"" -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT metaserver.o -MD -MP -MF ".deps/metaserver.Tpo" -c -o metaserver.o metaserver.cpp; \
then mv -f ".deps/metaserver.Tpo" ".deps/metaserver.Po"; else rm -f ".deps/metaserver.Tpo"; exit 1; fi
metaserver.cpp: In member function 'CString CMetaServer::httpReadBodyNormal()':
metaserver.cpp:265:47: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'int CMetaServer::readChar()':
metaserver.cpp:448:28: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'CString CMetaServer::readStr(unsigned int)':
metaserver.cpp:470:37: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'bool CMetaServer::writeStr(const CString&)':
metaserver.cpp:491:53: error: 'write' was not declared in this scope
metaserver.cpp: In member function 'void CMetaServer::tcpDisconnect()':
metaserver.cpp:544:16: error: 'close' was not declared in this scope
make[2]: *** [metaserver.o] Error 1
make[2]: Leaving directory `/tmp/packerbuild-0/ultimatestunts/ultimatestunts/src/ultimatestunts-srcdata-0761/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-0/ultimatestunts/ultimatestunts/src/ultimatestunts-srcdata-0761'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

fackamato commented on 2012-08-21 20:46

Fixed by entering trackedit and running make manually.

fackamato commented on 2012-08-21 10:14

Hm still doesn't build for me with the patch:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../graphics -I../intl -I../shared -I../simulation -DSYSCONFDIR="\"/etc\"" -Wall -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT trkfile.o -MD -MP -MF ".deps/trkfile.Tpo" -c -o trkfile.o trkfile.cpp; \
then mv -f ".deps/trkfile.Tpo" ".deps/trkfile.Po"; else rm -f ".deps/trkfile.Tpo"; exit 1; fi
trkfile.cpp: In member function ‘bool CTRKFile::load(const CString&)’:
trkfile.cpp:46:70: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<unsigned char>::size_type {aka long unsigned int}’ [-Wformat]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../graphics -I../intl -I../shared -I../simulation -DSYSCONFDIR="\"/etc\"" -Wall -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
make[2]: *** No rule to make target `../trackedit/libtrackedit.a', needed by `ustuntstrackedit'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/mburen/abs/ultimatestunts/src/ultimatestunts-srcdata-0761/trackedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mburen/abs/ultimatestunts/src/ultimatestunts-srcdata-0761'
make: *** [all] Error 2

thomas.oster commented on 2012-08-21 09:28

The Error KinG-InFeT is experiencing can be fixed by patching "simulation/metaserver.cpp" by:

*** src/ultimatestunts-srcdata-0761/simulation/metaserver.cpp 2010-12-13 20:18:43.000000000 +0100
--- newsrc/ultimatestunts-srcdata-0761/simulation/metaserver.cpp 2012-08-21 11:03:31.887917392 +0200
***************
*** 14,19 ****
--- 14,23 ----
* (at your option) any later version. *
* *
***************************************************************************/
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>
#include <cstdio>
#include <cstdlib>
#include <sys/types.h>

I uploaded the Patch to Pastebin and also a patched PKGBUILD:

http://pastebin.com/eg8bYfzX

if you download this, makepkg should just work.
For the maintainer: please update your PKGBUILD (but rather include the Patch as file instead of downloading it from Pastebin everytime, like I did).

KinG-InFeT commented on 2012-06-08 16:07

metaserver.cpp: In member function 'CString CMetaServer::httpReadBodyNormal()':
metaserver.cpp:265:47: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'int CMetaServer::readChar()':
metaserver.cpp:448:28: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'CString CMetaServer::readStr(unsigned int)':
metaserver.cpp:470:37: error: 'read' was not declared in this scope
metaserver.cpp: In member function 'bool CMetaServer::writeStr(const CString&)':
metaserver.cpp:491:53: error: 'write' was not declared in this scope
metaserver.cpp: In member function 'void CMetaServer::tcpDisconnect()':
metaserver.cpp:544:16: error: 'close' was not declared in this scope
make[2]: *** [metaserver.o] Error 1
make[2]: Leaving directory `/root/AUR/ultimatestunts/src/ultimatestunts-srcdata-0761/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/AUR/ultimatestunts/src/ultimatestunts-srcdata-0761'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

James_Eder commented on 2011-11-28 03:19

This only builds with MAKEFLAGS="-j1"

All comments