Jose Silva wrote:
> What is happening is that I can't run make sucessfully with any
> version of libpqxx 2.4.1 to 2.5.5 with g++ 3.2.3. When I run make I
> get allot of undefined references.
> 
> an example of I get when I run make:
> 
>  In function `pqxx::transaction_base::set_variable(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)':
> /usr/include/c++/3.2.3/i386-redhat-linux/bits/atomicity.h:50:
> undefined reference to `std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
> 
> 
> Am I doing something wrong?

Hmmm, this seems like it's not linking with the standard library. Does 
the ld command line link with -lstdc++? (It would help if you sent the 
complete make output!)

--Bart

_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to