On Sat, Mar 25, 2017 at 2:51 PM, Nicolò Cavalleri <[email protected]> wrote: > Hi, > > I am trying to use a library in linux that depends on the 4.5 static version > of v8, but I built the 5.0 version as I saw it has all the necessary .lib/.a > files are also built in this version, and it has less bugs. However I get > some linking error that has to do with icui18n, that looks easy but that I > cannot manage to solve. > I get a ton of errors like the following: > > /usr/local/lib/v8/out/x64.release/obj.target/icui18n/third_party/icu/source/i18n/collationtailoring.o:(.data.rel.ro._ZTIN6icu_5418CollationTailoringE+0x10): > undefined reference to `typeinfo for icu_54::SharedObject' > > That all have to do with icui18n, and particularly with the icu_54 > namespace, resulting in: > > collect2: error: ld returned 1 exit status > Makefile:15: recipe for target 'lateximage' failed > > This is the build command: > > g++ -std=c++14 lateximage.o latex.o -o lateximage > -L/usr/local/lib/v8/out/x64.release/obj.target/tools/gyp > -L/usr/local/lib/v8/out/x64.release/obj.target/third_party/icu > -L/usr/local/lib/wkhtmltox/lib -L/usr/local/lib/boost_1_63_0/stage/lib > -lboost_system -lboost_filesystem -lwkhtmltox -lv8_base -lv8_libbase > -lv8_external_snapshot -lv8_nosnapshot -lv8_libplatform -licuuc -licui18n > -licudata -lrt -ldl -pthread > > Any hints? > > Thank you in advance
V8 is built without RTTI, and so is the bundled ICU, I assume. Does it work when you add `-fno-exceptions -fno-rtti`? -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" 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/d/optout.
