Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `boost::system::get_generic_category() #2

Open
eltiare opened this issue Jul 27, 2010 · 0 comments
Open

undefined reference to `boost::system::get_generic_category() #2

eltiare opened this issue Jul 27, 2010 · 0 comments

Comments

@eltiare
Copy link

eltiare commented Jul 27, 2010

I'm trying to compile this on Debian Lenny 5.0 and I'm getting the following output when I try to compile:

scons: Reading SConscript files ...
Checking for C library mongoclient... yes
Checking for C library fuse... yes
Checking for C library boost_thread-mt... yes
Checking for C library boost_filesystem-mt... yes
Checking for C library boost_system-mt... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o main.o -c -D_FILE_OFFSET_BITS=64 main.cpp
g++ -o operations.o -c -D_FILE_OFFSET_BITS=64 operations.cpp
g++ -o options.o -c -D_FILE_OFFSET_BITS=64 options.cpp
g++ -o local_gridfile.o -c -D_FILE_OFFSET_BITS=64 local_gridfile.cpp
g++ -o mount_gridfs main.o operations.o options.o local_gridfile.o -lmongoclient -lfuse -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(jsobj.o): In function __static_initialization_and_destruction_0(int, int)': (.text+0x58bf): undefined reference toboost::system::get_generic_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(jsobj.o): In function __static_initialization_and_destruction_0(int, int)': (.text+0x58cb): undefined reference toboost::system::get_generic_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(jsobj.o): In function __static_initialization_and_destruction_0(int, int)': (.text+0x58d7): undefined reference toboost::system::get_generic_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(json.o): In function __static_initialization_and_destruction_0(int, int)': (.text+0x61): undefined reference toboost::system::get_generic_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(json.o): In function __static_initialization_and_destruction_0(int, int)': (.text+0x6d): undefined reference toboost::system::get_generic_category()'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libmongoclient.a(json.o):(.text+0x79): more undefined references to `boost::system::get_generic_category()' follow
collect2: ld returned 1 exit status
scons: *** [mount_gridfs] Error 1
scons: building terminated because of errors.

I am using the libboost1.35-dev libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant