Linux - Odd crash upon "make"
Posted: Fri Dec 26, 2014 12:00 pm
Good morning!
I've been trying to compile vegastrike 0.5.1.r1 (using Ubuntu 14.04) from source, but it won't let me.
When I run ./configure, everything seems to go fine, "ccmake .." gives no error as well (in case I'm missing something, I'll attach the config.log...). The terminal does its thing, fires a couple of warnings and gives me the prompt.
And when I input "make", all hell breaks loose.
Upon entering ./src/networking/lowlevel I find packetmem.cpp , packetmem.h but, strangely enough, there is no such thing as packetmem.o, even if most other <subject name here>.cpp and .h have a corresponding .o .
note: I have been trying to muck around with ubuntu 13.10 and 13.04 repositories as well, but there seems to be quite a problem with unresolved dependencies, particularly with libboost-python (I have 1.54).
Any thoughts?
I've been trying to compile vegastrike 0.5.1.r1 (using Ubuntu 14.04) from source, but it won't let me.
When I run ./configure, everything seems to go fine, "ccmake .." gives no error as well (in case I'm missing something, I'll attach the config.log...). The terminal does its thing, fires a couple of warnings and gives me the prompt.
And when I input "make", all hell breaks loose.
Code: Select all
canopus@Carina:~/vegastrike-src-0.5.1.r1$ make
make all-am
make[1]: Entering directory `/home/canopus/vegastrike-src-0.5.1.r1'
depbase=`echo src/networking/lowlevel/netui.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS -I./src -pipe -DNV_CUBE_MAP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/netui.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/netui.o src/networking/lowlevel/netui.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/networking/lowlevel/packet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS -I./src -pipe -DNV_CUBE_MAP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/packet.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/packet.o src/networking/lowlevel/packet.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/networking/lowlevel/packetmem.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_45 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -DNV_CUBE_MAP=1 -DHAVE_FFMPEG -D__STDC_CONSTANT_MACROS -I./src -pipe -DNV_CUBE_MAP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/packetmem.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/packetmem.o src/networking/lowlevel/packetmem.cpp &&\
mv -f $depbase.Tpo $depbase.Po
src/networking/lowlevel/packetmem.cpp: In member function ‘void PacketMem::inner_set(void*, size_t, bool)’:
src/networking/lowlevel/packetmem.cpp:105:26: error: no matching function for call to ‘boost::shared_array<char>::reset(int)’
_buffer.reset( 0 );
^
src/networking/lowlevel/packetmem.cpp:105:26: note: candidates are:
In file included from /usr/include/boost/shared_array.hpp:17:0,
from src/networking/lowlevel/packetmem.h:10,
from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note: void boost::shared_array<T>::reset() [with T = char]
void reset() BOOST_NOEXCEPT
^
/usr/include/boost/smart_ptr/shared_array.hpp:166:10: note: candidate expects 0 arguments, 1 provided
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note: template<class Y> void boost::shared_array<T>::reset(Y*) [with Y = Y; T = char]
template<class Y> void reset( Y * p ) // Y must be complete
^
/usr/include/boost/smart_ptr/shared_array.hpp:171:28: note: template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note: mismatched types ‘Y*’ and ‘int’
_buffer.reset( 0 );
^
In file included from /usr/include/boost/shared_array.hpp:17:0,
from src/networking/lowlevel/packetmem.h:10,
from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note: template<class Y, class D> void boost::shared_array<T>::reset(Y*, D) [with Y = Y; D = D; T = char]
template<class Y, class D> void reset( Y * p, D d )
^
/usr/include/boost/smart_ptr/shared_array.hpp:177:37: note: template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note: mismatched types ‘Y*’ and ‘int’
_buffer.reset( 0 );
^
In file included from /usr/include/boost/shared_array.hpp:17:0,
from src/networking/lowlevel/packetmem.h:10,
from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note: template<class Y, class D, class A> void boost::shared_array<T>::reset(Y*, D, A) [with Y = Y; D = D; A = A; T = char]
template<class Y, class D, class A> void reset( Y * p, D d, A a )
^
/usr/include/boost/smart_ptr/shared_array.hpp:182:46: note: template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note: mismatched types ‘Y*’ and ‘int’
_buffer.reset( 0 );
^
In file included from /usr/include/boost/shared_array.hpp:17:0,
from src/networking/lowlevel/packetmem.h:10,
from src/networking/lowlevel/packetmem.cpp:11:
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note: template<class Y> void boost::shared_array<T>::reset(const boost::shared_array<Y>&, boost::shared_array<T>::element_type*) [with Y = Y; T = char]
template<class Y> void reset( shared_array<Y> const & r, element_type * p )
^
/usr/include/boost/smart_ptr/shared_array.hpp:187:28: note: template argument deduction/substitution failed:
src/networking/lowlevel/packetmem.cpp:105:26: note: mismatched types ‘const boost::shared_array<T>’ and ‘int’
_buffer.reset( 0 );
^
make[1]: *** [src/networking/lowlevel/packetmem.o] Error 1
make[1]: Leaving directory `/home/canopus/vegastrike-src-0.5.1.r1'
make: *** [all] Error 2
canopus@Carina:~/vegastrike-src-0.5.1.r1$
note: I have been trying to muck around with ubuntu 13.10 and 13.04 repositories as well, but there seems to be quite a problem with unresolved dependencies, particularly with libboost-python (I have 1.54).
Any thoughts?