#1 Compile Falls

pending
None
5
2012-10-24
2012-10-24
Anonymous
No

Hi! I have Ubuntu 12.10 (64-bit) on kernel 3.5.0.

When I tried use make, it falls:

make[1]: Выход из каталога `/home/denis/sources/squirrelsh-1.2.6/pcre'
make[1]: Вход в каталог `/home/denis/sources/squirrelsh-1.2.6/squirrel'
g++ -m64 -c -O2 -Wall -fno-rtti -pipe -flto -fomit-frame-pointer -DNDEBUG -DPCRE_STATIC -D_SQ64 -c -o sqapi.o sqapi.cpp -I. -I"/home/denis/sources/squirrelsh-1.2.6/pcre" -I"/home/denis/sources/squirrelsh-1.2.6/squirrel"
In file included from sqobject.h:5:0,
from sqpcheader.h:16,
from sqapi.cpp:4:
squtils.h: In instantiation of «sqvector<T>::~sqvector() [with T = long long int]»:
sqclosure.h:142:52: required from here
squtils.h:46:4: ошибка: «sq_vm_free» 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 sqpcheader.h:17:0,
from sqapi.cpp:4:
sqstate.h:143:6: замечание: «void sq_vm_free(void*, SQUnsignedInteger)» declared here, later in the translation unit
In file included from sqobject.h:5:0,
from sqpcheader.h:16,
from sqapi.cpp:4:
squtils.h: In instantiation of «void sqvector<T>::_realloc(SQUnsignedInteger) [with T = long long int; SQUnsignedInteger = long long unsigned int]»:
squtils.h:34:4: required from «void sqvector<T>::copy(const sqvector<T>&) [with T = long long int]»
sqclosure.h:161:34: required from here
squtils.h:105:3: ошибка: «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 sqpcheader.h:17:0,
from sqapi.cpp:4:
sqstate.h:142:7: замечание: «void* sq_vm_realloc(void*, SQUnsignedInteger, SQUnsignedInteger)» declared here, later in the translation unit
make[1]: *** [sqapi.o] Ошибка 1
make[1]: Выход из каталога `/home/denis/sources/squirrelsh-1.2.6/squirrel'
make: *** [all] Ошибка 2

Plz, help me fix this problem.

Discussion

  • Constantin Makshin

    Hello, LoKi.

    This is a known problem caused by the combination of incorrect Squirrel VM code and changes made in GCC 4.7. You can find more information at
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52446

    However, it's fixed in Squirrel 3.0.3, so please download squirrelsh 1.2.7 which comes with updated PCRE and Squirrel libraries.

     
  • Constantin Makshin

    • assigned_to: nobody --> dinosaur-rus
    • status: open --> pending
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks