Hi, I've been trying to compile v1.3.4 on solaris8, and having some issues I believe with FLOCK
I've tried configuring it with both of the following config statements,
./configure --enable-server --with-mysql=/opt/mysql --enable-agent --includedir=/usr/ucbinclude --with-net-snmp
./configure --enable-server --with-mysql=/opt/mysql --enable-agent --includedir=/usr/ucbinclude --with-net-snmp --disable-flock --enable-fcntl
With pretty much the same results.
Any help from any of you Compile Masters would be appreciated!
Here are the Errors I am getting (sorry for the omission)
pid.c:43: error: 'LOCK_EX' undeclared (first use in this function)
pid.c:43: error: (Each undeclared identifier is reported only once
pid.c:43: error: for each function it appears in.)
pid.c:43: error: 'LOCK_NB' undeclared (first use in this function)
pid.c: In function 'drop_pid_file':
pid.c:75: error: 'LOCK_UN' undeclared (first use in this function)
make[3]: *** [pid.o] Error 1
make[3]: Leaving directory `/tmp/zabbix-1.3.4/src/libs/zbxnix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.3.4/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.3.4/src'
make: *** [all-recursive] Error 1
Forrest Nielson
State of Utah
I've tried configuring it with both of the following config statements,
./configure --enable-server --with-mysql=/opt/mysql --enable-agent --includedir=/usr/ucbinclude --with-net-snmp
./configure --enable-server --with-mysql=/opt/mysql --enable-agent --includedir=/usr/ucbinclude --with-net-snmp --disable-flock --enable-fcntl
With pretty much the same results.
Any help from any of you Compile Masters would be appreciated!
Here are the Errors I am getting (sorry for the omission)
pid.c:43: error: 'LOCK_EX' undeclared (first use in this function)
pid.c:43: error: (Each undeclared identifier is reported only once
pid.c:43: error: for each function it appears in.)
pid.c:43: error: 'LOCK_NB' undeclared (first use in this function)
pid.c: In function 'drop_pid_file':
pid.c:75: error: 'LOCK_UN' undeclared (first use in this function)
make[3]: *** [pid.o] Error 1
make[3]: Leaving directory `/tmp/zabbix-1.3.4/src/libs/zbxnix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.3.4/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.3.4/src'
make: *** [all-recursive] Error 1
Forrest Nielson
State of Utah
Comment