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
Error compiling cactid
Moderators: Developers, Moderators
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests