PiRSquared17 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

Can't compile Quadra 1.1.8 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Submitted by jdez:

Everithing ok configuring but something fails in make

$ sudo ./configure
loading cache ./config.cache
checking how to run the C preprocessor... (cached) cc -E
checking for X... (cached) no
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for compress in -lz... (cached) yes
checking for png_create_read_struct in -lpng... (cached) yes
checking for vga_init in -lvga... (cached) no
checking for gl_setcontext in -lvgagl... (cached) no
checking for vga.h... (cached) no
checking for vgagl.h... (cached) no
checking for vgamouse.h... (cached) no
checking for vgakeyboard.h... (cached) no
checking for zlib.h... (cached) yes
checking for png.h... (cached) yes
creating ./config.status
creating config/config.mk

$ sudo make
Building dependencies file (config/depends.mk)
sed packages/Quadra.desktop.in -e 's%@bindir@%/usr/local/bin%g' -e
's%@datadir@%/usr/local/share%g' > Quadra.desktop
g++ -g -O2 -DX_DISPLAY_MISSING=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DNDEBUG
-Wall -pedantic -pipe -Iinclude -Iskelton/include -Iimages
-DLIBGAMESDIR=\"/usr/local/lib/games\"
-DDATAGAMESDIR=\"/usr/local/share/games\" -DVERSION="1.1.8"
-DVERSION_MAJOR=1 -DVERSION_MINOR=1 -DVERSION_PATCHLEVEL=8 -DUGS_LINUX -c
-o source/bloc.o source/bloc.cpp
skelton/include/image.h:26: warning: ‘class Image’ has virtual
functions but non-virtual destructor
skelton/include/res.h:123: error: extra ‘;’
skelton/include/inter.h:95: error: extra ‘;’
skelton/include/overmind.h:54: error: extra ‘;’
skelton/include/notify.h:25: warning: ‘class Notifyable’ has virtual
functions but non-virtual destructor
skelton/include/net_call.h:26: warning: ‘class Net_callable’ has
virtual functions but non-virtual destructor
skelton/include/array.h: In member function ‘void
Array<T>::add_before(const T&, int) [with T = Zone*]’:
skelton/include/inter.h:72: instantiated from here
skelton/include/array.h:40: error: no matching function for call to
‘std::vector<Zone*, std::allocator<Zone*> >::insert(Zone**, Zone*
const&)’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector
.tcc:93: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator
std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, const _Tp&) [with _Tp = Zone*, _Alloc = std::allocator<Zone*>]
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_ve
ctor.h:657: note: void std::vector<_Tp,
_Alloc>::insert(__gnu_cxx::__normal_iterator<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp,
_Alloc> >, size_t, const _Tp&) [with _Tp = Zone*, _Alloc =
std::allocator<Zone*>]
make: *** [source/bloc.o] Error 1

I use Xubuntu.

Original issue reported on code.google.com by pphaneuf on 31 Mar 2008 at 2:45

GoogleCodeExporter commented 9 years ago
This has been fixed a good while ago.

Original comment by pphaneuf on 1 Apr 2008 at 2:40