![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| ||||
| ||||
|
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp5QueryE0_Sd +0x28): undefined |
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp8SQLQueryE0 _Sd+0x18): undefined |
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp8SQLQueryE0 _Sd+0x28): undefined |
|
::~basic_iostream()' collect2: ld returned 1 exit status |
#2
| |||
| |||
|
|
Hi there, I was able to compile MySQL++ just fine after hacking Makefile to remove compiling examples, but see below for the error I got. I have the following link problems when trying the examples: |
#3
| |||
| |||
|
|
Hi there, I was able to compile MySQL++ just fine after hacking Makefile to remove compiling examples, but see below for the error I got. I have the following link problems when trying the examples: |
#4
| |||
| |||
|
|
Thanks for the response. I can compile not only simple C++ programs, but other, more complicated ones. I have also successfully compiled and used other freeware libraries in the past few weeks. That's why I was so surprised about this kind of problem. Without the special hack, I could not get MySQL++ to compile - the library code compiled and linked but the examples wouldn't compile. I thought |
#5
| |||||
| |||||
|
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp5QueryE0_Sd +0x28):/opt/gcc/3.4.3/bin/../lib/gcc/ia64-unknown-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/char_traits.h:258: |
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp8SQLQueryE0 _Sd+0x18):/opt/gcc/3.4.3/bin/../lib/gcc/ia64-unknown-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/char_traits.h:258: |
|
::~basic_iostream()' resetdb.o(.gnu.linkonce.r._ZTCN7mysqlpp8SQLQueryE0 _Sd+0x28):/opt/gcc/3.4.3/bin/../lib/gcc/ia64-unknown-linux-gnu/3.4.3/../../../../include/c++/3.4.3/bits/char_traits.h:258: |
|
::~basic_iostream()' collect2: ld returned 1 exit status |
|
Thanks for the response. I can compile not only simple C++ programs, but other, more complicated ones. I have also successfully compiled and used other freeware libraries in the past few weeks. That's why I was so surprised about this kind of problem. Without the special hack, I could not get MySQL++ to compile - the library code compiled and linked but the examples wouldn't compile. I thought |
#6
| |||
| |||
|
|
Thanks for the response. I can compile not only simple C++ programs, but other, more complicated ones. I have also successfully compiled and used other freeware libraries in the past few weeks. That's why I was so surprised about this kind of problem. Without the special hack, I could not get MySQL++ to compile - the library code compiled and linked but the examples wouldn't compile. I thought |
#7
| |||
| |||
|
|
Using the Intel compiler is a bit beyond what I know at this point. I think I will have to change aclocal.m4 and some other files, so I can re-generate the configure script. I don't have the knowledge necessary to do this right now. Anyone know what it will take to do this? I did read up on the GNU build tools, but wasn't able to spend the time necessary to learn them beyond the basics. |
#8
| |||
| |||
|
|
On Mon, Jun 13, 2005 at 01:45:28PM -0600, Warren Young wrote: Maintaining our own set of overloaded operator<< and >> seems like a lot of work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |