load scons, spidermonkey-dev, boost-dev extensions mongodb-src-r2.0.1 ------------------ Edit SConstruct env.Append( CPPFLAGS=" -march=i486 -mtune=i686 -Os -pipe " ) scons --32=FORCE32 --usesm=USESM all sudo scons --prefix=/usr/local install sudo scons -j9 --32 --usesm --full --sharedclient --prefix=/usr/local all install g++ -o libmongoclient.so -fPIC -pthread -rdynamic -Wl,--as-needed -Wl,-zdefs -m32 -shared pch.os buildinfo.os db/indexkey.os db/jsobj.os bson/oid.os db/json.os db/lasterror.os db/nonce.os db/queryutil.os db/querypattern.os db/projection.os shell/mongo.os db/security_common.os db/security_commands.os util/background.os util/util.os util/file_allocator.os util/assert_util.os util/log.os util/ramlog.os util/md5main.os util/base64.os util/concurrency/vars.os util/concurrency/task.os util/debug_util.os util/concurrency/thread_pool.os util/password.os util/version.os util/signal_handlers.os util/histogram.os util/concurrency/spin_lock.os util/text.os util/stringutils.os util/concurrency/synchronization.os util/net/sock.os util/net/httpclient.os util/net/message.os util/net/message_port.os util/net/listen.os util/md5.os client/connpool.os client/dbclient.os client/dbclient_rs.os client/dbclientcursor.os client/model.os client/syncclusterconnection.os client/distlock.os s/shardconnection.os db/commands.os client/clientOnly.os client/gridfs.os -L/usr/lib32 -lstdc++ -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt db/security_common.os: In function `mongo::AuthenticationInfo::_isAuthorized(std::basic_string, std::allocator > const&, int) const': /usr/src/mongodb-src-r2.0.1/db/security_common.cpp:126: undefined reference to `mongo::AuthenticationInfo::_isAuthorizedSpecialChecks(std::basic_string, std::allocator > const&) const' db/security_commands.os: In function `mongo::CmdAuthenticate::run(std::basic_string, std::allocator > const&, mongo::BSONObj&, int, std::basic_string, std::allocator >&, mongo::BSONObjBuilder&, bool)': /usr/src/mongodb-src-r2.0.1/db/security_commands.cpp:136: undefined reference to `mongo::CmdAuthenticate::authenticate(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, bool)' /usr/src/mongodb-src-r2.0.1/db/security_commands.cpp:112: undefined reference to `mongo::CmdAuthenticate::getUserObj(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, mongo::BSONObj&, std::basic_string, std::allocator >&)' db/security_commands.os: In function `CmdLogout': /usr/src/mongodb-src-r2.0.1/db/security_common.h:79: undefined reference to `vtable for mongo::CmdLogout' collect2: ld returned 1 exit status scons: *** [libmongoclient.so] Error 1 scons: building terminated because of errors.