GrumbelsTrashbin / supertux.auto_export

Automatically exported from code.google.com/p/supertux
GNU General Public License v3.0
0 stars 0 forks source link

Building issue with Squirrel #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I downloaded the latest version of Supertux from git here, and in the 
directory, ./configure and then make.

Here is what I got:
[julien@blackiris2 supertux]$ make
make -C build
make[1] : on entre dans le répertoire « /home/julien/svn/supertux/build »
make[2] : on entre dans le répertoire « /home/julien/svn/supertux/build »
make[3] : on entre dans le répertoire « /home/julien/svn/supertux/build »
make[3] : on quitte le répertoire « /home/julien/svn/supertux/build »
make[3] : on entre dans le répertoire « /home/julien/svn/supertux/build »
[  0%] Building CXX object 
external/squirrel/CMakeFiles/squirrel.dir/squirrel/sqcompiler.cpp.o
In file included from 
/home/julien/svn/supertux/external/squirrel/squirrel/sqobject.h:5:0,
                 from /home/julien/svn/supertux/external/squirrel/squirrel/sqpcheader.h:16,
                 from /home/julien/svn/supertux/external/squirrel/squirrel/sqcompiler.cpp:4:
/home/julien/svn/supertux/external/squirrel/squirrel/squtils.h: In 
instantiation of ‘void sqvector<T>::_realloc(SQUnsignedInteger) [with T = 
long int; SQUnsignedInteger = long unsigned int]’:
/home/julien/svn/supertux/external/squirrel/squirrel/squtils.h:66:4:   required 
from ‘T& sqvector<T>::push_back(const T&) [with T = long int]’
/home/julien/svn/supertux/external/squirrel/squirrel/sqfuncstate.h:25:68:   
required from here
/home/julien/svn/supertux/external/squirrel/squirrel/squtils.h:97:3: erreur: 
‘sq_vm_realloc’ was not declared in this scope, and no declarations were 
found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from 
/home/julien/svn/supertux/external/squirrel/squirrel/sqpcheader.h:17:0,
                 from /home/julien/svn/supertux/external/squirrel/squirrel/sqcompiler.cpp:4:
/home/julien/svn/supertux/external/squirrel/squirrel/sqstate.h:141:7: note: 
‘void* sq_vm_realloc(void*, SQUnsignedInteger, SQUnsignedInteger)’ declared 
here, later in the translation unit
make[3]: *** 
[external/squirrel/CMakeFiles/squirrel.dir/squirrel/sqcompiler.cpp.o] Erreur 1
make[3] : on quitte le répertoire « /home/julien/svn/supertux/build »
make[2]: *** [external/squirrel/CMakeFiles/squirrel.dir/all] Erreur 2
make[2] : on quitte le répertoire « /home/julien/svn/supertux/build »
make[1]: *** [all] Erreur 2
make[1] : on quitte le répertoire « /home/julien/svn/supertux/build »
make: *** [all] Erreur 2
[julien@blackiris2 supertux]$ 

I'm running on Archlinux x64, with all latest packages, gcc 4.7.
Suirrel version is older than the stable one from the same family (2.2.4 
instead i
of 2.2.5)

Original issue reported on code.google.com by julien.n...@gmail.com on 24 May 2012 at 3:09

GoogleCodeExporter commented 9 years ago
There is a patch on the bugtracker site that probably addresses this issue.  
I'll upload it here.  I'm unable to test it properly at the moment, so let me 
know if it solves your issue and I'll see about pushing it to the main repo.

Original comment by LMH.0...@gmail.com on 26 May 2012 at 3:12

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know if your receive my email, just to tell you that the patch works!!
Thank you so much!

Original comment by julien.n...@gmail.com on 28 May 2012 at 1:05

GoogleCodeExporter commented 9 years ago
I did not receive your email, but I did push the patch to the repository (under 
revision 807eadad509d) so in the future you shouldn't have any issues.

Original comment by LMH.0...@gmail.com on 31 May 2012 at 6:39