Status: New
Owner: ----

New issue 3057 by [email protected]: Compiling getting started sample code fail
http://code.google.com/p/v8/issues/detail?id=3057

OS : Ubuntu 12.04 (x86_64)
g++(gcc) : 4.6.3
Make : 3.81

1. download and build : success by building gcc + make
download instruction(UsingGit) : https://code.google.com/p/v8/wiki/UsingGit
build instruction : https://code.google.com/p/v8/wiki/BuildingWithGYP

2. make hello_world.cpp file in the v8 root directory

3. compiling above source code and fail
command :
$g++ hello_world.cpp -o hello_world -Iinclude out/x64.release/obj.target/tools/gyp/libv8_{base.x64,snapshot}.a -lpthread

error messages :
/subhome/share/Working/v8/out/x64.release/obj.target/v8_base.x64/src/platform/time.o: In function `v8::internal::TimeTicks::Now()': time.cc:(.text._ZN2v88internal9TimeTicks3NowEv+0xd): undefined reference to `clock_gettime' /subhome/share/Working/v8/out/x64.release/obj.target/v8_base.x64/src/platform/time.o: In function `v8::internal::TimeTicks::HighResolutionNow()': time.cc:(.text._ZN2v88internal9TimeTicks17HighResolutionNowEv+0xd): undefined reference to `clock_gettime' /subhome/share/Working/v8/out/x64.release/obj.target/v8_base.x64/src/runtime.o: In function `v8::internal::__RT_impl_Runtime_GetDefaultICULocale(v8::internal::Arguments, v8::internal::Isolate*) [clone .isra.437]': runtime.cc:(.text._ZN2v88internalL37__RT_impl_Runtime_GetDefaultICULocaleENS0_9ArgumentsEPNS0_7IsolateE.isra.437+0x2d): undefined reference to `icu_46::Locale::Locale()' runtime.cc:(.text._ZN2v88internalL37__RT_impl_Runtime_GetDefaultICULocaleENS0_9ArgumentsEPNS0_7IsolateE.isra.437+0x4e): undefined reference to `uloc_toLanguageTag_46'
runtime.cc:
....
....
there are many undefined reference errors
....
....
collect2: ld returned 1 exit status


--
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

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to