[SERVER-4016] Standalone C++ v2.0 driver doesn't compile Created: 04/Oct/11  Updated: 11/Jul/16  Resolved: 10/Nov/11

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.0.0
Fix Version/s: 2.1.0

Type: Bug Priority: Major - P3
Reporter: Richard Kreuter (Inactive) Assignee: Brandon Diamond
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OSX, reported also on Ubuntu 11.04


Operating System: ALL
Participants:

 Description   

The inclusion of the files mongo/db/security_common.cpp and mongo/db/security_commands.cpp breaks the standalone C++ driver build (can't link due to missing method definition for getUserObj). By inspection, removing the files from the source tree fixes the build; and at least the authTest and clientTest programs appear to work properly, but I don't know if that's the correct fix.

Anyway, this effects the core server, since either the SConstruct files or the security*.cpp files need to be reorganized to compile the standalone driver.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 15/Oct/11 ]

need to make sure this is tested correctly in buildbot before resolving

Comment by auto [ 06/Oct/11 ]

Author:

{u'login': u'kreuter', u'name': u'Richard Kreuter', u'email': u'richard@10gen.com'}

Message: Make a couple auth files not be shared with the client library. SERVER-4016
Branch: master
https://github.com/mongodb/mongo/commit/f2c8a4ca7782d214260fc9f0d713bbf558ca6a12

Generated at Thu Feb 08 03:04:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.