Search found 2 matches

by rsalsa
Fri Dec 02, 2005 3:31 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 249557

Figured it out. For anyone else who comes across this problem, try this:

gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -fPIC -L/usr/lib/mysql
by rsalsa
Fri Dec 02, 2005 2:38 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 249557

Re: NPC Plugin

farhan, what was your issue? I'm getting the same error. Oh, thanks for the excellent plugin divagater! Hi All, I am trying to compile inserter.c module. But it is giving me following error. gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -lz -fPIC /...