hiker {l Wrote}:Auria {l Wrote}:Joerg... the file said __FreeBSD__, not __FREEBSD__
Thanks for noticing this, I've tried again in r10108. Xeno, if this doesn't work, can't you just send us a patch?
Cheers,
Joerg
@Joerg:
It works on FreeBSD i386 (32-bit) now.
*Darn* This time we have a problem on FreeBSD amd64 (64-bit):
- {l Code}: {l Select All Code}
g++ -DPACKAGE_NAME=\"supertuxkart\" -DPACKAGE_TARNAME=\"supertuxkart\" -DPACKAGE_VERSION=\"SVN\" -DPACKAGE_STRING=\"supertuxkart\ SVN\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"supertuxkart\" -DVERSION=\"SVN\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_AL_AL_H=1 -DHAVE_OGGVORBIS=1 -DENABLE_BIDI=1 -DSVNVERSION=\"10125\" -DBT_NO_PROFILE=/\*\*/ -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DSUPERTUXKART_DATADIR="\"/usr/local/share/games/supertuxkart/\"" -I./bullet/src/ -I./enet/include/ -I/usr/local/include -I /usr/local//include -I /usr/local//include/irrlicht -I/usr/local/include -I/usr/local/include -Wall -DNDEBUG -O2 -MT addon.o -MD -MP -MF .deps/addon.Tpo -c -o addon.o `test -f 'addons/addon.cpp' || echo './'`addons/addon.cpp
addons/addon.cpp: In constructor 'Addon::Addon(const XMLNode&)':
addons/addon.cpp:70: error: no matching function for call to 'XMLNode::get(const char [5], time_t*) const'
./io/xml_node.hpp:72: note: candidates are: int XMLNode::get(const std::string&, std::string*) const
./io/xml_node.hpp:73: note: int XMLNode::get(const std::string&, irr::core::stringw*) const
./io/xml_node.hpp:74: note: int XMLNode::get(const std::string&, int*) const
./io/xml_node.hpp:75: note: int XMLNode::get(const std::string&, unsigned int*) const
./io/xml_node.hpp:80: note: int XMLNode::get(const std::string&, float*) const
./io/xml_node.hpp:81: note: int XMLNode::get(const std::string&, bool*) const
./io/xml_node.hpp:82: note: int XMLNode::get(const std::string&, Vec3*) const
./io/xml_node.hpp:83: note: int XMLNode::get(const std::string&, irr::core::vector2df*) const
./io/xml_node.hpp:84: note: int XMLNode::get(const std::string&, irr::core::vector3df*) const
./io/xml_node.hpp:85: note: int XMLNode::get(const std::string&, irr::video::SColorf*) const
./io/xml_node.hpp:86: note: int XMLNode::get(const std::string&, irr::video::SColor*) const
./io/xml_node.hpp:87: note: int XMLNode::get(const std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*) const
./io/xml_node.hpp:88: note: int XMLNode::get(const std::string&, std::vector<float, std::allocator<float> >*) const
./io/xml_node.hpp:89: note: int XMLNode::get(const std::string&, std::vector<int, std::allocator<int> >*) const
./io/xml_node.hpp:90: note: int XMLNode::get(irr::core::vector3df*) const
gmake[2]: *** [addon.o] Error 1
gmake[2]: Leaving directory `/root/Desktop/supertuxkart-svn/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/Desktop/supertuxkart-svn/src'
gmake: *** [all-recursive] Error 1
I have deleted your new lines:
- {l Code}: {l Select All Code}
#ifndef __FreeBSD__
- {l Code}: {l Select All Code}
#endif
on xml_node.hpp and xml_node.cpp.
And the 64-bit version compiles fine.
On 32-bit is your patch necessary and on 64-bit not.
@All:
And here are the new packages with a new track "mini golf":
supertuxkart-svn10123-irr3843-freebsd-i386.tar.bz2 (32-bit)
supertuxkart-svn10125-irr3843-freebsd-amd64.tar.bz2 (64-bit)
Enjoy it!