|
|
| Author |
Message |
roddie Cacti User
Joined: 10 Feb 2004 Posts: 90 Location: Frisco, TX
|
Posted: Mon Nov 15, 2004 10:43 am Post subject: Can't compile 0.8.6c but 0.8.6b compiles fine. |
|
|
I'm unable to compile cacitd 0.8.6c on Solaris 2.8. This is the message that I get:
| Code: | Undefined first referenced
symbol in file
mysql_thread_init poller.o
mysql_thread_end poller.o
ld: fatal: Symbol referencing errors. No output written to cactid
collect2: ld returned 1 exit status
make: *** [cactid] Error 1 |
I am able to compile 0.8.6b, however, with no problem (just tested both again).
Any tips? |
|
| Back to top |
|
 |
paul tergeist Guest
|
Posted: Mon Nov 15, 2004 10:57 am Post subject: |
|
|
adding
#ifndef OLD_MYSQL
mysql_thread_end();
#endif
and
#ifndef OLD_MYSQL
mysql_thread_init();
#endif
and
#define OLD_MYSQL 1 (in config.h)
resolved the problem for me (doing it like in 0.8.6b in fact)
and at least 0.8.6c doesnt segfault anymore like 0.8.6b was. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Mon Nov 15, 2004 12:53 pm Post subject: |
|
|
Thanks for the post. What version of MySQL client libraries are you running?
TheWitness |
|
| Back to top |
|
 |
roddie Cacti User
Joined: 10 Feb 2004 Posts: 90 Location: Frisco, TX
|
Posted: Mon Nov 15, 2004 8:51 pm Post subject: |
|
|
Paul,
Thanks for the tip - The ifndef additions worked great.
Larry,
I think I'm running 3.23, however I'll have to double-check in the morning. mysql is at 3.x for sure.
Roddie |
|
| Back to top |
|
 |
|