第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

安裝mongo編譯服務(wù)器出現(xiàn)問題

在scon all時候,最后彈出的報錯,然后ls中沒有mongo。請問怎么解決?報錯在下面?

scons: Building targets ...

g++ -o build/darwin/normal/mongo/shell/dbshell.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -mmacosx-version-min=10.6 -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -Ibuild/darwin/normal/third_party/snappy -Isrc/third_party/snappy -Ibuild/darwin/normal/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/darwin/normal/third_party/s2 -Isrc/third_party/s2 -Ibuild/darwin/normal/third_party/boost -Isrc/third_party/boost -Ibuild/darwin/normal/third_party/pcre-8.30 -Isrc/third_party/pcre-8.30 -Ibuild/darwin/normal -Isrc -Ibuild/darwin/normal/mongo -Isrc/mongo src/mongo/shell/dbshell.cpp

In file included from src/mongo/shell/dbshell.cpp:29:

In file included from src/mongo/client/dbclientinterface.h:1380:

src/mongo/client/dbclientcursor.h:120:40: error: 'this' pointer cannot be null

? ? ? in well-defined C++ code; pointer may be assumed to always convert to true

? ? ? [-Werror,-Wundefined-bool-conversion]

? ? ? ? bool isDead() const { return? !this || cursorId == 0; }

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~^~~~

1 error generated.

scons: *** [build/darwin/normal/mongo/shell/dbshell.o] Error 1

scons: building terminated because of errors.



正在回答

1 回答

是不是gcc版本問題?可以更新下試試

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

程序猿天璇 提問者

非常感謝!
2018-06-19 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
mongoDB入門篇
  • 參與學(xué)習(xí)       95863    人
  • 解答問題       192    個

mongoDB入門視頻教程,慕課網(wǎng)帶你進入mongoDB神秘世界

進入課程

安裝mongo編譯服務(wù)器出現(xiàn)問題

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號