You are not logged in.
Just downloaded UltimateStunts source, and I followed instuctions and installed required programs mentoined here http://www.ultimatestunts.nl/documentat … ompile.htm but I get error when running 'make' ..
make all-recursive
make[1]: Entering directory `/home/broi/ultimatestunts-srcdata-0761'
Making all in intl
make[2]: Entering directory `/home/broi/ultimatestunts-srcdata-0761/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/broi/ultimatestunts-srcdata-0761/intl'
Making all in po
make[2]: Entering directory `/home/broi/ultimatestunts-srcdata-0761/po'
make[2]: Leaving directory `/home/broi/ultimatestunts-srcdata-0761/po'
Making all in data
make[2]: Entering directory `/home/broi/ultimatestunts-srcdata-0761/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/broi/ultimatestunts-srcdata-0761/data'
Making all in shared
make[2]: Entering directory `/home/broi/ultimatestunts-srcdata-0761/shared'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/broi/ultimatestunts-srcdata-0761/shared'
Making all in simulation
make[2]: Entering directory `/home/broi/ultimatestunts-srcdata-0761/simulation'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -DSYSCONFDIR="\"/usr/local/etc\"" -Wall -g -O2 -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 `/home/broi/ultimatestunts-srcdata-0761/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/broi/ultimatestunts-srcdata-0761'
make: *** [all] Error 2
[broi@BroisLinux ultimatestunts-srcdata-0761]$ Thank you
Last edited by broi (2012-04-19 11:49:24)
Offline
Is there a reason you're not installing it from the AUR?
Offline
Is there a reason you're not installing it from the AUR?
Not really, but anyway makepkg just automaticaly check for dependencies (I got them all), download/extract/configure/make/install package plus make .xz installable with pacman?
However, I tried with AUR now, too, but same problem.
Offline
According to man pages, the missing functions are declared in unistd.h which is not included in metaserver.cpp. So the straighforward solution is to append
#include <unistd.h>to the list of includes.
Last edited by Atragor (2012-04-19 06:25:14)
Offline
According to man pages, the missing functions are declared in unistd.h which is not included in metaserver.cpp. So the straighforward solution is to append
#include <unistd.h>to the list of includes.
Thank you
Offline