OpenBSD support thread
- Lucifer
- Project Developer
- Posts: 8640
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
It says that I can use regexes to allow email addresses to post, but the one I put in doesn't work. So as everyone makes their first commit since the list was setup, I'm having to click a little button that says "accept all posts from this address". You made two commits while I was at work, but I took care of them when I got home.
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
swig
Ok, tried to build latest AA from trunk... had to install swig, but OpenBSD only has 1.3.24 available as package yet (and will stay at .24 with OpenBSD 4.2 that will be released 10/2007).
Is .29 *really* required or could the check be changed to 1.3.24?
Is .29 *really* required or could the check be changed to 1.3.24?
Error: SWIG version >= 1.3.29 is required. You have 1.3.24. You should look at http://www.swig.org
- bel
Ok, created the swig .29 port but now getting this, someone got an idea?
Code: Select all
touch -t 7001010101 .changetag
gmake all-recursive
gmake[1]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
Making all in src
gmake[2]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
Making all in first
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/first'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/first'
Making all in thirdparty
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
Making all in mathexpr
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty/mathexpr'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/ruby/1.8/i386-openbsd4.1 -I../../../src -I./ -O2 -pipe -MT libmathexpr_a-mathexpr.o -MD -MP -MF ".deps/libmathexpr_a-mathexpr.Tpo" -c -o libmathexpr_a-mathexpr.o `test -f 'mathexpr.cpp' || echo './'`mathexpr.cpp; \
then mv -f ".deps/libmathexpr_a-mathexpr.Tpo" ".deps/libmathexpr_a-mathexpr.Po"; else rm -f ".deps/libmathexpr_a-mathexpr.Tpo"; exit 1; fi
rm -f libmathexpr.a
ar cru libmathexpr.a libmathexpr_a-mathexpr.o
ranlib libmathexpr.a
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty/mathexpr'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
Making all in swig
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/swig'
mkdir -p `dirname ../../src/swig/ext/armagetronad_wrap.cxx`
/usr/local/bin/swig -c++ -c++ -ruby -autorename -I./.. -I./../tools -I./../network -I./../render -I./../ui -I./../tron -I./../engine -o ../../src/swig/ext/armagetronad_wrap.cxx ext/armagetronad.i
ext/network/nNetObject.i:29: Warning(312): Nested class not currently supported (ignored).
./../ui/uMenu.h:424: Warning(312): Nested class not currently supported (ignored)
ext/std/sstream.i:10: Warning(401): Nothing known about base class 'ios'. Ignored.
ext/tools/tString.i:16: Warning(402): Base class 'std::string' is incomplete.
/usr/local/share/swig/1.3.29/typemaps/std_string.swg:18: Warning(402): Only forward declaration 'std::string' was found.
ext/tools/tString.i:16: Warning(402): Base class 'std::string' is incomplete.
/usr/local/share/swig/1.3.29/typemaps/std_string.swg:18: Warning(402): Only forward declaration 'std::string' was found.
./../ui/uMenu.h:319: Warning(402): Base class 'uMenuItemSelection<(bool)>' is incomplete.
ext/ui/uMenu.i:10: Warning(402): Only forward declaration 'uMenuItemSelection<(bool)>' was found.
./../ui/uMenu.h:511: Warning(402): Base class 'uMenuItemSelection<(tString)>' is incomplete.
ext/ui/uMenu.i:9: Warning(402): Only forward declaration 'uMenuItemSelection<(tString)>' was found.
./../ui/uMenu.h:571: Warning(401): Nothing known about base class 'tCallback'. Ignored.
./../ui/uMenu.h:577: Warning(401): Nothing known about base class 'tCallback'. Ignored.
./../ui/uMenu.h:583: Warning(401): Nothing known about base class 'tCallback'. Ignored.
ext/tron/gAIBase.i:25: Warning(401): Nothing known about base class 'tListItem<gSimpleAIFactory >'. Ignored.
ext/tron/gAIBase.i:25: Warning(401): Maybe you forgot to instantiate 'tListItem<gSimpleAIFactory >' using %template.
ext/network/nNetObject.i:55: Warning(473): Returning a pointer or reference in a director method is not recommended.
ext/network/nNetObject.i:48: Warning(473): Returning a pointer or reference in a director method is not recommended.
ext/engine/eNetGameObject.i:40: Warning(802): Warning for eNetGameObject proxy: Base nNetObject ignored. Multiple inheritance is not supported in Ruby.
ext/tron/gAIBase.i:25: Warning(514): Director base class gSimpleAIFactory has no virtual destructor.
ext/tron/gAIBase.i:31: Warning(473): Returning a pointer or reference in a director method is not recommended.
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/swig'
Making all in doc
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
Makefile:632: .dummy.dep: No such file or directory
echo > .dummy.dep
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
Making all in net
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
Makefile:467: .dummy.dep: No such file or directory
echo > .dummy.dep
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
echo index.html.dep ":\\" > index.html.dep
grep "include(" index.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> index.html.dep
echo "Makefile" >> index.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat index.html.m4 ; } | m4 -I . > index.html || cp index.html.m4 index.html
echo lower.html.dep ":\\" > lower.html.dep
grep "include(" lower.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> lower.html.dep
echo "Makefile" >> lower.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat lower.html.m4 ; } | m4 -I . > lower.html || cp lower.html.m4 lower.html
echo middle.html.dep ":\\" > middle.html.dep
grep "include(" middle.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> middle.html.dep
echo "Makefile" >> middle.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat middle.html.m4 ; } | m4 -I . > middle.html || cp middle.html.m4 middle.html
echo upper.html.dep ":\\" > upper.html.dep
grep "include(" upper.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> upper.html.dep
echo "Makefile" >> upper.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat upper.html.m4 ; } | m4 -I . > upper.html || cp upper.html.m4 upper.html
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
echo bugs.html.dep ":\\" > bugs.html.dep
grep "include(" bugs.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> bugs.html.dep
echo "Makefile" >> bugs.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat bugs.html.m4 ; } | m4 -I . > bugs.html || cp bugs.html.m4 bugs.html
echo changelog.html.dep ":\\" > changelog.html.dep
grep "include(" changelog.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> changelog.html.dep
echo "Makefile" >> changelog.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat changelog.html.m4 ; } | m4 -I . > changelog.html || cp changelog.html.m4 changelog.html
echo commands.html.dep ":\\" > commands.html.dep
grep "include(" commands.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> commands.html.dep
echo "Makefile" >> commands.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat commands.html.m4 ; } | m4 -I . > commands.html || cp commands.html.m4 commands.html
m4: stdin at line 8: include(commands.txt): No such file or directory
echo compile.html.dep ":\\" > compile.html.dep
grep "include(" compile.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> compile.html.dep
echo "Makefile" >> compile.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat compile.html.m4 ; } | m4 -I . > compile.html || cp compile.html.m4 compile.html
echo config.html.dep ":\\" > config.html.dep
grep "include(" config.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> config.html.dep
echo "Makefile" >> config.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat config.html.m4 ; } | m4 -I . > config.html || cp config.html.m4 config.html
echo faq.html.dep ":\\" > faq.html.dep
grep "include(" faq.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> faq.html.dep
echo "Makefile" >> faq.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat faq.html.m4 ; } | m4 -I . > faq.html || cp faq.html.m4 faq.html
echo index.html.dep ":\\" > index.html.dep
grep "include(" index.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> index.html.dep
echo "Makefile" >> index.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat index.html.m4 ; } | m4 -I . > index.html || cp index.html.m4 index.html
echo install_linux.html.dep ":\\" > install_linux.html.dep
grep "include(" install_linux.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_linux.html.dep
echo "Makefile" >> install_linux.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_linux.html.m4 ; } | m4 -I . > install_linux.html || cp install_linux.html.m4 install_linux.html
echo install_macosx.html.dep ":\\" > install_macosx.html.dep
grep "include(" install_macosx.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_macosx.html.dep
echo "Makefile" >> install_macosx.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_macosx.html.m4 ; } | m4 -I . > install_macosx.html || cp install_macosx.html.m4 install_macosx.html
echo install_result.html.dep ":\\" > install_result.html.dep
grep "include(" install_result.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_result.html.dep
echo "Makefile" >> install_result.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_result.html.m4 ; } | m4 -I . > install_result.html || cp install_result.html.m4 install_result.html
echo install_windows.html.dep ":\\" > install_windows.html.dep
grep "include(" install_windows.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_windows.html.dep
echo "Makefile" >> install_windows.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_windows.html.m4 ; } | m4 -I . > install_windows.html || cp install_windows.html.m4 install_windows.html
echo network.html.dep ":\\" > network.html.dep
grep "include(" network.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> network.html.dep
echo "Makefile" >> network.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat network.html.m4 ; } | m4 -I . > network.html || cp network.html.m4 network.html
echo readme_macosx.html.dep ":\\" > readme_macosx.html.dep
grep "include(" readme_macosx.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> readme_macosx.html.dep
echo "Makefile" >> readme_macosx.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat readme_macosx.html.m4 ; } | m4 -I . > readme_macosx.html || cp readme_macosx.html.m4 readme_macosx.html
echo todo.html.dep ":\\" > todo.html.dep
grep "include(" todo.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> todo.html.dep
echo "Makefile" >> todo.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat todo.html.m4 ; } | m4 -I . > todo.html || cp todo.html.m4 todo.html
echo versions.html.dep ":\\" > versions.html.dep
grep "include(" versions.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> versions.html.dep
echo "Makefile" >> versions.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat versions.html.m4 ; } | m4 -I . > versions.html || cp versions.html.m4 versions.html
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/ruby/1.8/i386-openbsd4.1 -I./tools -I./thirdparty/mathexpr -I./render -I./ui -I./thirdparty/shttpd -I./network -I./engine -I./engine/sound -O2 -pipe -MT libenginecore_a-eGameObject.o -MD -MP -MF ".deps/libenginecore_a-eGameObject.Tpo" -c -o libenginecore_a-eGameObject.o `test -f 'engine/eGameObject.cpp' || echo './'`engine/eGameObject.cpp; \
then mv -f ".deps/libenginecore_a-eGameObject.Tpo" ".deps/libenginecore_a-eGameObject.Po"; else rm -f ".deps/libenginecore_a-eGameObject.Tpo"; exit 1; fi
In file included from engine/eCoord.h:31,
from engine/eGameObject.h:34,
from engine/eGameObject.cpp:28:
tools/tCoord.h: In member function `bool
tCoord::GrahamComparator::operator()(const tCoord&, const tCoord&)':
tools/tCoord.h:93: error: `NAN' undeclared (first use this function)
tools/tCoord.h:93: error: (Each undeclared identifier is reported only once for
each function it appears in.)
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:1:1: warning: "PACKAGE_NAME" redefined
In file included from tools/tRuby.h:4,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
../aa_config.h:167:1: warning: this is the location of the previous definition
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:2:1: warning: "PACKAGE_TARNAME" redefined
In file included from tools/tRuby.h:4,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
../aa_config.h:173:1: warning: this is the location of the previous definition
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:3:1: warning: "PACKAGE_VERSION" redefined
In file included from tools/tRuby.h:4,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
../aa_config.h:176:1: warning: this is the location of the previous definition
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:4:1: warning: "PACKAGE_STRING" redefined
In file included from tools/tRuby.h:4,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
../aa_config.h:170:1: warning: this is the location of the previous definition
In file included from tools/tMemManager.h:31,
from engine/eTess2.h:31,
from engine/eGameObject.cpp:31:
../aa_config.h:167:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:1:1: warning: this is the location of the previous definition
In file included from tools/tMemManager.h:31,
from engine/eTess2.h:31,
from engine/eGameObject.cpp:31:
../aa_config.h:170:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:4:1: warning: this is the location of the previous definition
In file included from tools/tMemManager.h:31,
from engine/eTess2.h:31,
from engine/eGameObject.cpp:31:
../aa_config.h:173:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:2:1: warning: this is the location of the previous definition
In file included from tools/tMemManager.h:31,
from engine/eTess2.h:31,
from engine/eGameObject.cpp:31:
../aa_config.h:176:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/lib/ruby/1.8/i386-openbsd4.1/ruby.h:24,
from tools/tRuby.h:8,
from tools/tCallback.h:33,
from network/nNetwork.h:35,
from network/nNetObject.h:31,
from engine/eTimer.h:33,
from engine/eGameObject.cpp:30:
/usr/local/lib/ruby/1.8/i386-openbsd4.1/config.h:3:1: warning: this is the location of the previous definition
gmake[3]: *** [libenginecore_a-eGameObject.o] Error 1
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/source/ports/games/armagetronad/server (line 2063 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/source/ports/games/armagetronad/server (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/source/ports/games/armagetronad/server (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/source/ports/games/armagetronad/server (line 1861 of /usr/ports/infrastructure/mk/bsd.port.mk).
- bel
I know very little about what you posted there. But I see references to ruby in there. However much I tried I was unable to compile the trunk unless I added --disable-ruby flag to the compile (ubuntu 7.04).
I got this info from phillippe, who posted how he had got around it.
I got this info from phillippe, who posted how he had got around it.
Noww I am getting this:
Code: Select all
===> Building for armagetronad-dedicated-0.2.8.2.1p2
touch -t 7001010101 .changetag
gmake all-recursive
gmake[1]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
Making all in src
gmake[2]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
Making all in first
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/first'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/first'
Making all in thirdparty
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
Making all in mathexpr
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty/mathexpr'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I../../../src -I./ -O2 -pipe -MT libmathexpr_a-mathexpr.o -MD -MP -MF ".deps/libmathexpr_a-mathexpr.Tpo" -c -o libmathexpr_a-mathexpr.o `test -f 'mathexpr.cpp' || echo './'`mathexpr.cpp; \
then mv -f ".deps/libmathexpr_a-mathexpr.Tpo" ".deps/libmathexpr_a-mathexpr.Po"; else rm -f ".deps/libmathexpr_a-mathexpr.Tpo"; exit 1; fi
rm -f libmathexpr.a
ar cru libmathexpr.a libmathexpr_a-mathexpr.o
ranlib libmathexpr.a
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty/mathexpr'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/thirdparty'
Making all in doc
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
Makefile:632: .dummy.dep: No such file or directory
echo > .dummy.dep
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
Making all in net
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
Makefile:467: .dummy.dep: No such file or directory
echo > .dummy.dep
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
echo index.html.dep ":\\" > index.html.dep
grep "include(" index.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> index.html.dep
echo "Makefile" >> index.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat index.html.m4 ; } | m4 -I . > index.html || cp index.html.m4 index.html
echo lower.html.dep ":\\" > lower.html.dep
grep "include(" lower.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> lower.html.dep
echo "Makefile" >> lower.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat lower.html.m4 ; } | m4 -I . > lower.html || cp lower.html.m4 lower.html
echo middle.html.dep ":\\" > middle.html.dep
grep "include(" middle.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> middle.html.dep
echo "Makefile" >> middle.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat middle.html.m4 ; } | m4 -I . > middle.html || cp middle.html.m4 middle.html
echo upper.html.dep ":\\" > upper.html.dep
grep "include(" upper.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> upper.html.dep
echo "Makefile" >> upper.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../../src/doc/html.m4)" ; cat upper.html.m4 ; } | m4 -I . > upper.html || cp upper.html.m4 upper.html
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc/net'
gmake[4]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
echo bugs.html.dep ":\\" > bugs.html.dep
grep "include(" bugs.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> bugs.html.dep
echo "Makefile" >> bugs.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat bugs.html.m4 ; } | m4 -I . > bugs.html || cp bugs.html.m4 bugs.html
echo changelog.html.dep ":\\" > changelog.html.dep
grep "include(" changelog.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> changelog.html.dep
echo "Makefile" >> changelog.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat changelog.html.m4 ; } | m4 -I . > changelog.html || cp changelog.html.m4 changelog.html
echo commands.html.dep ":\\" > commands.html.dep
grep "include(" commands.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> commands.html.dep
echo "Makefile" >> commands.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat commands.html.m4 ; } | m4 -I . > commands.html || cp commands.html.m4 commands.html
m4: stdin at line 8: include(commands.txt): No such file or directory
echo compile.html.dep ":\\" > compile.html.dep
grep "include(" compile.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> compile.html.dep
echo "Makefile" >> compile.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat compile.html.m4 ; } | m4 -I . > compile.html || cp compile.html.m4 compile.html
echo config.html.dep ":\\" > config.html.dep
grep "include(" config.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> config.html.dep
echo "Makefile" >> config.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat config.html.m4 ; } | m4 -I . > config.html || cp config.html.m4 config.html
echo faq.html.dep ":\\" > faq.html.dep
grep "include(" faq.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> faq.html.dep
echo "Makefile" >> faq.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat faq.html.m4 ; } | m4 -I . > faq.html || cp faq.html.m4 faq.html
echo index.html.dep ":\\" > index.html.dep
grep "include(" index.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> index.html.dep
echo "Makefile" >> index.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat index.html.m4 ; } | m4 -I . > index.html || cp index.html.m4 index.html
echo install_linux.html.dep ":\\" > install_linux.html.dep
grep "include(" install_linux.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_linux.html.dep
echo "Makefile" >> install_linux.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_linux.html.m4 ; } | m4 -I . > install_linux.html || cp install_linux.html.m4 install_linux.html
echo install_macosx.html.dep ":\\" > install_macosx.html.dep
grep "include(" install_macosx.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_macosx.html.dep
echo "Makefile" >> install_macosx.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_macosx.html.m4 ; } | m4 -I . > install_macosx.html || cp install_macosx.html.m4 install_macosx.html
echo install_result.html.dep ":\\" > install_result.html.dep
grep "include(" install_result.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_result.html.dep
echo "Makefile" >> install_result.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_result.html.m4 ; } | m4 -I . > install_result.html || cp install_result.html.m4 install_result.html
echo install_windows.html.dep ":\\" > install_windows.html.dep
grep "include(" install_windows.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> install_windows.html.dep
echo "Makefile" >> install_windows.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat install_windows.html.m4 ; } | m4 -I . > install_windows.html || cp install_windows.html.m4 install_windows.html
echo network.html.dep ":\\" > network.html.dep
grep "include(" network.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> network.html.dep
echo "Makefile" >> network.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat network.html.m4 ; } | m4 -I . > network.html || cp network.html.m4 network.html
echo readme_macosx.html.dep ":\\" > readme_macosx.html.dep
grep "include(" readme_macosx.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> readme_macosx.html.dep
echo "Makefile" >> readme_macosx.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat readme_macosx.html.m4 ; } | m4 -I . > readme_macosx.html || cp readme_macosx.html.m4 readme_macosx.html
echo todo.html.dep ":\\" > todo.html.dep
grep "include(" todo.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> todo.html.dep
echo "Makefile" >> todo.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat todo.html.m4 ; } | m4 -I . > todo.html || cp todo.html.m4 todo.html
echo versions.html.dep ":\\" > versions.html.dep
grep "include(" versions.html.m4 | sed -e "s,include(\(.*\)),./\1\\\," >> versions.html.dep
echo "Makefile" >> versions.html.dep
{ echo "define(CHANGEDATE,`date +"%b %d %Y"`) include(../../src/doc/html.m4)" ; cat versions.html.m4 ; } | m4 -I . > versions.html || cp versions.html.m4 versions.html
gmake[4]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src/doc'
gmake[3]: Entering directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I./tools -I./thirdparty/mathexpr -I./render -I./ui -I./thirdparty/shttpd -I./network -I./engine -I./engine/sound -O2 -pipe -MT libenginecore_a-eGameObject.o -MD -MP -MF ".deps/libenginecore_a-eGameObject.Tpo" -c -o libenginecore_a-eGameObject.o `test -f 'engine/eGameObject.cpp' || echo './'`engine/eGameObject.cpp; \
then mv -f ".deps/libenginecore_a-eGameObject.Tpo" ".deps/libenginecore_a-eGameObject.Po"; else rm -f ".deps/libenginecore_a-eGameObject.Tpo"; exit 1; fi
In file included from engine/eCoord.h:31,
from engine/eGameObject.h:34,
from engine/eGameObject.cpp:28:
tools/tCoord.h: In member function `bool
tCoord::GrahamComparator::operator()(const tCoord&, const tCoord&)':
tools/tCoord.h:93: error: `NAN' undeclared (first use this function)
tools/tCoord.h:93: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gmake[3]: *** [libenginecore_a-eGameObject.o] Error 1
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/source/ports/games/armagetronad/server (line 2063 of /usr/ports/infrastructure/mk/bsd.port.mk).
- bel
guess
is the problem here...
Code: Select all
tools/tCoord.h:93: error: `NAN' undeclared (first use this function)
- bel
this fixes the thing...
Code: Select all
--- src/tools/tCoord.h.orig Wed Aug 22 11:17:14 2007
+++ src/tools/tCoord.h Tue Aug 28 11:39:57 2007
@@ -90,9 +90,9 @@
REAL ta = Tangent(m_reference, a), tb = Tangent(m_reference, b);
//check for 90 degree angles...
- if(ta == NAN && tb == NAN) return fabs((m_reference-a).NormSquared()) < fabs((m_reference-b).NormSquared());
- if(ta == NAN) return tb<0;
- if(tb == NAN) return ta>0;
+ if(isnan(ta) && isnan(tb)) return fabs((m_reference-a).NormSquared()) < fabs((m_reference-b).NormSquared());
+ if(isnan(ta)) return tb<0;
+ if(isnan(tb)) return ta>0;
//check for opposite sides
if(ta>0 && tb<0) return true;
- bel
either with or without ruby... getting the following error:
Code: Select all
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/ruby/1.8/i386-openbsd4.1 -I./tools -I./thirdparty/mathexpr -I./network -O2 -pipe -MT libnetwork_a-nSocket.o -MD -MP -MF ".deps/libnetwork_a-nSocket.Tpo" -c -o libnetwork_a-nSocket.o `test -f 'network/nSocket.cpp' || echo './'`network/nSocket.cpp; \
then mv -f ".deps/libnetwork_a-nSocket.Tpo" ".deps/libnetwork_a-nSocket.Po"; else rm -f ".deps/libnetwork_a-nSocket.Tpo"; exit 1; fi
In file included from network/nSocket.cpp:54:
/usr/include/netinet/ip.h:153: error: syntax error before `[' token
/usr/include/netinet/ip.h:156: error: 'n_time' is used as a type, but is not
defined as a type.
gmake[3]: *** [libnetwork_a-nSocket.o] Error 1
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
gmake: *** [all] Error 2
*** Error code 2
- Attachments
-
- ip-h.tar.gz
- /usr/include/netinet/ip.h
- (2.83 KiB) Downloaded 228 times
- bel
Problem solved... found new error though.
Fix for the above error:
Fix for the above error:
Code: Select all
--- src/network/nSocket.cpp Wed Aug 22 11:16:34 2007
+++ src/network/nSocket.cpp Tue Aug 28 17:28:46 2007
@@ -50,13 +50,14 @@
#ifndef WIN32
#include <arpa/inet.h>
+#include <netinet/in_systm.h>
+
#ifndef MACOSX
# include <netinet/ip.h>
#else
# define IPTOS_LOWDELAY 0x10 // http://www.tcpdump.org/cgi-bin/cvsweb/tcpdump/ip.h?rev=1.11
#endif
-#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/param.h>
- bel
New error:
Do I really have to upgrade BISON to 2.2 like mentioned by Z-Man in tools/values/vParser.ypp to make this work?
PS. I hope noone minds me talking to myself a lot here and using the thread as a reference.
Code: Select all
yacc `test -f 'tools/values/vParser.ypp' || echo './'`tools/values/vParser.ypp
tools/values/vParser.ypp:37: syntax error
%destructor {
^
gmake[3]: *** [vParser.cpp] Error 1
gmake[3]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ports/games/armagetronad/server/w-armagetronad-dedicated-0.2.8.2.1p2/armagetronad-0.2.8.2.1'
gmake: *** [all] Error 2
*** Error code 2
PS. I hope noone minds me talking to myself a lot here and using the thread as a reference.
- bel
- Lucifer
- Project Developer
- Posts: 8640
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
Umm, I believe the bison-dependent code is currently scheduled to be removed. You could help by removing the .ypp file from the build and see if it all links, and if not, comment out the lines that need it. Could take awhile, that's why no one has done it.
An alternative that might actually be less work could be adapting the .ypp file to work with byacc, or your version of bison.
PS. Nah, I think we all use these forums from time to time as a notebook, and it's good because it tells other people what you're doing/thinking and increases the bus factor on whatever you're working on.
An alternative that might actually be less work could be adapting the .ypp file to work with byacc, or your version of bison.
PS. Nah, I think we all use these forums from time to time as a notebook, and it's good because it tells other people what you're doing/thinking and increases the bus factor on whatever you're working on.