Comments (2)
@stesie — thanks for the report.
from v8js.
I am also getting the similar problem. Below are the make process and gcc version.
What other options can I pass to configure for resolving this issue, or is it possible to modify the program to resolve this, if so, how?
[root@localhost v8js]# make
/bin/sh /usr/local/v8js/libtool --mode=compile g++ -std=c++0x -I. -I/usr/local/v8js -DPHP_ATOM_INC -I/usr/local/v8js/include -I/usr/local/v8js/main -I/usr/local/v8js -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/v8js/v8js.cc -o v8js.lo
libtool: compile: g++ -std=c++0x -I. -I/usr/local/v8js -DPHP_ATOM_INC -I/usr/local/v8js/include -I/usr/local/v8js/main -I/usr/local/v8js -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o
/usr/local/v8js/v8js.cc:61:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Object___construct(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:516:54: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Function___construct(int, zval*, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:526:54: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js___construct(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:770:134: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:821:66: error: no matching function for call to 'v8::FunctionTemplate::New()'
/usr/include/v8.h:3331:34: note: candidate is: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, void ()(const v8::FunctionCallbackInfov8::Value&), v8::Handlev8::Value, v8::Handlev8::Signature, int)
/usr/local/v8js/v8js.cc:848:72: error: no matching function for call to 'v8::FunctionTemplate::New()'
/usr/include/v8.h:3331:34: note: candidate is: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate, void ()(const v8::FunctionCallbackInfov8::Value&), v8::Handlev8::Value, v8::Handlev8::Signature, int)
/usr/local/v8js/v8js.cc: In function 'void php_v8js_timer_thread()':
/usr/local/v8js/v8js.cc:1001:3: error: 'sleep_for' is not a member of 'std::this_thread'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_executeString(int, zval, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1013:145: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1041:2: error: invalid conversion from 'long int' to 'v8::Isolate_'
/usr/local/v8js/v8js.cc:1041:2: error: initializing argument 1 of 'static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32_t)'
/usr/local/v8js/v8js.cc:1041:2: error: invalid conversion from 'v8::Isolate_' to 'int32_t'
/usr/local/v8js/v8js.cc:1041:2: error: initializing argument 2 of 'static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32_t)'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_startDebugAgent(int, zval*, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1154:97: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_getPendingException(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:1198:6: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_setModuleLoader(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1217:69: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_persistent_zval_ctor(zval**)':
/usr/local/v8js/v8js.cc:1238:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_persistent_zval_dtor(zval__)':
/usr/local/v8js/v8js.cc:1251:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_registerExtension(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:1316:135: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_getExtensions(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1344:6: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_create_script_exception(zval_, v8::TryCatch_)':
/usr/local/v8js/v8js.cc:1508:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1512:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1515:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1522:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1526:2: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsFileName(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1564:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1564:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsLineNumber(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1569:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1569:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsSourceLine(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1574:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1574:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsTrace(int, zval_, zval*, zval, int)':
/usr/local/v8js/v8js.cc:1579:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1579:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'int zm_startup_v8js(int, int)':
/usr/local/v8js/v8js.cc:1675:113: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1676:114: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1677:114: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1678:111: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: At global scope:
/usr/local/v8js/v8js.cc:1820:1: warning: deprecated conversion from string constant to 'char_'
make: *_* [v8js.lo] Error 1
[root@localhost v8js]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
from v8js.
Related Issues (20)
- Trying to compile with php8 branch on ubuntu 22, getting error: could not determine libv8 version (v8 compiled succesfully) HOT 3
- Dynamic Properties deprecation in PHP 8.2 HOT 4
- Broken build on PHP 8.0.x HOT 2
- Segmentation fault - possibly another GC issue? HOT 7
- Compromise between FORCE_ARRAY and standard setup HOT 8
- sandbox error with v8 11.1.277.13 HOT 1
- libv8 must be version 9.0 or greater (using dockerfile) HOT 1
- Issue running make in ubuntu 22.04 HOT 2
- windows php 8.1
- compile error with g++ 13: error: expected unqualified-id before '&' token
- With wich version of V8 this php library work ? HOT 4
- Error installing on debian 11
- This LIB is very hard to install ! HOT 14
- PROHIBITS_OVERWRITING removed from V8 and causing V8Js compile error. HOT 1
- V8Js 3.0.0 HOT 1
- Is the latest recommended release 2.1.1 or 2.1.2? HOT 4
- Do I have permission to refactor this? HOT 3
- Compilation error: "no matching function for call to 'v8::ObjectTemplate::SetAccessor" HOT 6
- Linux arm64 support? HOT 3
- Is there an official installation tutorial for the v8js extension? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v8js.