Error compiling cactid

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
williamm
Posts: 10
Joined: Fri Feb 18, 2005 2:00 pm

Error compiling cactid

Post by williamm »

I´m getting the foolowing error when compiling cactid:

php.c: In function `php_init':
php.c:158: `PTHREAD_CANCEL_DISABLE' undeclared (first use in this function)
php.c:158: (Each undeclared identifier is reported only once
php.c:158: for each function it appears in.)
make: ** [php.o] Erro 1


I´ve tried either cactid 0.8.6c and 0.8.6d. Here are the software I´m using:

php 4.3.10
cacti 0.8.6c
net-snmp 5.0.9
kernel 2.4.21
gcc 3.2.2
williamm
Posts: 10
Joined: Fri Feb 18, 2005 2:00 pm

Post by williamm »

If none of cactid developers knows what could be this problem, should I open a bug for it?
williamm
Posts: 10
Joined: Fri Feb 18, 2005 2:00 pm

Post by williamm »

Problem solved installing glibc-devel-static (libpthread_nonshared.a). Now I'm getting the following problem in compilation:

undefined reference to `mysql_thread_init'

I'm using MySQL version 3.23 and searching for this info, I've found that in mysql 3.X there is a function called my_thread_init and in mysql 4.X it has been deprecated and renamed as mysql_thread_init.

I would like to know if cactid is compatible with MySQL 3.X. If so how could I get around this problem?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest