Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 28 by
kdombrow...@gmail.com: compile errors @ typed_arrays
http://code.google.com/p/google-js-test/issues/detail?id=28
What steps will reproduce the problem?
1. download & extract gjstest-1.0.8
2. cd to extracted directory
3. run `make`
What is the expected output? What do you see instead?
expected: successful comilation of gjstest-1.0.8
instead: errors from typed_arrays.cc
What version of the product are you using? On what operating system?
1.0.8 on debian stable (ia32)
Please provide any additional information below.
first attempt, using current v8 git repo:
kenneth@gilgamesh:~/src/v8$ make ia32.release library=shared
kenneth@gilgamesh:~/src/v8$ sudo cp out/ia32.release/lib.target/libv8.so
/usr/local/lib/
kenneth@gilgamesh:~/src/v8$ sudo cp include/v8.h /usr/local/include/v8.h
kenneth@gilgamesh:~/src/v8$ sudo cp include/v8stdint.h
/usr/local/include/v8stdint.h
kenneth@gilgamesh:~/src/v8$ cd ../gjstest-1.0.8
kenneth@gilgamesh:~/src/gjstest-1.0.8$ make
g++ -DHASH_NAMESPACE=__gnu_cxx -lrt -I. -I/usr/include/libxml2
-DDEFAULT_DATA_DIR=/usr/local/share/gjstest -c -o
gjstest/internal/cpp/typed_arrays.o gjstest/internal/cpp/typed_arrays.cc
gjstest/internal/cpp/typed_arrays.cc: In static member function ‘static
v8::Handle<v8::Value><unnamed>::ArrayBuffer::V8New(const v8::Arguments&)’:
gjstest/internal/cpp/typed_arrays.cc:144: error: ‘class v8::Object’ has no
member named ‘SetPointerInInternalField’
gjstest/internal/cpp/typed_arrays.cc: In static member function ‘static
v8::Handle<v8::Value><unnamed>::TypedArray<TBytes, TEAType>::V8New(const
v8::Arguments&)’:
gjstest/internal/cpp/typed_arrays.cc:274: error: ‘class v8::Object’ has no
member named ‘GetPointerFromInternalField’
gjstest/internal/cpp/typed_arrays.cc:303: error: ‘class v8::Object’ has no
member named ‘GetPointerFromInternalField’
make: *** [gjstest/internal/cpp/typed_arrays.o] Error 1
using the libv8 in debian stable:
kenneth@gilgamesh:~/src/gjstest-1.0.8$ sudo rm /usr/local/include/v8.h
/usr/local/include/v8stdint.h /usr/local/lib/libv8.so
kenneth@gilgamesh:~/src/gjstest-1.0.8$ sudo aptitude install libv8-2.2.24
libv8-dev
kenneth@gilgamesh:~/src/gjstest-1.0.8$ dpkg -l libv8-2.2.24 libv8-dev
ii libv8-2.2.24 2.2.24-6 V8 JavaScript Engine
ii libv8-dev 2.2.24-6 Development files for the V8
JavaScript Engine
kenneth@gilgamesh:~/src/gjstest-1.0.8$ make clean && make
fails with:
g++ -DHASH_NAMESPACE=__gnu_cxx -lrt -I. -I/usr/include/libxml2
-DDEFAULT_DATA_DIR=/usr/local/share/gjstest -c -o
gjstest/internal/cpp/typed_arrays.o gjstest/internal/cpp/typed_arrays.cc
gjstest/internal/cpp/typed_arrays.cc: In function
‘int<unnamed>::v8_typed_array::SizeOfArrayElementForType(v8::ExternalArrayType)’:
gjstest/internal/cpp/typed_arrays.cc:62: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc: In static member function ‘static
v8::Handle<v8::Value><unnamed>::TypedArray<TBytes, TEAType>::get(const
v8::Arguments&)’:
gjstest/internal/cpp/typed_arrays.cc:347: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc: In static member function ‘static
v8::Handle<v8::Value><unnamed>::TypedArray<TBytes, TEAType>::set(const
v8::Arguments&)’:
gjstest/internal/cpp/typed_arrays.cc:381: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc: In static member function ‘static
const char*<unnamed>::TypedArray<TBytes, TEAType>::TypeName()’:
gjstest/internal/cpp/typed_arrays.cc:482: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc: At global scope:
gjstest/internal/cpp/typed_arrays.cc:495: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc:495: error: ‘kExternalDoubleArray’ is
not a member of ‘v8’
gjstest/internal/cpp/typed_arrays.cc:495: error: template argument 2 is
invalid
gjstest/internal/cpp/typed_arrays.cc: In function ‘void
gjstest::ExportTypedArrays(const v8::Handle<v8::Object>&)’:
gjstest/internal/cpp/typed_arrays.cc:854: error: ‘GetTemplate’ is not a
member of ‘<unnamed>::Float64Array’
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings