nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
422 stars 153 forks source link

编译出现问题? #222

Open xiaoGreaat opened 6 years ago

xiaoGreaat commented 6 years ago

[root@localhost go-nebulas]# make build cd cmd/neb; go build -ldflags "-X main.version=1.0.8 -X main.commit=2928567d2871e89e92930ad5c1a27b07905b03f6 -X main.branch=master -X main.compileAt=date +%s" -o ../../neb-2928567d2871e89e92930ad5c1a27b07905b03f6

github.com/nebulasio/go-nebulas/nf/nvm

//usr/local/lib/libv8.so:对‘icu_59::StringPiece::StringPiece(char const)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::removeAllStrings()’未定义的引用 //usr/local/lib/libv8.so:对‘ucurr_getDefaultFractionDigits_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::createPercentInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::operator=(icu_59::UnicodeString const&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::toUTF8(icu_59::ByteSink&) const’未定义的引用 //usr/local/lib/libv8.so:对‘vtable for icu_59::FieldPosition’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DateFormat::getAvailableLocales(int&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::format(double, icu_59::UnicodeString&) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::getRangeStart(int) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DecimalFormat::getMaximumSignificantDigits() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::BreakIterator::createCharacterInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::getCurrency() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::BreakIterator::createWordInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DateFormat::format(double, icu_59::UnicodeString&) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::tempSubString(int, int) const’未定义的引用 //usr/local/lib/libv8.so:对‘vtable for icu_59::UnicodeString’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::getMinimumFractionDigits() const’未定义的引用 //usr/local/lib/libv8.so:对‘u_getPropertyName_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DateTimePatternGenerator::getBestPattern(icu_59::UnicodeString const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UMemory::operator delete(void)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::PluralRules::select(double) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Calendar::getNow()’未定义的引用 //usr/local/lib/libv8.so:对‘u_getPropertyValueEnum_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::UnicodeString(char16_t const, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::createInstance(icu_59::Locale const&, UNumberFormatStyle, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::FieldPositionIterator::FieldPositionIterator()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Normalizer2::getInstance(char const, char const, UNormalization2Mode, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::getBaseName() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::TimeZone::getDisplayName(signed char, icu_59::TimeZone::EDisplayType, icu_59::UnicodeString&) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberingSystem::getName() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DecimalFormat::setSignificantDigitsUsed(signed char)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::~UnicodeString()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::~Locale()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::Locale(char const, char const, char const, char const)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::getTerminatedBuffer()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::CheckedArrayByteSink::~CheckedArrayByteSink()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::closeOver(int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::getRangeEnd(int) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::operator=(icu_59::Locale const&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::getAvailableLocales(int&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::PluralRules::forLocale(icu_59::Locale const&, UPluralType, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::getRangeCount() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::getAvailableLocales(int&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::getMaximumFractionDigits() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DecimalFormat::getMinimumSignificantDigits() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::UnicodeString(char const)’未定义的引用 //usr/local/lib/libv8.so:对‘uloc_forLanguageTag_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::applyIntPropertyValue(UProperty, int, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Collator::createInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::moveFrom(icu_59::UnicodeString&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::createInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::UnicodeString(char16_t const)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DecimalFormat::setMaximumSignificantDigits(int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::append(int)’未定义的引用 //usr/local/lib/libv8.so:对‘u_getPropertyValueName_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::size() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::UnicodeSet(int, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::FieldPosition::~FieldPosition()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::ByteSink::GetAppendBuffer(int, int, char, int, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::GregorianCalendar::getStaticClassID()’未定义的引用 //usr/local/lib/libv8.so:对‘uloc_toLanguageTag_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UMemory::operator new(unsigned long)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::BreakIterator::createSentenceInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DateTimePatternGenerator::createInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::add(int, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::UnicodeSet()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::ByteSink::Flush()’未定义的引用 //usr/local/lib/libv8.so:对‘u_getPropertyEnum_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::PluralRules::getKeywords(UErrorCode&) const’未定义的引用 //usr/local/lib/libv8.so:对‘udata_setCommonData_59’未定义的引用 //usr/local/lib/libv8.so:对‘u_isalpha_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::getMinimumIntegerDigits() const’未定义的引用 //usr/local/lib/libv8.so:对‘u_charType_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::CheckedArrayByteSink::CheckedArrayByteSink(char, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DecimalFormat::setMinimumSignificantDigits(int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::~UnicodeSet()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Calendar::createInstance(icu_59::TimeZone, icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::BreakIterator::createLineInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Formattable::Formattable()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::complement()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Collator::getAvailableLocales(int&)’未定义的引用 //usr/local/lib/libv8.so:对‘u_isupper_59’未定义的引用 //usr/local/lib/libv8.so:对‘u_foldCase_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::BreakIterator::getAvailableLocales(int&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Locale::Locale()’未定义的引用 //usr/local/lib/libv8.so:对‘u_hasBinaryProperty_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::ByteSink::~ByteSink()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::TimeZone::getCanonicalID(icu_59::UnicodeString const&, icu_59::UnicodeString&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::doEquals(icu_59::UnicodeString const&, int) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberFormat::isGroupingUsed() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::GregorianCalendar::setGregorianChange(double, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘u_strToUpper_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::FieldPositionIterator::next(icu_59::FieldPosition&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Formattable::getDouble(UErrorCode&) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::UnicodeString(signed char, icu_59::ConstChar16Ptr, int)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::NumberingSystem::createInstance(icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::TimeZone::createTimeZone(icu_59::UnicodeString const&)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Formattable::~Formattable()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeSet::isEmpty() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::FieldPositionIterator::~FieldPositionIterator()’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::DateFormat::format(double, icu_59::UnicodeString&, icu_59::FieldPositionIterator, UErrorCode&) const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::SimpleDateFormat::SimpleDateFormat(icu_59::UnicodeString const&, icu_59::Locale const&, UErrorCode&)’未定义的引用 //usr/local/lib/libv8.so:对‘u_strToLower_59’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::Calendar::getTimeZone() const’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::fromUTF8(icu_59::StringPiece)’未定义的引用 //usr/local/lib/libv8.so:对‘icu_59::UnicodeString::setTo(signed char, icu_59::ConstChar16Ptr, int)’未定义的引用 collect2: 错误:ld 返回 1 make: *** [build] 错误 2 [root@localhost go-nebulas]#

yupnano commented 6 years ago

执行一下 make deploy-v8 试试

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English) ; https://wiki.nebulas.io/zh_CN/latest/ (Chinese)