i tried to compile the 2.99 bzfs version today on my Ubuntu 9.10 server.
./autogen.sh
and
./configure --enable-shared --enable-debug --disable-client --prefix=/usr/local/bin/bzf3
worked just fine.
but "make" gave me following error :::
Code: Select all
make[2]: Entering directory `/home/zaphod/bzf3/bzflag/src/lua'
/bin/bash ../../libtool --silent --tag=CXX --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src -I../../src/bzflag -I../../src/clientbase -D_REENTRANT -Wall -W -Wundef -Wshadow -ansi -pedantic -Wno-long-long -mtune=i686 -fsigned-char -Werror -Wno-deprecated -g -O2 -O0 -MT LuaExtras.lo -MD -MP -MF .deps/LuaExtras.Tpo -c -o LuaExtras.lo LuaExtras.cxx
cc1plus: warnings being treated as errors
LuaExtras.cxx: In static member function 'static int LuaExtras::stderr_write(lua_State*)':
LuaExtras.cxx:178: error: format not a string literal and no format arguments
LuaExtras.cxx:180: error: format not a string literal and no format arguments
make[2]: *** [LuaExtras.lo] Error 1
make[2]: Leaving directory `/home/zaphod/bzf3/bzflag/src/lua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zaphod/bzf3/bzflag/src'
make: *** [all-recursive] Error 1
.